ScopeTrackerObject::TrackingNode
Engine/source/util/scopeTracker.h
TrackingNodes are used to track object bounds along individual world axes.
Public Attributes
Next node on axis tracking chain.
The object being tracked by this node or NULL.
Previous node on axis tracking chain.
Public Functions
getNext()
Return the object to which this tracking node belongs.
getPrev()
bool
isMax()
Return true if this is the right/upper bound node of an object.
bool
isMin()
Return true if this is left/lower bound node of an object.
bool
Return true if this is the reference center tracking node.
setNext(TrackingNode * node)
setPosition(F32 value)
setPrev(TrackingNode * node)
Detailed Description
TrackingNodes are used to track object bounds along individual world axes.
Public Types
EFlags
Enumerator
- FLAG_Min = BIT( 0 )
- FLAG_Max = BIT( 1 )
- FLAG_Reference = BIT( 2 )
typedef void Parent
Public Attributes
BitSet32 mFlags
TrackingNode * mNext
Next node on axis tracking chain.
ScopeTrackerObject * mObject
The object being tracked by this node or NULL.
TrackingNode * mOpposite
F32 mPosition
Distance along axis.
TrackingNode * mPrev
Previous node on axis tracking chain.
Public Functions
TrackingNode()
getNext()
getObject()
Return the object to which this tracking node belongs.
getOpposite()
getPosition()
getPrev()
isMax()
Return true if this is the right/upper bound node of an object.
isMin()
Return true if this is left/lower bound node of an object.
isReference()
Return true if this is the reference center tracking node.
There will only ever be one such node on each tracking list.
setNext(TrackingNode * node)
setPosition(F32 value)
setPrev(TrackingNode * node)