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

#include "SceneNodePlot1D.h"

Inheritance diagram for SceneNodePlot1D:
SceneNodeBase

Public Member Functions

 SceneNodePlot1D ()
 
virtual ~SceneNodePlot1D ()
 
virtual void setTransparent (bool _transparent) override
 
virtual void setWireframe (bool _wireframe) override
 
virtual void setVisible (bool _visible) override
 
virtual void setHighlighted (bool _highlighted) override
 
bool getSelectChildren (void) override
 
virtual bool isItem1D (void) override
 
virtual bool isItem3D (void) override
 
void setConfig (const ot::Plot1DCfg &_config)
 
void setDataBaseConfig (const ot::Plot1DDataBaseCfg &_config)
 
const ot::Plot1DDataBaseCfggetConfig (void) const
 
void setModel (Model *_model)
 
ModelgetModel (void)
 
void addCurve (const ot::Plot1DCurveInfoCfg &_curve)
 
void setCurves (const std::list< ot::Plot1DCurveInfoCfg > &_curves)
 
const std::list< ot::Plot1DCurveInfoCfg > & getCurves (void) const
 
size_t getNumberOfCurves (void) const
 
const ot::Plot1DCurveInfoCfggetCurveInfo (size_t _index) const
 
bool updateCurveEntityVersion (ot::UID _curveEntityID, ot::UID _curveVersion)
 
- 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)
 
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

◆ SceneNodePlot1D()

SceneNodePlot1D::SceneNodePlot1D ( )

◆ ~SceneNodePlot1D()

SceneNodePlot1D::~SceneNodePlot1D ( )
virtual

Member Function Documentation

◆ addCurve()

void SceneNodePlot1D::addCurve ( const ot::Plot1DCurveInfoCfg & _curve)

◆ getConfig()

const ot::Plot1DDataBaseCfg & SceneNodePlot1D::getConfig ( void ) const
inline

◆ getCurveInfo()

const ot::Plot1DCurveInfoCfg & SceneNodePlot1D::getCurveInfo ( size_t _index) const

◆ getCurves()

const std::list< ot::Plot1DCurveInfoCfg > & SceneNodePlot1D::getCurves ( void ) const

◆ getModel()

Model * SceneNodePlot1D::getModel ( void )
inline

◆ getNumberOfCurves()

size_t SceneNodePlot1D::getNumberOfCurves ( void ) const

◆ getSelectChildren()

bool SceneNodePlot1D::getSelectChildren ( void )
inlineoverridevirtual

Reimplemented from SceneNodeBase.

◆ isItem1D()

virtual bool SceneNodePlot1D::isItem1D ( void )
inlineoverridevirtual

Implements SceneNodeBase.

◆ isItem3D()

virtual bool SceneNodePlot1D::isItem3D ( void )
inlineoverridevirtual

Implements SceneNodeBase.

◆ setConfig()

void SceneNodePlot1D::setConfig ( const ot::Plot1DCfg & _config)

◆ setCurves()

void SceneNodePlot1D::setCurves ( const std::list< ot::Plot1DCurveInfoCfg > & _curves)

◆ setDataBaseConfig()

void SceneNodePlot1D::setDataBaseConfig ( const ot::Plot1DDataBaseCfg & _config)

◆ setHighlighted()

void SceneNodePlot1D::setHighlighted ( bool _highlighted)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setModel()

void SceneNodePlot1D::setModel ( Model * _model)
inline

◆ setTransparent()

void SceneNodePlot1D::setTransparent ( bool _transparent)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setVisible()

void SceneNodePlot1D::setVisible ( bool _visible)
overridevirtual

Reimplemented from SceneNodeBase.

◆ setWireframe()

void SceneNodePlot1D::setWireframe ( bool _wireframe)
overridevirtual

Reimplemented from SceneNodeBase.

◆ updateCurveEntityVersion()

bool SceneNodePlot1D::updateCurveEntityVersion ( ot::UID _curveEntityID,
ot::UID _curveVersion )

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