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

#include "SceneNodeMesh.h"

Inheritance diagram for SceneNodeMesh:
SceneNodeContainer SceneNodeBase

Public Member Functions

 SceneNodeMesh ()
 
virtual ~SceneNodeMesh ()
 
void setStorage (const std::string &proj, unsigned long long id, unsigned long long version)
 
void setNeedsInitialization (void)
 
std::string getProjectName (void)
 
void setEdgeColor (double color[3])
 
ModelgetModel (void)
 
void setModel (Model *m)
 
void addOwner (SceneNodeMeshItem *item, int faceID)
 
void removeOwner (SceneNodeMeshItem *item, const std::vector< int > &faceID)
 
void updateFaceStatus (const std::vector< int > &faceID)
 
void ensureDataLoaded (void)
 
virtual bool isItem1D (void)
 
virtual bool isItem3D (void)
 
double getNodeX (size_t index)
 
double getNodeY (size_t index)
 
double getNodeZ (size_t index)
 
bool getDisplayTetEdges (void)
 
void setDisplayTetEdges (bool displayEdges)
 
- Public Member Functions inherited from SceneNodeContainer
 SceneNodeContainer ()
 
virtual ~SceneNodeContainer ()
 
- 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)
 
virtual void setVisible (bool v)
 
bool isSelected (void)
 
virtual void setSelected (bool _selected, bool _selectionFromNavigationTree)
 
bool isTransparent (void)
 
virtual void setTransparent (bool t)
 
bool isWireframe (void)
 
virtual void setWireframe (bool w)
 
bool isHighlighted (void)
 
virtual void setHighlighted (bool h)
 
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

◆ SceneNodeMesh()

SceneNodeMesh::SceneNodeMesh ( )

◆ ~SceneNodeMesh()

SceneNodeMesh::~SceneNodeMesh ( )
virtual

Member Function Documentation

◆ addOwner()

void SceneNodeMesh::addOwner ( SceneNodeMeshItem * item,
int faceID )

◆ ensureDataLoaded()

void SceneNodeMesh::ensureDataLoaded ( void )

◆ getDisplayTetEdges()

bool SceneNodeMesh::getDisplayTetEdges ( void )
inline

◆ getModel()

Model * SceneNodeMesh::getModel ( void )
inline

◆ getNodeX()

double SceneNodeMesh::getNodeX ( size_t index)
inline

◆ getNodeY()

double SceneNodeMesh::getNodeY ( size_t index)
inline

◆ getNodeZ()

double SceneNodeMesh::getNodeZ ( size_t index)
inline

◆ getProjectName()

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

◆ isItem1D()

virtual bool SceneNodeMesh::isItem1D ( void )
inlinevirtual

Reimplemented from SceneNodeContainer.

◆ isItem3D()

virtual bool SceneNodeMesh::isItem3D ( void )
inlinevirtual

Reimplemented from SceneNodeContainer.

◆ removeOwner()

void SceneNodeMesh::removeOwner ( SceneNodeMeshItem * item,
const std::vector< int > & faceID )

◆ setDisplayTetEdges()

void SceneNodeMesh::setDisplayTetEdges ( bool displayEdges)

◆ setEdgeColor()

void SceneNodeMesh::setEdgeColor ( double color[3])
inline

◆ setModel()

void SceneNodeMesh::setModel ( Model * m)
inline

◆ setNeedsInitialization()

void SceneNodeMesh::setNeedsInitialization ( void )
inline

◆ setStorage()

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

◆ updateFaceStatus()

void SceneNodeMesh::updateFaceStatus ( const std::vector< int > & faceID)

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