OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
SceneNodeBase Class Referenceabstract

#include "SceneNodeBase.h"

Inheritance diagram for SceneNodeBase:
SceneNodeAnnotation SceneNodeCartesianMeshItem SceneNodeContainer SceneNodeGeometry SceneNodeMeshItem SceneNodeMultiVisualisation SceneNodePlot1D SceneNodePlot1DCurve SceneNodeVTK

Public Member Functions

 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)
 
virtual bool isItem1D (void)=0
 
virtual bool isItem3D (void)=0
 
void addVisualiser (Visualiser *_visualiser)
 
const std::list< Visualiser * > & getVisualiser ()
 

Protected Attributes

osg::Switch * shapeNode
 
const float transparency = 0.15
 

Constructor & Destructor Documentation

◆ SceneNodeBase()

SceneNodeBase::SceneNodeBase ( )
inline

◆ ~SceneNodeBase()

virtual SceneNodeBase::~SceneNodeBase ( )
inlinevirtual

Member Function Documentation

◆ addChild()

void SceneNodeBase::addChild ( SceneNodeBase * child)
inline

◆ addVisualiser()

void SceneNodeBase::addVisualiser ( Visualiser * _visualiser)
inline

◆ getChildren()

const std::list< SceneNodeBase * > & SceneNodeBase::getChildren ( void )
inline

◆ getErrors()

std::string SceneNodeBase::getErrors ( void )
inline

◆ getManageVisibilityOfChildren()

bool SceneNodeBase::getManageVisibilityOfChildren ( void )
inline

◆ getManageVisibilityOfParent()

bool SceneNodeBase::getManageVisibilityOfParent ( void )
inline

◆ getModelEntityID()

unsigned long long SceneNodeBase::getModelEntityID ( void )
inline

◆ getName()

const std::string & SceneNodeBase::getName ( void )
inline

◆ getOffset()

double SceneNodeBase::getOffset ( void )
inline

◆ getOldTreeIcons()

const OldTreeIcon & SceneNodeBase::getOldTreeIcons ( void )
inline

◆ getParent()

SceneNodeBase * SceneNodeBase::getParent ( void )
inline

◆ getPrefetch()

virtual void SceneNodeBase::getPrefetch ( std::string & projectName,
std::list< std::pair< unsigned long long, unsigned long long > > & prefetchIDs )
inlinevirtual

Reimplemented in SceneNodeMeshItem.

◆ getSelectChildren()

virtual bool SceneNodeBase::getSelectChildren ( void )
inlinevirtual

Reimplemented in SceneNodePlot1D.

◆ getShapeNode()

osg::Switch * SceneNodeBase::getShapeNode ( void )
inline

◆ getTreeItemID()

ot::UID SceneNodeBase::getTreeItemID ( void )
inline

◆ getVisualiser()

const std::list< Visualiser * > & SceneNodeBase::getVisualiser ( )
inline

◆ hasErrors()

bool SceneNodeBase::hasErrors ( void )
inline

◆ isEditable()

bool SceneNodeBase::isEditable ( void )
inline

◆ isHighlighted()

bool SceneNodeBase::isHighlighted ( void )
inline

◆ isItem1D()

◆ isItem3D()

◆ isSelected()

bool SceneNodeBase::isSelected ( void )
inline

◆ isTransparent()

bool SceneNodeBase::isTransparent ( void )
inline

◆ isVisible()

bool SceneNodeBase::isVisible ( void )
inline

◆ isWireframe()

bool SceneNodeBase::isWireframe ( void )
inline

◆ removeChild()

void SceneNodeBase::removeChild ( SceneNodeBase * child)
inline

◆ setEditable()

virtual void SceneNodeBase::setEditable ( bool v)
inlinevirtual

◆ setErrors()

void SceneNodeBase::setErrors ( std::string & e)
inline

◆ setHighlighted()

virtual void SceneNodeBase::setHighlighted ( bool h)
inlinevirtual

◆ setManageVisibilityOfChildren()

void SceneNodeBase::setManageVisibilityOfChildren ( bool flag)
inline

◆ setManageVisibilityOfParent()

void SceneNodeBase::setManageVisibilityOfParent ( bool flag)
inline

◆ setModelEntityID()

void SceneNodeBase::setModelEntityID ( unsigned long long id)
inline

◆ setName()

void SceneNodeBase::setName ( const std::string & n)
inline

◆ setOffset()

void SceneNodeBase::setOffset ( double value)
inline

◆ setOldTreeIcons()

void SceneNodeBase::setOldTreeIcons ( const OldTreeIcon & icons)
inline

◆ setParent()

void SceneNodeBase::setParent ( SceneNodeBase * item)
inline

◆ setSelectChildren()

void SceneNodeBase::setSelectChildren ( bool flag)
inline

◆ setSelected()

virtual void SceneNodeBase::setSelected ( bool _selected,
bool _selectionFromNavigationTree )
inlinevirtual

◆ setShapeNode()

void SceneNodeBase::setShapeNode ( osg::Switch * node)
inline

◆ setTransparent()

virtual void SceneNodeBase::setTransparent ( bool t)
inlinevirtual

◆ setTreeItemID()

void SceneNodeBase::setTreeItemID ( ot::UID iD)
inline

◆ setVisible()

virtual void SceneNodeBase::setVisible ( bool v)
inlinevirtual

◆ setWireframe()

virtual void SceneNodeBase::setWireframe ( bool w)
inlinevirtual

Member Data Documentation

◆ shapeNode

osg::Switch* SceneNodeBase::shapeNode
protected

◆ transparency

const float SceneNodeBase::transparency = 0.15
protected

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