Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
TFEditorIsovalue (TFPrimitive &primitive) | |
Public Member Functions inherited from inviwo::TFEditorPrimitive | |
TFEditorPrimitive (TFPrimitive &primitive) | |
TFPrimitive & | getPrimitive () |
const TFPrimitive & | getPrimitive () const |
void | setPosition (double pos) |
double | getPosition () const |
void | setColor (const vec4 &color) |
void | setColor (const vec3 &color) |
void | setAlpha (float alpha) |
const vec4 & | getColor () const |
double | getSize () const |
void | beginMouseDrag () |
virtual TFControlPointConnection * | left () const |
virtual TFControlPointConnection * | right () const |
virtual void | setLeft (TFControlPointConnection *) |
virtual void | setRight (TFControlPointConnection *) |
Public Member Functions inherited from inviwo::TFPrimitiveObserver | |
Public Member Functions inherited from inviwo::Observer | |
Observer (const Observer &other) | |
Observer (Observer &&other) | |
Observer & | operator= (Observer &&other) |
Observer & | operator= (const Observer &other) |
virtual | ~Observer () |
void | removeObservation (ObservableInterface *observable) |
void | removeObservations () |
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 | |
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
virtual void | onTFPrimitiveChange (const TFPrimitive &p) override |
QPointF | constrainPosToXorY (QPointF pos) const |
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 | |
TFPrimitive & | data_ |
bool | isEditing_ |
bool | hovered_ |
std::unique_ptr< QGraphicsSimpleTextItem > | label_ |
QPointF | cachedPosition_ |
used for restricting to horizontal/vertical movement | |
Protected Attributes inherited from inviwo::Observer | |
std::unordered_set< ObservableInterface * > | observables_ |
|
inlineoverrideprotectedvirtual |
Implements inviwo::TFEditorPrimitive.