TrueReality  v0.1.1912
trCore::Nodes Namespace Reference

Classes

class  FrameStamp
 Class which encapsulates the frame number, reference time and calendar time of specific frame, used to synchronize operations on the scene graph and other machines when using a graphics cluster. More...
 
class  Node
 Class for wrapping the osg node Internally it contains an OSG Group, that can be accessed by user if additional functionality is required. More...
 
class  NodeVisitor
 Visitor for type safe operations on trCore::Nodes. More...
 

Typedefs

using NodePath = std::vector< trBase::SmrtPtr< Node > >
 A vector of Nodes pointers which is used to describe the path from a root node to a descendant. More...
 

Functions

osg::NodeVisitor::VisitorType ToVisitorType (NodeVisitor::VisitorType type)
 
NodeVisitor::VisitorType ToVisitorType (osg::NodeVisitor::VisitorType type)
 Converts an osg visitor type to a TR visitor type. More...
 
osg::NodeVisitor::TraversalMode ToTraversalMode (NodeVisitor::TraversalMode mode)
 Converts TR traversal mode to a osg traversal mode. More...
 
NodeVisitor::TraversalMode ToTraversalMode (osg::NodeVisitor::TraversalMode mode)
 Converts a osg TraversalMode to a TR TraversalMode. More...
 

Typedef Documentation

◆ NodePath

using trCore::Nodes::NodePath = typedef std::vector<trBase::SmrtPtr<Node> >

A vector of Nodes pointers which is used to describe the path from a root node to a descendant.

Definition at line 176 of file trCore/Nodes/Node.h.

Function Documentation

◆ ToTraversalMode() [1/2]

osg::NodeVisitor::TraversalMode trCore::Nodes::ToTraversalMode ( NodeVisitor::TraversalMode  type)

Converts TR traversal mode to a osg traversal mode.

Parameters
typeThe type.
Returns
Type as an osg::NodeVisitor::TraversalMode.

Definition at line 112 of file trCore/Nodes/NodeVisitor.cpp.

Referenced by trCore::Nodes::NodeVisitor::GetTraversalMode(), and trCore::Nodes::NodeVisitor::SetTraversalMode().

Here is the caller graph for this function:

◆ ToTraversalMode() [2/2]

NodeVisitor::TraversalMode trCore::Nodes::ToTraversalMode ( osg::NodeVisitor::TraversalMode  type)

Converts a osg TraversalMode to a TR TraversalMode.

Parameters
typeThe type.
Returns
Type as a NodeVisitor::TraversalMode.

Definition at line 143 of file trCore/Nodes/NodeVisitor.cpp.

References trCore::Nodes::NodeVisitor::CLASS_TYPE.

◆ ToVisitorType() [1/2]

osg::NodeVisitor::VisitorType trCore::Nodes::ToVisitorType ( NodeVisitor::VisitorType  type)

◆ ToVisitorType() [2/2]

NodeVisitor::VisitorType trCore::Nodes::ToVisitorType ( osg::NodeVisitor::VisitorType  type)

Converts an osg visitor type to a TR visitor type.

Parameters
typeThe type.
Returns
Type as a NodeVisitor::VisitorType.

Definition at line 75 of file trCore/Nodes/NodeVisitor.cpp.