MEPP2 Project
Functions
FEVV::Debug Namespace Reference

Functions

osg::ref_ptr< osg::Group > createLine (const double &_x, const double &_y, const double &_z, const double &_x2, const double &_y2, const double &_z2, const Color &_color=Color::Clouds(), const std::string &_name="Line", osg::ref_ptr< osg::Group > _group=new osg::Group)
 
osg::ref_ptr< osg::Group > createCylinder (const double &_x, const double &_y, const double &_z, const double &_x2, const double &_y2, const double &_z2, const double &_r, const Color &_color=Color::Lime(), const std::string &_name="Cylinder", osg::ref_ptr< osg::Group > _group=new osg::Group)
 
osg::ref_ptr< osg::Group > createBox (const double &_x, const double &_y, const double &_z, const double &_r, const Color &_color=Color::Orange(), const std::string &_name="Box", osg::ref_ptr< osg::Group > _group=new osg::Group)
 
osg::ref_ptr< osg::Group > createBall (const double &_x, const double &_y, const double &_z, const double &_r, const Color &_color=Color::Amethyst(), const std::string &_name="Ball", osg::ref_ptr< osg::Group > _group=new osg::Group)
 
osg::ref_ptr< osg::Group > createPyramid (const double &_x, const double &_y, const double &_z, const double &_r, const std::string &_name="Pyramid", osg::ref_ptr< osg::Group > _group=new osg::Group)
 
osg::ref_ptr< osg::Group > createGizmo (osg::ref_ptr< osg::Group > _group=new osg::Group)
 
osg::ref_ptr< osg::Group > createUnitGrid (osg::ref_ptr< osg::Group > _group=new osg::Group)
 
osg::ref_ptr< osg::Group > createHud (osg::ref_ptr< osgText::Text > updateText, osg::ref_ptr< osg::Group > _group=new osg::Group)
 
void print_osg_tree_from_node (osg::Node *nd, int level=0)
 

Function Documentation

◆ createBall()

osg::ref_ptr< osg::Group > FEVV::Debug::createBall ( const double &  _x,
const double &  _y,
const double &  _z,
const double &  _r,
const Color _color = Color::Amethyst(),
const std::string &  _name = "Ball",
osg::ref_ptr< osg::Group >  _group = new osg::Group 
)
inline

Definition at line 135 of file OSGDebug.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createBox()

osg::ref_ptr< osg::Group > FEVV::Debug::createBox ( const double &  _x,
const double &  _y,
const double &  _z,
const double &  _r,
const Color _color = Color::Orange(),
const std::string &  _name = "Box",
osg::ref_ptr< osg::Group >  _group = new osg::Group 
)
inline

Definition at line 105 of file OSGDebug.inl.

Here is the call graph for this function:

◆ createCylinder()

osg::ref_ptr< osg::Group > FEVV::Debug::createCylinder ( const double &  _x,
const double &  _y,
const double &  _z,
const double &  _x2,
const double &  _y2,
const double &  _z2,
const double &  _r,
const Color _color = Color::Lime(),
const std::string &  _name = "Cylinder",
osg::ref_ptr< osg::Group >  _group = new osg::Group 
)
inline

Definition at line 61 of file OSGDebug.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createGizmo()

osg::ref_ptr< osg::Group > FEVV::Debug::createGizmo ( osg::ref_ptr< osg::Group >  _group = new osg::Group)
inline

Definition at line 307 of file OSGDebug.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createHud()

osg::ref_ptr< osg::Group > FEVV::Debug::createHud ( osg::ref_ptr< osgText::Text >  updateText,
osg::ref_ptr< osg::Group >  _group = new osg::Group 
)
inline

Definition at line 356 of file OSGDebug.inl.

◆ createLine()

osg::ref_ptr< osg::Group > FEVV::Debug::createLine ( const double &  _x,
const double &  _y,
const double &  _z,
const double &  _x2,
const double &  _y2,
const double &  _z2,
const Color _color = Color::Clouds(),
const std::string &  _name = "Line",
osg::ref_ptr< osg::Group >  _group = new osg::Group 
)
inline

Definition at line 25 of file OSGDebug.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createPyramid()

osg::ref_ptr< osg::Group > FEVV::Debug::createPyramid ( const double &  _x,
const double &  _y,
const double &  _z,
const double &  _r,
const std::string &  _name = "Pyramid",
osg::ref_ptr< osg::Group >  _group = new osg::Group 
)
inline

Definition at line 166 of file OSGDebug.inl.

Here is the call graph for this function:

◆ createUnitGrid()

osg::ref_ptr< osg::Group > FEVV::Debug::createUnitGrid ( osg::ref_ptr< osg::Group >  _group = new osg::Group)
inline

Definition at line 329 of file OSGDebug.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_osg_tree_from_node()

void FEVV::Debug::print_osg_tree_from_node ( osg::Node *  nd,
int  level = 0 
)
inline

Print OSG tree starting from given node.

Parameters
ndnode to start from
levelfirst level of indentation, usually 0

Definition at line 392 of file OSGDebug.inl.