Lexis
1.1.0
Vocabulary of events and shared objects for BBP and HBP software
|
Public Types | |
typedef ::zerobuf::Vector< Color > | Diffuse |
typedef ::zerobuf::Vector< Color > | Emission |
typedef ::zerobuf::Vector< float > | Alpha |
typedef ::zerobuf::Vector< float > | Contribution |
Public Member Functions | |
MaterialLUT::Diffuse & | getDiffuse () |
Get a reference to the Diffuse dynamic member. More... | |
const MaterialLUT::Diffuse & | getDiffuse () const |
std::vector< Color > | getDiffuseVector () const |
void | setDiffuse (const std::vector< Color > &value) |
Set the value of Diffuse dynamic array from a std::vector< Color >. More... | |
MaterialLUT::Emission & | getEmission () |
Get a reference to the Emission dynamic member. More... | |
const MaterialLUT::Emission & | getEmission () const |
std::vector< Color > | getEmissionVector () const |
void | setEmission (const std::vector< Color > &value) |
Set the value of Emission dynamic array from a std::vector< Color >. More... | |
MaterialLUT::Alpha & | getAlpha () |
Get a reference to the Alpha dynamic member. More... | |
const MaterialLUT::Alpha & | getAlpha () const |
void | setAlpha (float const *value, size_t size) |
Set the value of the Alpha dynamic object from a float* and size. More... | |
std::vector< float > | getAlphaVector () const |
void | setAlpha (const std::vector< float > &value) |
Set the value of the Alpha dynamic object from a std::vector< float >. More... | |
MaterialLUT::Contribution & | getContribution () |
Get a reference to the Contribution dynamic member. More... | |
const MaterialLUT::Contribution & | getContribution () const |
void | setContribution (float const *value, size_t size) |
Set the value of the Contribution dynamic object from a float* and size. More... | |
std::vector< float > | getContributionVector () const |
void | setContribution (const std::vector< float > &value) |
Set the value of the Contribution dynamic object from a std::vector< float >. More... | |
double * | getRange () |
Get a pointer to the Range fixed size array. More... | |
const double * | getRange () const |
std::vector< double > | getRangeVector () const |
void | setRange (double value[2]) |
Set the value of the Range fixed size array from a double*. More... | |
void | setRange (const std::vector< double > &value) |
Set the value of the Range fixed size array object from a std::vector< double >. More... | |
size_t | getRangeSize () const |
void | compact (float threshold=0.1f) final |
MaterialLUT (const std::vector< double > &rangeValue, const std::vector< Color > &diffuseValue, const std::vector< Color > &emissionValue, const std::vector< float > &alphaValue, const std::vector< float > &contributionValue) | |
MaterialLUT (const MaterialLUT &rhs) | |
MaterialLUT (MaterialLUT &&rhs) noexcept | |
MaterialLUT (const ::zerobuf::Zerobuf &rhs) | |
MaterialLUT (::zerobuf::AllocatorPtr allocator) | |
MaterialLUT & | operator= (const MaterialLUT &rhs) |
MaterialLUT & | operator= (MaterialLUT &&rhs) |
std::string | getSchema () const final |
std::string | getTypeName () const final |
::zerobuf::uint128_t | getTypeIdentifier () const final |
size_t | getZerobufStaticSize () const final |
size_t | getZerobufNumDynamics () const final |
void | _parseJSON (const Json::Value &json) final |
void | _createJSON (Json::Value &json) const final |
Definition at line 78 of file materialLUT.h.
MaterialLUT::Alpha& lexis::render::MaterialLUT::getAlpha | ( | ) |
Get a reference to the Alpha dynamic member.
MaterialLUT::Contribution& lexis::render::MaterialLUT::getContribution | ( | ) |
Get a reference to the Contribution dynamic member.
MaterialLUT::Diffuse& lexis::render::MaterialLUT::getDiffuse | ( | ) |
Get a reference to the Diffuse dynamic member.
MaterialLUT::Emission& lexis::render::MaterialLUT::getEmission | ( | ) |
Get a reference to the Emission dynamic member.
double* lexis::render::MaterialLUT::getRange | ( | ) |
Get a pointer to the Range fixed size array.
void lexis::render::MaterialLUT::setAlpha | ( | float const * | value, |
size_t | size | ||
) |
Set the value of the Alpha dynamic object from a float* and size.
notifyChanged() is internally called after the data has been copied.
value | a float* to the data to be set in the current object |
size | the size of the data to be set |
void lexis::render::MaterialLUT::setAlpha | ( | const std::vector< float > & | value | ) |
Set the value of the Alpha dynamic object from a std::vector< float >.
notifyChanged() is internally called after the data has been copied.
value | a std::vector< float > object with the data to be set |
void lexis::render::MaterialLUT::setContribution | ( | float const * | value, |
size_t | size | ||
) |
Set the value of the Contribution dynamic object from a float* and size.
notifyChanged() is internally called after the data has been copied.
value | a float* to the data to be set in the current object |
size | the size of the data to be set |
void lexis::render::MaterialLUT::setContribution | ( | const std::vector< float > & | value | ) |
Set the value of the Contribution dynamic object from a std::vector< float >.
notifyChanged() is internally called after the data has been copied.
value | a std::vector< float > object with the data to be set |
void lexis::render::MaterialLUT::setDiffuse | ( | const std::vector< Color > & | value | ) |
Set the value of Diffuse dynamic array from a std::vector< Color >.
notifyChanged() is internally called after the data has been copied.
value | a std::vector< Color > object with the data to be set |
void lexis::render::MaterialLUT::setEmission | ( | const std::vector< Color > & | value | ) |
Set the value of Emission dynamic array from a std::vector< Color >.
notifyChanged() is internally called after the data has been copied.
value | a std::vector< Color > object with the data to be set |
void lexis::render::MaterialLUT::setRange | ( | double | value[2] | ) |
Set the value of the Range fixed size array from a double*.
notifyChanged() is internally called after the data has been copied.
value | a 2-length double array with the data to be set |
void lexis::render::MaterialLUT::setRange | ( | const std::vector< double > & | value | ) |
Set the value of the Range fixed size array object from a std::vector< double >.
notifyChanged() is internally called after the change has been done.
value | a std::vector< double > with the data to be set |