Lexis  1.1.0
Vocabulary of events and shared objects for BBP and HBP software
lexis::render::Color Class Reference
+ Inheritance diagram for lexis::render::Color:
+ Collaboration diagram for lexis::render::Color:

Public Member Functions

float getRed () const
 
void setRed (float value)
 Set the Red value. More...
 
float getGreen () const
 
void setGreen (float value)
 Set the Green value. More...
 
float getBlue () const
 
void setBlue (float value)
 Set the Blue value. More...
 
 Color (const float &redValue, const float &greenValue, const float &blueValue)
 
 Color (const Color &rhs)
 
 Color (Color &&rhs) noexcept
 
 Color (const ::zerobuf::Zerobuf &rhs)
 
 Color (::zerobuf::AllocatorPtr allocator)
 
Coloroperator= (const Color &rhs)
 
Coloroperator= (Color &&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
 

Static Public Member Functions

static std::string ZEROBUF_SCHEMA ()
 
static std::string ZEROBUF_TYPE_NAME ()
 
::zerobuf::uint128_t ZEROBUF_TYPE_IDENTIFIER ()
 
static size_t ZEROBUF_STATIC_SIZE ()
 
static size_t ZEROBUF_NUM_DYNAMICS ()
 
static ConstColorPtr create (const void *data, const size_t size)
 

Detailed Description

Definition at line 18 of file materialLUT.h.

Member Function Documentation

void lexis::render::Color::setBlue ( float  value)

Set the Blue value.

notifyChanged() is internally called after the change has been done.

Parameters
valuethe Blue value
void lexis::render::Color::setGreen ( float  value)

Set the Green value.

notifyChanged() is internally called after the change has been done.

Parameters
valuethe Green value
void lexis::render::Color::setRed ( float  value)

Set the Red value.

notifyChanged() is internally called after the change has been done.

Parameters
valuethe Red value

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