public

Inheritance Graph

graph BT
	PathNode
	PathNode --> GroupNode
	click PathNode "classMinSG_1_1PathNode"
	click GroupNode "classMinSG_1_1GroupNode"

Description

PathNode > GroupNode > Node

Public Types

   
   
typedef std::map< AbstractBehaviour::timestamp_t , Util::Reference < Waypoint > > wayPointMap_t

Public Functions

   
   
  PathNode()
   
  PathNode(const PathNode & source)
   
  ~PathNode()
   
Waypoint * createWaypoint(const Geometry::SRT & position, AbstractBehaviour::timestamp_t time)
   
void updateWaypoint( Waypoint * wp, AbstractBehaviour::timestamp_t newTime)
   
Waypoint * getWaypoint( AbstractBehaviour::timestamp_t time)
   
void removeLastWaypoint()
   
size_t countWaypoints() const
   
wayPointMap_t::const_iterator begin() const
   
wayPointMap_t::const_iterator end() const
   
wayPointMap_t::const_iterator getNextWaypoint( AbstractBehaviour::timestamp_t time) const
   
wayPointMap_t::iterator getNextWaypoint( AbstractBehaviour::timestamp_t time)
   
Geometry::SRT getPosition( AbstractBehaviour::timestamp_t time) const
   
Geometry::SRT getWorldPosition( AbstractBehaviour::timestamp_t time)
   
void closeLoop( AbstractBehaviour::timestamp_t time)
   
bool isLooping() const
   
void setLooping(bool b)
   
AbstractBehaviour::timestamp_t getMaxTime() const
   
bool isBBValid() const
   
size_t countChildren() const
   
void doDisplay( FrameContext & context, const RenderParam & rp)
   
NodeVisitor::status traverse( NodeVisitor & visitor)
o
   
bool getMetaDisplayWaypoints() const
   
void setMetaDisplayWaypoints(bool displayWaypoints)
   
bool getMetaDisplayTimes() const
   
void setMetaDisplayTimes(bool displayTimes)

Documentation

typedef
MinSG::PathNode::wayPointMap_t

public
 
 
typedef std::map< AbstractBehaviour::timestamp_t , Util::Reference < Waypoint > > wayPointMap_t

Defined in MinSG/Ext/Waypoints/PathNode.h:38


function
MinSG::PathNode::PathNode

public
   
   
PathNode( )

Defined in MinSG/Ext/Waypoints/PathNode.h:40


function
MinSG::PathNode::PathNode

public
     
     
PathNode( const PathNode & source )

Defined in MinSG/Ext/Waypoints/PathNode.h:41


function
MinSG::PathNode::~PathNode

public virtual
   
   
~PathNode( )

Defined in MinSG/Ext/Waypoints/PathNode.h:42


function
MinSG::PathNode::createWaypoint

public
     
     
Waypoint * createWaypoint( const Geometry::SRT & position,
  AbstractBehaviour::timestamp_t time
)    

Create and add a new waypoint

Defined in MinSG/Ext/Waypoints/PathNode.h:45


function
MinSG::PathNode::updateWaypoint

public
     
     
void updateWaypoint( Waypoint * wp,
  AbstractBehaviour::timestamp_t newTime
)    

Defined in MinSG/Ext/Waypoints/PathNode.h:46


function
MinSG::PathNode::getWaypoint

public
     
     
Waypoint * getWaypoint( AbstractBehaviour::timestamp_t time )

Defined in MinSG/Ext/Waypoints/PathNode.h:48


function
MinSG::PathNode::removeLastWaypoint

public
   
   
void removeLastWaypoint( )

Defined in MinSG/Ext/Waypoints/PathNode.h:50


function
MinSG::PathNode::countWaypoints

public const inline
   
   
size_t countWaypoints( ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:52


function
MinSG::PathNode::begin

public const inline
   
   
wayPointMap_t::const_iterator begin( ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:53


function
MinSG::PathNode::end

public const inline
   
   
wayPointMap_t::const_iterator end( ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:54


function
MinSG::PathNode::getNextWaypoint

public const
     
     
wayPointMap_t::const_iterator getNextWaypoint( AbstractBehaviour::timestamp_t time ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:56


function
MinSG::PathNode::getNextWaypoint

public
     
     
wayPointMap_t::iterator getNextWaypoint( AbstractBehaviour::timestamp_t time )

Defined in MinSG/Ext/Waypoints/PathNode.h:57


function
MinSG::PathNode::getPosition

public const
     
     
Geometry::SRT getPosition( AbstractBehaviour::timestamp_t time ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:58


function
MinSG::PathNode::getWorldPosition

public
     
     
Geometry::SRT getWorldPosition( AbstractBehaviour::timestamp_t time )

Defined in MinSG/Ext/Waypoints/PathNode.h:59


function
MinSG::PathNode::closeLoop

public
     
     
void closeLoop( AbstractBehaviour::timestamp_t time )

Defined in MinSG/Ext/Waypoints/PathNode.h:60


function
MinSG::PathNode::isLooping

public const inline
   
   
bool isLooping( ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:62


function
MinSG::PathNode::setLooping

public inline
     
     
void setLooping( bool b )

Defined in MinSG/Ext/Waypoints/PathNode.h:63


function
MinSG::PathNode::getMaxTime

public const
   
   
AbstractBehaviour::timestamp_t getMaxTime( ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:65


function
MinSG::PathNode::isBBValid

public const inline
   
   
bool isBBValid( ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:67


function
MinSG::PathNode::countChildren

public const inline virtual
   
   
size_t countChildren( ) const

o

Returns

The number of direct children of this node.

Defined in MinSG/Ext/Waypoints/PathNode.h:70


function
MinSG::PathNode::doDisplay

public virtual
     
     
void doDisplay( FrameContext & context,
  const RenderParam & rp
)    

o Render the node. All matrix operations and states must be applied when called. This function is internally called by the default to display(…) method.

Defined in MinSG/Ext/Waypoints/PathNode.h:73


function
MinSG::PathNode::traverse

public virtual
     
     
NodeVisitor::status traverse( NodeVisitor & visitor )

o

Defined in MinSG/Ext/Waypoints/PathNode.h:74


function
MinSG::PathNode::getMetaDisplayWaypoints

public const inline
   
   
bool getMetaDisplayWaypoints( ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:76


function
MinSG::PathNode::setMetaDisplayWaypoints

public inline
     
     
void setMetaDisplayWaypoints( bool displayWaypoints )

Defined in MinSG/Ext/Waypoints/PathNode.h:79


function
MinSG::PathNode::getMetaDisplayTimes

public const inline
   
   
bool getMetaDisplayTimes( ) const

Defined in MinSG/Ext/Waypoints/PathNode.h:83


function
MinSG::PathNode::setMetaDisplayTimes

public inline
     
     
void setMetaDisplayTimes( bool displayTimes )

Defined in MinSG/Ext/Waypoints/PathNode.h:86