![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Base class for a variety of primitives as used by a transfer function. More...
#include <tfprimitive.h>
Public Member Functions | |
| TFPrimitive (double pos=0.0, const vec4 &color=vec4(0.0f)) | |
| TFPrimitive (const TFPrimitiveData &data) | |
| TFPrimitive (const TFPrimitive &rhs) | |
| TFPrimitive (TFPrimitive &&rhs) noexcept | |
| TFPrimitive & | operator= (const TFPrimitive &that) |
| TFPrimitive & | operator= (TFPrimitive &&that) noexcept |
| TFPrimitive & | operator= (const TFPrimitiveData &that) |
| void | setData (const TFPrimitiveData &data) |
| const TFPrimitiveData & | getData () const |
| void | setPosition (double pos) |
| double | getPosition () const |
| void | setAlpha (float alpha) |
| float | getAlpha () const |
| void | setPositionAlpha (double pos, float alpha) |
| void | setPositionAlpha (const dvec2 &p) |
| void | setColor (const vec3 &color) |
| void | setColor (const vec4 &color) |
| const vec4 & | getColor () const |
| void | notifyTFPrimitiveObservers () |
| virtual void | serialize (Serializer &s) const override |
| virtual void | deserialize (Deserializer &d) override |
| constexpr auto | operator<=> (const TFPrimitive &other) const |
| constexpr bool | operator== (const TFPrimitive &other) const |
| Public Member Functions inherited from inviwo::Observable< TFPrimitiveObserver > | |
| Observable< TFPrimitiveObserver > & | operator= (const Observable< TFPrimitiveObserver > &other) |
| void | addObserver (TFPrimitiveObserver *observer) |
| void | removeObserver (TFPrimitiveObserver *observer) |
| bool | isObservedBy (TFPrimitiveObserver *observer) const |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
Additional Inherited Members | |
| Protected Member Functions inherited from inviwo::Observable< TFPrimitiveObserver > | |
| void | forEachObserver (C callback) |
| Protected Member Functions inherited from inviwo::ObservableInterface | |
| virtual void | addObserver (Observer *observer)=0 |
| virtual void | removeObserver (Observer *observer)=0 |
| void | addObservationHelper (Observer *observer) |
| void | removeObservationHelper (Observer *observer) |
Base class for a variety of primitives as used by a transfer function.
|
overridevirtual |
Implements inviwo::Serializable.
|
overridevirtual |
Implements inviwo::Serializable.