Inviwo  0.9.10.1
Inviwo documentation
inviwo::TFPrimitive Class Reference

Base class for a variety of primitives as used by a transfer function. More...

#include <tfprimitive.h>

+ Inheritance diagram for inviwo::TFPrimitive:

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)
 
TFPrimitiveoperator= (const TFPrimitive &that)
 
void setData (const TFPrimitiveData &data)
 
const TFPrimitiveDatagetData () 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)
 

Detailed Description

Base class for a variety of primitives as used by a transfer function.


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