Inviwo 0.9.12-pre
Inviwo documentation
|
property interface used by the TF dialog to support different TF properties More...
#include <tfpropertyconcept.h>
Public Types | |
enum class | HistogramChange { NoData , Requested , NewData } |
using | HistogramCallback = void(HistogramChange, const std::vector<Histogram1D>&) |
Public Member Functions | |
virtual Property * | getProperty () const =0 |
virtual bool | hasTF () const =0 |
virtual bool | hasIsovalues () const =0 |
virtual TransferFunctionProperty * | getTFProperty () const =0 |
virtual IsoValueProperty * | getIsoValueProperty () const =0 |
virtual TransferFunction * | getTransferFunction () const =0 |
virtual IsoValueCollection * | getIsovalues () const =0 |
virtual bool | supportsMask () const =0 |
virtual void | setMask (double maskMin, double maskMax)=0 |
virtual const dvec2 | getMask () const =0 |
virtual void | clearMask ()=0 |
virtual void | setZoomH (double zoomHMin, double zoomHMax)=0 |
virtual const dvec2 & | getZoomH () const =0 |
virtual void | setZoomV (double zoomVMin, double zoomVMax)=0 |
virtual const dvec2 & | getZoomV () const =0 |
virtual void | setHistogramMode (HistogramMode type)=0 |
virtual HistogramMode | getHistogramMode () const =0 |
virtual void | setHistogramSelection (HistogramSelection selection)=0 |
virtual HistogramSelection | getHistogramSelection () const =0 |
virtual const DataMapper * | getDataMap () const =0 |
virtual void | addObserver (TFPropertyObserver *observer)=0 |
virtual void | removeObserver (TFPropertyObserver *observer)=0 |
virtual void | showExportDialog () const =0 |
virtual void | showImportDialog ()=0 |
virtual std::span< TFPrimitiveSet * > | sets ()=0 |
virtual DispatcherHandle< void()> | onDataChange (std::function< void()>)=0 |
virtual DispatcherHandle< HistogramCallback > | onHistogramChange (std::function< HistogramCallback >)=0 |
property interface used by the TF dialog to support different TF properties