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

#include "SceneNodeCartesianMesh.h"

Inheritance diagram for SceneNodeCartesianMesh:
SceneNodeContainer SceneNodeBase

Public Member Functions

 SceneNodeCartesianMesh ()
 
virtual ~SceneNodeCartesianMesh ()
 
void setMeshLines (const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z)
 
void setNeedsInitialization (void)
 
std::string getProjectName (void)
 
void setEdgeColor (double color[3])
 
void setMeshLineColor (double color[3])
 
ModelgetModel (void)
 
void setModel (Model *m)
 
void addOwner (SceneNodeCartesianMeshItem *item, int faceID)
 
void removeOwner (SceneNodeCartesianMeshItem *item, const std::vector< int > &faceID)
 
void updateFaceStatus (const std::vector< int > &faceID)
 
void ensureDataLoaded (void)
 
virtual bool isItem1D (void)
 
virtual bool isItem3D (void)
 
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 showMeshLines (bool showMesh)
 
void setFaceListStorage (const std::string &proj, unsigned long long id, unsigned long long version)
 
void setNodeListStorage (unsigned long long id, unsigned long long version)
 
- 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)
 
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

◆ SceneNodeCartesianMesh()

SceneNodeCartesianMesh::SceneNodeCartesianMesh ( )

◆ ~SceneNodeCartesianMesh()

SceneNodeCartesianMesh::~SceneNodeCartesianMesh ( )
virtual

Member Function Documentation

◆ addOwner()

void SceneNodeCartesianMesh::addOwner ( SceneNodeCartesianMeshItem * item,
int faceID )

◆ ensureDataLoaded()

void SceneNodeCartesianMesh::ensureDataLoaded ( void )

◆ getModel()

Model * SceneNodeCartesianMesh::getModel ( void )
inline

◆ getProjectName()

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

◆ isItem1D()

virtual bool SceneNodeCartesianMesh::isItem1D ( void )
inlinevirtual

Reimplemented from SceneNodeContainer.

◆ isItem3D()

virtual bool SceneNodeCartesianMesh::isItem3D ( void )
inlinevirtual

Reimplemented from SceneNodeContainer.

◆ removeOwner()

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

◆ setEdgeColor()

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

◆ setFaceListStorage()

void SceneNodeCartesianMesh::setFaceListStorage ( const std::string & proj,
unsigned long long id,
unsigned long long version )
inline

◆ setHighlighted()

void SceneNodeCartesianMesh::setHighlighted ( bool h)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setMeshLineColor()

void SceneNodeCartesianMesh::setMeshLineColor ( double color[3])
inline

◆ setMeshLines()

void SceneNodeCartesianMesh::setMeshLines ( const std::vector< double > & x,
const std::vector< double > & y,
const std::vector< double > & z )

◆ setModel()

void SceneNodeCartesianMesh::setModel ( Model * m)
inline

◆ setNeedsInitialization()

void SceneNodeCartesianMesh::setNeedsInitialization ( void )
inline

◆ setNodeListStorage()

void SceneNodeCartesianMesh::setNodeListStorage ( unsigned long long id,
unsigned long long version )
inline

◆ setTransparent()

void SceneNodeCartesianMesh::setTransparent ( bool t)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setVisible()

void SceneNodeCartesianMesh::setVisible ( bool v)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setWireframe()

void SceneNodeCartesianMesh::setWireframe ( bool w)
overridevirtual

Reimplemented from SceneNodeBase.

◆ showMeshLines()

void SceneNodeCartesianMesh::showMeshLines ( bool showMesh)

◆ updateFaceStatus()

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

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