Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::TFEditorMask Class Referenceabstract
Inheritance diagram for inviwo::TFEditorMask:

Public Member Functions

 TFEditorMask (TFPropertyConcept *c)
Public Member Functions inherited from inviwo::TFPropertyObserver
virtual void onZoomHChange (const dvec2 &zoomH)
virtual void onHistogramModeChange (HistogramMode mode)
virtual void onHistogramSelectionChange (HistogramSelection selection)
Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 Observer (Observer &&other)
Observeroperator= (Observer &&other)
Observeroperator= (const Observer &other)
virtual ~Observer ()
void removeObservation (ObservableInterface *observable)
void removeObservations ()
Public Member Functions inherited from inviwo::TFPrimitiveSetObserver
virtual void onTFPrimitiveAdded (const TFPrimitiveSet &set, TFPrimitive &p)
virtual void onTFPrimitiveRemoved (const TFPrimitiveSet &set, TFPrimitive &p)
virtual void onTFPrimitiveChanged (const TFPrimitiveSet &set, const TFPrimitive &p)
virtual void onTFTypeChanged (const TFPrimitiveSet &set, TFPrimitiveSetType type)
virtual void onTFMaskChanged (const TFPrimitiveSet &set, dvec2 mask)

Protected Member Functions

virtual void onZoomVChange (const dvec2 &zoomV) override
virtual QRectF maskRect (QPointF topLeft, QPointF bottomRight) const =0
virtual QRectF boundingRect () const override
virtual QPainterPath shape () const override
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *options, QWidget *widget) override
Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)

Protected Attributes

TFPropertyConceptconcept_
double center_
Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_

Static Protected Attributes

static constexpr double shapeWidth = 12.0
static constexpr double penWidth = 1.5
static constexpr double width = shapeWidth + penWidth

Member Function Documentation

◆ onZoomVChange()

virtual void inviwo::TFEditorMask::onZoomVChange ( const dvec2 & zoomV)
overrideprotectedvirtual

Reimplemented from inviwo::TFPropertyObserver.


The documentation for this class was generated from the following file:
  • tfeditormask.h