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

#include "SceneNodeMeshItem.h"

Inheritance diagram for SceneNodeMeshItem:
SceneNodeBase

Public Member Functions

 SceneNodeMeshItem ()
 
virtual ~SceneNodeMeshItem ()
 
virtual void setTransparent (bool t) override
 
virtual void setWireframe (bool w) override
 
virtual void setVisible (bool v) override
 
virtual void setHighlighted (bool h) override
 
void setStorage (const std::string &proj, unsigned long long id, unsigned long long version, long long tetEdgesID, long long tetEdgesVersion)
 
void setNeedsInitialization (void)
 
std::string getProjectName (void)
 
ModelgetModel (void)
 
void setModel (Model *m)
 
SceneNodeMeshgetMesh (void)
 
void setMesh (SceneNodeMesh *m)
 
void ensureDataLoaded (void)
 
bool getIsVolume (void)
 
double getColorR (void)
 
double getColorG (void)
 
double getColorB (void)
 
virtual void getPrefetch (std::string &projectName, std::list< std::pair< unsigned long long, unsigned long long > > &prefetchIDs) override
 
virtual bool isItem1D (void)
 
virtual bool isItem3D (void)
 
void setDisplayTetEdges (bool displayEdges)
 
void updateObjectColor (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)
 
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

◆ SceneNodeMeshItem()

SceneNodeMeshItem::SceneNodeMeshItem ( )

◆ ~SceneNodeMeshItem()

SceneNodeMeshItem::~SceneNodeMeshItem ( )
virtual

Member Function Documentation

◆ ensureDataLoaded()

void SceneNodeMeshItem::ensureDataLoaded ( void )

◆ getColorB()

double SceneNodeMeshItem::getColorB ( void )
inline

◆ getColorG()

double SceneNodeMeshItem::getColorG ( void )
inline

◆ getColorR()

double SceneNodeMeshItem::getColorR ( void )
inline

◆ getIsVolume()

bool SceneNodeMeshItem::getIsVolume ( void )
inline

◆ getMesh()

SceneNodeMesh * SceneNodeMeshItem::getMesh ( void )
inline

◆ getModel()

Model * SceneNodeMeshItem::getModel ( void )
inline

◆ getPrefetch()

void SceneNodeMeshItem::getPrefetch ( std::string & projectName,
std::list< std::pair< unsigned long long, unsigned long long > > & prefetchIDs )
overridevirtual

Reimplemented from SceneNodeBase.

◆ getProjectName()

std::string SceneNodeMeshItem::getProjectName ( void )
inline

◆ isItem1D()

virtual bool SceneNodeMeshItem::isItem1D ( void )
inlinevirtual

Implements SceneNodeBase.

◆ isItem3D()

virtual bool SceneNodeMeshItem::isItem3D ( void )
inlinevirtual

Implements SceneNodeBase.

◆ setDisplayTetEdges()

void SceneNodeMeshItem::setDisplayTetEdges ( bool displayEdges)

◆ setHighlighted()

void SceneNodeMeshItem::setHighlighted ( bool h)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setMesh()

void SceneNodeMeshItem::setMesh ( SceneNodeMesh * m)
inline

◆ setModel()

void SceneNodeMeshItem::setModel ( Model * m)
inline

◆ setNeedsInitialization()

void SceneNodeMeshItem::setNeedsInitialization ( void )
inline

◆ setStorage()

void SceneNodeMeshItem::setStorage ( const std::string & proj,
unsigned long long id,
unsigned long long version,
long long tetEdgesID,
long long tetEdgesVersion )
inline

◆ setTransparent()

void SceneNodeMeshItem::setTransparent ( bool t)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setVisible()

void SceneNodeMeshItem::setVisible ( bool v)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setWireframe()

void SceneNodeMeshItem::setWireframe ( bool w)
overridevirtual

Reimplemented from SceneNodeBase.

◆ updateObjectColor()

void SceneNodeMeshItem::updateObjectColor ( double r,
double g,
double b )

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