63 TRAVERSE_ALL_CHILDREN = 2,
64 TRAVERSE_ACTIVE_CHILDREN = 3
72 COLLECT_OCCLUDER_VISITOR = 3,
74 INTERSECTION_VISITOR = 5
109 virtual const std::string& GetType()
const override;
118 virtual void SetName(
const std::string& name);
127 virtual osg::NodeVisitor* AsOSGVisitor();
136 virtual const osg::NodeVisitor* AsOSGVisitor()
const;
145 virtual void Reset();
174 inline void SetTraversalNumber(
unsigned int fn);
183 inline unsigned int GetTraversalNumber()
const;
202 inline const FrameStamp* GetFrameStamp()
const;
264 inline bool ValidNodeMask(
const Nodes::Node& node)
const;
296 inline void Traverse(
Node& node);
310 inline void PushOntoNodePath(
Node* node);
319 inline void PopFromNodePath();
341 const NodePath* GetNodePath()
const;
virtual float GetDistanceToEyePoint(const trBase::Vec3 &, bool) const
Get the distance from a point to the eye point, distance value in local coordinate system...
std::vector< trBase::SmrtPtr< Node > > NodePath
A vector of Nodes pointers which is used to describe the path from a root node to a descendant...
unsigned int NodeMask
Holds the class type name for efficient comparisons.
Class which encapsulates the frame number, reference time and calendar time of specific frame...
A string wrapper that will make sure that all of the strings with the same value will point to the sa...
Visitor for type safe operations on trCore::Nodes.
This class is part of the internal garbage collection system.
This is a Base class that carries the Class name and Unique ID of all the derived classes...
Class for wrapping the osg node Internally it contains an OSG Group, that can be accessed by user if ...
Vec3f Vec3
General purpose 3D Vector.
static const trUtil::RefStr CLASS_TYPE
Adds an easy and swappable access to the base class.
virtual trBase::Vec3 GetViewPoint() const
Get the view point in local coordinates.
trBase::SmrtPtr< osg::NodeVisitor > mNodeVisitor
The node visitor.
virtual trBase::Vec3 GetEyePoint() const
Get the eye point in local coordinates.
virtual float GetDistanceToViewPoint(const trBase::Vec3 &, bool) const
Get the distance from a point to the view point, distance value in local coordinate system...
virtual float GetDistanceFromEyePoint(const trBase::Vec3 &, bool) const
Get the distance of a point from the eye point, distance value in the eye coordinate system...
General purpose 3D float Vector.