Lexis  1.0.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 float fixed size array object. More...
 
const float * getNormal () const
 
std::vector< float > getNormalVector () const
 
void setNormal (float value[3])
 Set the value of the float fixed size array object from a float*. More...
 
void setNormal (const std::vector< float > &value)
 Set the value of the float fixed size array object from a float std::vector. More...
 
size_t getNormalSize () const
 
float getD () const
 
void setD (float value)
 Set the value of the float fixed size member. 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 float fixed size array object.

WARNING: If the pointer is used to modify the object, notifyChanged() needs to be explicitly called afterwards.

Returns
a pointer to the float fixed size array object(float*).
void lexis::render::Plane::setD ( float  value)

Set the value of the float fixed size member.

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

Parameters
valuethe float value to be set in the current object
void lexis::render::Plane::setNormal ( float  value[3])

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

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

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

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

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

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

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