|
| TransferFunction (size_t textureSize=1024) |
|
| TransferFunction (const std::vector< TFPrimitiveData > &values, size_t textureSize=1024) |
|
| TransferFunction (const std::vector< TFPrimitiveData > &values, TFPrimitiveSetType type, size_t textureSize=1024) |
|
| TransferFunction (const TransferFunction &rhs) |
|
TransferFunction & | operator= (const TransferFunction &rhs) |
|
const Layer * | getData () const |
|
size_t | getTextureSize () const |
|
size_t | getNumPoints () const |
|
TFPrimitive * | getPoint (size_t i) |
|
const TFPrimitive * | getPoint (size_t i) const |
|
void | addPoint (const float &pos, const vec4 &color) |
|
void | addPoint (const TFPrimitiveData &point) |
|
void | addPoint (const vec2 &pos) |
|
void | addPoints (const std::vector< TFPrimitiveData > &points) |
|
void | addPoint (const vec2 &pos, const vec4 &color) |
|
void | removePoint (TFPrimitive *dataPoint) |
|
void | clearPoints () |
|
void | setMaskMin (double maskMin) |
|
double | getMaskMin () const |
|
void | setMaskMax (double maskMax) |
|
double | getMaskMax () const |
|
void | clearMask () |
|
virtual void | invalidate () override |
|
virtual void | serialize (Serializer &s) const override |
|
virtual void | deserialize (Deserializer &d) override |
|
vec4 | sample (double v) const |
|
vec4 | sample (float v) const |
|
virtual std::vector< FileExtension > | getSupportedExtensions () const override |
|
virtual void | save (const std::string &filename, const FileExtension &ext=FileExtension()) const override |
|
virtual void | load (const std::string &filename, const FileExtension &ext=FileExtension()) override |
|
virtual std::string | getTitle () const override |
|
| TFPrimitiveSet (const std::vector< TFPrimitiveData > &values={}, TFPrimitiveSetType type=TFPrimitiveSetType::Relative) |
|
| TFPrimitiveSet (const TFPrimitiveSet &rhs) |
|
| TFPrimitiveSet (TFPrimitiveSet &&rhs)=default |
|
TFPrimitiveSet & | operator= (const TFPrimitiveSet &rhs) |
|
void | setType (TFPrimitiveSetType type) |
|
TFPrimitiveSetType | getType () const |
|
dvec2 | getRange () const |
|
size_t | size () const |
|
bool | empty () const |
|
TFPrimitive & | operator[] (size_t i) |
|
const TFPrimitive & | operator[] (size_t i) const |
|
TFPrimitive & | get (size_t i) |
|
const TFPrimitive & | get (size_t i) const |
|
TFPrimitive & | front () |
|
const TFPrimitive & | front () const |
|
TFPrimitive & | back () |
|
const TFPrimitive & | back () const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
const_iterator | cbegin () const |
|
const_iterator | cend () const |
|
std::vector< TFPrimitiveData > | get () const |
|
std::vector< TFPrimitiveData > | getUnsorted () const |
|
void | set (const_iterator begin, const_iterator end) |
|
std::pair< std::vector< double >, std::vector< vec4 > > | getVectors () const |
|
std::pair< std::vector< float >, std::vector< vec4 > > | getVectorsf () const |
|
void | add (const TFPrimitive &primitive) |
|
void | add (double pos, const vec4 &color) |
|
void | add (const dvec2 &pos) |
|
void | add (const TFPrimitiveData &data) |
|
void | add (const std::vector< TFPrimitiveData > &primitives) |
|
bool | remove (const TFPrimitive &primitive) |
|
void | clear () |
|
void | setPosition (const std::vector< TFPrimitive * > primitives, double pos) |
|
void | setAlpha (const std::vector< TFPrimitive * > primitives, double alpha) |
|
void | setColor (const std::vector< TFPrimitive * > primitives, const vec3 &color) |
|
virtual void | onTFPrimitiveChange (const TFPrimitive &p) override |
|
void | interpolateAndStoreColors (vec4 *dataArray, const size_t size) const |
|
void | flipPositions (const std::vector< TFPrimitive * > &primitives={}) |
|
void | interpolateAlpha (const std::vector< TFPrimitive * > &primitives={}) |
|
void | equalizeAlpha (const std::vector< TFPrimitive * > &primitives={}) |
|
| Observable (const Observable< TFPrimitiveSetObserver > &other) |
|
| Observable (Observable< TFPrimitiveSetObserver > &&other) |
|
Observable< TFPrimitiveSetObserver > & | operator= (const Observable< TFPrimitiveSetObserver > &other) |
|
Observable< TFPrimitiveSetObserver > & | operator= (Observable< TFPrimitiveSetObserver > &&other) |
|
void | addObserver (TFPrimitiveSetObserver *observer) |
|
void | removeObserver (TFPrimitiveSetObserver *observer) |
|
virtual void | startBlockingNotifications () override final |
|
virtual void | stopBlockingNotifications () override final |
|
| Observer (const Observer &other) |
|
| Observer (Observer &&other) |
|
Observer & | operator= (Observer &&other) |
|
Observer & | operator= (const Observer &other) |
|
virtual | ~Observer () |
|
void | removeObservation (ObservableInterface *observable) |
|
void | removeObservations () |
|
|
void | calcTransferValues () const |
|
virtual std::string | serializationKey () const override |
|
virtual std::string | serializationItemKey () const override |
|
void | add (std::unique_ptr< TFPrimitive > primitive) |
|
bool | remove (std::vector< std::unique_ptr< TFPrimitive >>::iterator it) |
|
void | sort () |
|
vec4 | interpolateColor (double t) const |
|
void | notifyTFPrimitiveAdded (TFPrimitive &p) |
|
void | notifyTFPrimitiveRemoved (TFPrimitive &p) |
|
void | notifyTFPrimitiveChanged (const TFPrimitive &p) |
|
void | notifyTFTypeChanged (const TFPrimitiveSet &primitiveSet) |
|
void | forEachObserver (C callback) |
|
void | addObservationHelper (Observer *observer) |
|
void | removeObservationHelper (Observer *observer) |
|
void | addObservation (ObservableInterface *observable) |
|
data structure for holding 1D transfer function data