cherish
Public Member Functions | Static Public Member Functions | List of all members
entity::SVMData Class Reference
Inheritance diagram for entity::SVMData:
osg::ProtectedGroup

Public Member Functions

 SVMData ()
 
void setTransformWall (osg::Matrix m)
 
void setTransformFloor (osg::Matrix m)
 
void setVisibility (bool visibility)
 
bool getVisibility () const
 
osg::Vec3f getLocalWall (int i) const
 
osg::Vec3f getLocalFloor (int i) const
 
osg::Vec3f getGlobalFloor (int i) const
 
entity::DraggableWiregetWallWire () const
 
entity::DraggableWiregetFlootWire () const
 
- Public Member Functions inherited from osg::ProtectedGroup
 ProtectedGroup (const ProtectedGroup &group, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 

Static Public Member Functions

static entity::SVMDatagetParentSVM (entity::DraggableWire *wire)
 

Constructor & Destructor Documentation

§ SVMData()

SVMData::SVMData ( )

Default constructor. Creates an empty instance without initializing the structure.

Member Function Documentation

§ getFlootWire()

entity::DraggableWire * SVMData::getFlootWire ( ) const
Returns
wire associated with Wall canvas.

§ getGlobalFloor()

osg::Vec3f SVMData::getGlobalFloor ( int  i) const
Returns
i-th point global coordinates [X, Y, Z] of the second wire (floor).

§ getLocalFloor()

osg::Vec3f SVMData::getLocalFloor ( int  i) const
Returns
i-th points local coordinate [u, v, 0] of the second wire (floor).

§ getLocalWall()

osg::Vec3f SVMData::getLocalWall ( int  i) const
Returns
i-th point local coordinates [u, v, 0] of the first wire (wall).

§ getParentSVM()

entity::SVMData * SVMData::getParentSVM ( entity::DraggableWire wire)
static
Returns
pointer on parent SVMData structure of the given wire.

§ getVisibility()

bool SVMData::getVisibility ( ) const
Returns
whether the wire geometries are visible (true) or not (false).

§ getWallWire()

entity::DraggableWire * SVMData::getWallWire ( ) const
Returns
wire associated with Floor canvas.

§ setTransformFloor()

void SVMData::setTransformFloor ( osg::Matrix  m)

Method to set up world to local matrix transform for a "Floor" wire.

§ setTransformWall()

void SVMData::setTransformWall ( osg::Matrix  m)

Method to set up world to local matrix transform for a "Wall" wire.

§ setVisibility()

void SVMData::setVisibility ( bool  visibility)

Method to set up visibility of geometries.


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