OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
SceneNodeCartesianMeshItem Class Reference

#include "SceneNodeCartesianMeshItem.h"

Inheritance diagram for SceneNodeCartesianMeshItem:
SceneNodeBase

Public Member Functions

 SceneNodeCartesianMeshItem ()
 
virtual ~SceneNodeCartesianMeshItem ()
 
virtual void setTransparent (bool t) override
 
virtual void setWireframe (bool w) override
 
virtual void setVisible (bool v) override
 
virtual void setHighlighted (bool h) override
 
ModelgetModel (void)
 
void setModel (Model *m)
 
SceneNodeCartesianMeshgetMesh (void)
 
void setMesh (SceneNodeCartesianMesh *m)
 
bool getIsVolume (void)
 
double getColorR (void)
 
double getColorG (void)
 
double getColorB (void)
 
virtual bool isItem1D (void)
 
virtual bool isItem3D (void)
 
void setFacesList (std::vector< int > &faces)
 
void setColor (double r, double g, double b)
 
- Public Member Functions inherited from SceneNodeBase
 SceneNodeBase ()
 
virtual ~SceneNodeBase ()
 
void setName (const std::string &n)
 
const std::string & getName (void)
 
void setShapeNode (osg::Switch *node)
 
osg::Switch * getShapeNode (void)
 
void setTreeItemID (ot::UID iD)
 
ot::UID getTreeItemID (void)
 
void setModelEntityID (unsigned long long id)
 
unsigned long long getModelEntityID (void)
 
bool isEditable (void)
 
virtual void setEditable (bool v)
 
bool isVisible (void)
 
bool isSelected (void)
 
virtual void setSelected (bool _selected, bool _selectionFromNavigationTree)
 
bool isTransparent (void)
 
bool isWireframe (void)
 
bool isHighlighted (void)
 
void setErrors (std::string &e)
 
bool hasErrors (void)
 
std::string getErrors (void)
 
void setOffset (double value)
 
double getOffset (void)
 
void setSelectChildren (bool flag)
 
virtual bool getSelectChildren (void)
 
void setManageVisibilityOfParent (bool flag)
 
bool getManageVisibilityOfParent (void)
 
void setManageVisibilityOfChildren (bool flag)
 
bool getManageVisibilityOfChildren (void)
 
void setParent (SceneNodeBase *item)
 
SceneNodeBasegetParent (void)
 
void addChild (SceneNodeBase *child)
 
void removeChild (SceneNodeBase *child)
 
const std::list< SceneNodeBase * > & getChildren (void)
 
void setOldTreeIcons (const OldTreeIcon &icons)
 
const OldTreeIcon & getOldTreeIcons (void)
 
virtual void getPrefetch (std::string &projectName, std::list< std::pair< unsigned long long, unsigned long long > > &prefetchIDs)
 
void addVisualiser (Visualiser *_visualiser)
 
const std::list< Visualiser * > & getVisualiser ()
 

Additional Inherited Members

- Protected Attributes inherited from SceneNodeBase
osg::Switch * shapeNode
 
const float transparency = 0.15
 

Constructor & Destructor Documentation

◆ SceneNodeCartesianMeshItem()

SceneNodeCartesianMeshItem::SceneNodeCartesianMeshItem ( )

◆ ~SceneNodeCartesianMeshItem()

SceneNodeCartesianMeshItem::~SceneNodeCartesianMeshItem ( )
virtual

Member Function Documentation

◆ getColorB()

double SceneNodeCartesianMeshItem::getColorB ( void )
inline

◆ getColorG()

double SceneNodeCartesianMeshItem::getColorG ( void )
inline

◆ getColorR()

double SceneNodeCartesianMeshItem::getColorR ( void )
inline

◆ getIsVolume()

bool SceneNodeCartesianMeshItem::getIsVolume ( void )
inline

◆ getMesh()

SceneNodeCartesianMesh * SceneNodeCartesianMeshItem::getMesh ( void )
inline

◆ getModel()

Model * SceneNodeCartesianMeshItem::getModel ( void )
inline

◆ isItem1D()

virtual bool SceneNodeCartesianMeshItem::isItem1D ( void )
inlinevirtual

Implements SceneNodeBase.

◆ isItem3D()

virtual bool SceneNodeCartesianMeshItem::isItem3D ( void )
inlinevirtual

Implements SceneNodeBase.

◆ setColor()

void SceneNodeCartesianMeshItem::setColor ( double r,
double g,
double b )
inline

◆ setFacesList()

void SceneNodeCartesianMeshItem::setFacesList ( std::vector< int > & faces)

◆ setHighlighted()

void SceneNodeCartesianMeshItem::setHighlighted ( bool h)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setMesh()

void SceneNodeCartesianMeshItem::setMesh ( SceneNodeCartesianMesh * m)
inline

◆ setModel()

void SceneNodeCartesianMeshItem::setModel ( Model * m)
inline

◆ setTransparent()

void SceneNodeCartesianMeshItem::setTransparent ( bool t)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setVisible()

void SceneNodeCartesianMeshItem::setVisible ( bool v)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setWireframe()

void SceneNodeCartesianMeshItem::setWireframe ( bool w)
overridevirtual

Reimplemented from SceneNodeBase.


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