Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::TFEditorIsovalue Class Reference
+ Inheritance diagram for inviwo::TFEditorIsovalue:

Public Member Functions

 TFEditorIsovalue (TFPrimitive &primitive, PrimitiveSetMode mode)
 
- Public Member Functions inherited from inviwo::TFEditorPrimitive
void beginMouseDrag ()
 
const vec4 & getColor () const
 
PrimitiveSetMode getMode () const
 
double getPosition () const
 
TFPrimitivegetPrimitive ()
 
const TFPrimitivegetPrimitive () const
 
double getSize () const
 
virtual TFControlPointConnectionleft () const
 
virtual TFControlPointConnectionright () const
 
void setAlpha (float alpha)
 
void setColor (const vec3 &color)
 
void setColor (const vec4 &color)
 
virtual void setLeft (TFControlPointConnection *)
 
void setMode (PrimitiveSetMode mode)
 
void setPosition (double pos)
 
virtual void setRight (TFControlPointConnection *)
 
 TFEditorPrimitive (TFPrimitive &primitive, PrimitiveSetMode mode)
 
- Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 
 Observer (Observer &&other)
 
Observeroperator= (const Observer &other)
 
Observeroperator= (Observer &&other)
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 
virtual ~Observer ()
 

Protected Member Functions

virtual QRectF boundingRect () const override
 
virtual QPainterPath shape () const override
 
virtual int zLevel () const override
 
- Protected Member Functions inherited from inviwo::TFEditorPrimitive
QPointF constrainPosToXorY (QPointF pos) const
 
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *event) override
 
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override
 
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 
virtual void onTFPrimitiveChange (const TFPrimitive &p) override
 
void setHovered (bool hover)
 
void updateLabel ()
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Static Protected Attributes

static constexpr int isoZLevel = 5
 

Additional Inherited Members

- Protected Attributes inherited from inviwo::TFEditorPrimitive
QPointF cachedPosition_
 used for restricting to horizontal/vertical movement
 
TFPrimitivedata_
 
bool hovered_
 
bool isEditing_
 
std::unique_ptr< QGraphicsSimpleTextItem > label_
 
PrimitiveSetMode mode_
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Member Function Documentation

◆ zLevel()

virtual int inviwo::TFEditorIsovalue::zLevel ( ) const
inlineoverrideprotectedvirtual

The documentation for this class was generated from the following file: