Base class for all track object presentation classes using a scene node as presentation.
More...
#include <track_object_presentation.hpp>
|
| TrackObjectPresentationSceneNode (const XMLNode &xml_node) |
| Constructor based on data from xml. More...
|
|
| TrackObjectPresentationSceneNode (const core::vector3df &xyz, const core::vector3df &hpr, const core::vector3df &scale, scene::ISceneNode *node=NULL) |
| Constructor based on a transform. More...
|
|
virtual const core::vector3df & | getPosition () const OVERRIDE |
| Returns the position of this TrackObjectPresentation. More...
|
|
virtual const core::vector3df | getAbsolutePosition () const OVERRIDE |
| Returns a copy of the initial position. More...
|
|
virtual const core::vector3df | getAbsoluteCenterPosition () const OVERRIDE |
|
virtual const core::vector3df & | getRotation () const OVERRIDE |
| Returns the initial rotation. More...
|
|
virtual const core::vector3df & | getScale () const OVERRIDE |
| Returns the initial scale. More...
|
|
virtual void | move (const core::vector3df &xyz, const core::vector3df &hpr, const core::vector3df &scale, bool isAbsoluteCoord) OVERRIDE |
|
virtual void | setEnable (bool enabled) OVERRIDE |
|
virtual void | reset () OVERRIDE |
|
scene::ISceneNode * | getNode () |
| Returns a pointer to the scene node. More...
|
|
const scene::ISceneNode * | getNode () const |
| Returns a pointer to the scene node, const version. More...
|
|
bool | isAlwaysHidden () const |
|
| TrackObjectPresentation (const XMLNode &xml_node) |
|
| TrackObjectPresentation (const core::vector3df &xyz, const core::vector3df &hpr=core::vector3df(0, 0, 0), const core::vector3df &scale=core::vector3df(0, 0, 0)) |
|
virtual void | updateGraphics (float dt) |
|
virtual void | update (float dt) |
|
Base class for all track object presentation classes using a scene node as presentation.
◆ TrackObjectPresentationSceneNode() [1/2]
TrackObjectPresentationSceneNode::TrackObjectPresentationSceneNode |
( |
const XMLNode & |
xml_node | ) |
|
|
inline |
Constructor based on data from xml.
◆ TrackObjectPresentationSceneNode() [2/2]
TrackObjectPresentationSceneNode::TrackObjectPresentationSceneNode |
( |
const core::vector3df & |
xyz, |
|
|
const core::vector3df & |
hpr, |
|
|
const core::vector3df & |
scale, |
|
|
scene::ISceneNode * |
node = NULL |
|
) |
| |
|
inline |
Constructor based on a transform.
◆ getAbsolutePosition()
const core::vector3df TrackObjectPresentationSceneNode::getAbsolutePosition |
( |
| ) |
const |
|
virtual |
Returns a copy of the initial position.
Note this function does not return a const reference, since some classes overwrite it this way.
Reimplemented from TrackObjectPresentation.
◆ getNode() [1/2]
scene::ISceneNode* TrackObjectPresentationSceneNode::getNode |
( |
| ) |
|
|
inline |
Returns a pointer to the scene node.
◆ getNode() [2/2]
const scene::ISceneNode* TrackObjectPresentationSceneNode::getNode |
( |
| ) |
const |
|
inline |
Returns a pointer to the scene node, const version.
◆ getPosition()
const core::vector3df & TrackObjectPresentationSceneNode::getPosition |
( |
| ) |
const |
|
virtual |
◆ getRotation()
const core::vector3df & TrackObjectPresentationSceneNode::getRotation |
( |
| ) |
const |
|
virtual |
◆ getScale()
const core::vector3df & TrackObjectPresentationSceneNode::getScale |
( |
| ) |
const |
|
virtual |
◆ m_node
scene::ISceneNode* TrackObjectPresentationSceneNode::m_node |
|
protected |
A pointer to the scene node of this object.
The documentation for this class was generated from the following files: