Inviwo
0.9.10.1
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) | |
TFPrimitive & | operator= (const TFPrimitive &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 |
Public Member Functions inherited from inviwo::Observable< TFPrimitiveObserver > | |
Observable (const Observable< TFPrimitiveObserver > &other) | |
Observable (Observable< TFPrimitiveObserver > &&other) | |
Observable< TFPrimitiveObserver > & | operator= (const Observable< TFPrimitiveObserver > &other) |
Observable< TFPrimitiveObserver > & | operator= (Observable< TFPrimitiveObserver > &&other) |
void | addObserver (TFPrimitiveObserver *observer) |
void | removeObserver (TFPrimitiveObserver *observer) |
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 | |
void | addObservationHelper (Observer *observer) |
void | removeObservationHelper (Observer *observer) |
Base class for a variety of primitives as used by a transfer function.