Inviwo 0.9.12-pre
Inviwo documentation
 
Loading...
Searching...
No Matches
inviwo::ValueWrapper< TransferFunction > Struct Reference

Public Member Functions

 ValueWrapper (std::string_view name, const TransferFunction &transferFunction)
 
 ValueWrapper (const ValueWrapper &rhs)=default
 
 ValueWrapper (ValueWrapper &&rhs)=default
 
ValueWrapperoperator= (const ValueWrapper &that)=default
 
ValueWrapperoperator= (ValueWrapper &&that)=default
 
ValueWrapperoperator= (const TransferFunction &val)
 
 operator const TransferFunction & () const
 
const TransferFunctionoperator* () const
 
const TransferFunctionoperator-> () const
 
bool isDefault () const
 
void reset ()
 
void setAsDefault ()
 
void serialize (Serializer &s, PropertySerializationMode mode=PropertySerializationMode::Default) const
 
void deserialize (Deserializer &d, PropertySerializationMode mode=PropertySerializationMode::Default)
 
bool update (const ValueWrapper &src)
 
bool update (const TransferFunction &src)
 
bool operator== (const ValueWrapper &rhs) const
 
bool operator== (const TransferFunction &rhs) const
 
 ValueWrapper (std::string_view name, U &&... vals)
 
 ValueWrapper (const ValueWrapper< TransferFunction > &rhs)=default
 
 ValueWrapper (ValueWrapper< TransferFunction > &&rhs)=default
 
ValueWrapper< TransferFunction > & operator= (const ValueWrapper< TransferFunction > &that)=default
 
ValueWrapper< TransferFunction > & operator= (ValueWrapper< TransferFunction > &&that)=default
 
ValueWrapper< TransferFunction > & operator= (const TransferFunction &val)
 
 operator const TransferFunction & () const
 
const TransferFunctionoperator* () const
 
const TransferFunctionoperator-> () const
 
bool isDefault () const
 
bool reset ()
 
void setAsDefault ()
 
void serialize (Serializer &s, PropertySerializationMode mode=PropertySerializationMode::Default) const
 
bool deserialize (Deserializer &d, PropertySerializationMode mode=PropertySerializationMode::Default)
 
bool update (const ValueWrapper< TransferFunction > &src)
 
bool update (const TransferFunction &src)
 
bool update (const U &src)
 
auto operator<=> (const ValueWrapper< TransferFunction > &rhs) const
 
auto operator<=> (const TransferFunction &rhs) const
 
bool operator== (const ValueWrapper< TransferFunction > &rhs) const
 
bool operator== (const TransferFunction &rhs) const
 

Public Attributes

TransferFunction value
 
std::vector< TFPrimitiveDatadefaultPoints
 
dvec2 defaultMask
 
std::string name
 
TransferFunction value
 
TransferFunction defaultValue
 
std::string name
 

Member Function Documentation

◆ update() [1/3]

bool inviwo::ValueWrapper< TransferFunction >::update ( const TransferFunction & src)
inline

Update the value of this to that of src.

Returns
if value was modified

◆ update() [2/3]

bool inviwo::ValueWrapper< TransferFunction >::update ( const U & src)
inline

Update the value of this to that of src.

Returns
if value was modified

◆ update() [3/3]

bool inviwo::ValueWrapper< TransferFunction >::update ( const ValueWrapper< TransferFunction > & src)
inline

Update the value of this to that of src.

Returns
if value was modified

The documentation for this struct was generated from the following file: