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

Public Member Functions

float * getNormal ()
 Get a pointer to the Normal fixed size array. More...
 
const float * getNormal () const
 
std::vector< float > getNormalVector () const
 
void setNormal (float value[3])
 Set the value of the Normal fixed size array from a float*. More...
 
void setNormal (const std::vector< float > &value)
 Set the value of the Normal fixed size array object from a std::vector< float >. More...
 
size_t getNormalSize () const
 
float getD () const
 
void setD (float value)
 Set the D value. More...
 
 Plane (const std::vector< float > &normalValue, const float &dValue)
 
 Plane (const Plane &rhs)
 
 Plane (Plane &&rhs) noexcept
 
 Plane (const ::zerobuf::Zerobuf &rhs)
 
 Plane (::zerobuf::AllocatorPtr allocator)
 
Planeoperator= (const Plane &rhs)
 
Planeoperator= (Plane &&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 ConstPlanePtr create (const void *data, const size_t size)
 

Detailed Description

Definition at line 18 of file clipPlanes.h.

Member Function Documentation

float* lexis::render::Plane::getNormal ( )

Get a pointer to the Normal fixed size array.

Warning
: If the pointer is used to modify the object, notifyChanged() needs to be explicitly called afterwards.
Returns
a pointer to the Normal fixed size array object (float*).
void lexis::render::Plane::setD ( float  value)

Set the D value.

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

Parameters
valuethe D value
void lexis::render::Plane::setNormal ( float  value[3])

Set the value of the Normal fixed size array from a float*.

notifyChanged() is internally called after the data has been copied.

Parameters
valuea 3-length float array with the data to be set
void lexis::render::Plane::setNormal ( const std::vector< float > &  value)

Set the value of the Normal fixed size array object from a std::vector< float >.

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

Parameters
valuea std::vector< float > with the data to be set

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