#include <OgreOctreeNode.h>
Inheritance diagram for Ogre::OctreeNode:
Public Types | |
typedef HashMap< String, MovableObject * > | ObjectMap |
typedef MapIterator< ObjectMap > | ObjectIterator |
typedef ConstMapIterator< ObjectMap > | ConstObjectIterator |
typedef HashMap< String, Node * > | ChildNodeMap |
typedef MapIterator< ChildNodeMap > | ChildNodeIterator |
typedef ConstMapIterator< ChildNodeMap > | ConstChildNodeIterator |
enum | TransformSpace { TS_LOCAL, TS_PARENT, TS_WORLD } |
Enumeration denoting the spaces which a transform can be relative to. More... | |
Public Member Functions | |
OctreeNode (SceneManager *creator) | |
Standard constructor. | |
OctreeNode (SceneManager *creator, const String &name) | |
Standard constructor. | |
~OctreeNode () | |
Standard destructor. | |
Node * | removeChild (unsigned short index) |
Overridden from Node to remove any reference to octants. | |
Node * | removeChild (const String &name) |
Overridden from Node to remove any reference to octants. | |
Node * | removeChild (Node *child) |
Overridden from Node to remove any reference to octants. | |
Octree * | getOctant () |
Returns the Octree in which this OctreeNode resides. | |
void | setOctant (Octree *o) |
Sets the Octree in which this OctreeNode resides. | |
bool | _isIn (AxisAlignedBox &box) |
Determines if the center of this node is within the given box. | |
virtual void | _addToRenderQueue (Camera *cam, RenderQueue *q, bool onlyShadowCasters) |
Adds all the attached scenenodes to the render queue. | |
virtual void | getRenderOperation (RenderOperation &op) |
Sets up the LegacyRenderOperation for rendering this scene node as geometry. | |
AxisAlignedBox & | _getLocalAABB () |
Returns the local bounding box of this OctreeNode. | |
virtual void | attachObject (MovableObject *obj) |
Adds an instance of a scene object to this node. | |
virtual unsigned short | numAttachedObjects (void) const |
Reports the number of objects attached to this node. | |
virtual MovableObject * | getAttachedObject (unsigned short index) |
Retrieves a pointer to an attached object. | |
virtual MovableObject * | getAttachedObject (const String &name) |
Retrieves a pointer to an attached object. | |
virtual MovableObject * | detachObject (unsigned short index) |
Detaches the indexed object from this scene node. | |
virtual void | detachObject (MovableObject *obj) |
Detaches an object by pointer. | |
virtual MovableObject * | detachObject (const String &name) |
Detaches the named object from this node and returns a pointer to it. | |
virtual void | detachAllObjects (void) |
Detaches all objects attached to this node. | |
virtual bool | isInSceneGraph (void) const |
Determines whether this node is in the scene graph, ie whether it's ulitimate ancestor is the root scene node. | |
virtual void | _notifyRootNode (void) |
Notifies this SceneNode that it is the root scene node. | |
virtual void | _update (bool updateChildren, bool parentHasChanged) |
Internal method to update the Node. | |
virtual void | _findVisibleObjects (Camera *cam, RenderQueue *queue, bool includeChildren=true, bool displayNodes=false, bool onlyShadowCasters=false) |
Internal method which locates any visible objects attached to this node and adds them to the passed in queue. | |
virtual AxisAlignedBox | _getWorldAABB (void) const |
Gets the axis-aligned bounding box of this node (and hence all subnodes). | |
virtual ObjectIterator | getAttachedObjectIterator (void) |
Retrieves an iterator which can be used to efficiently step through the objects attached to this node. | |
virtual ConstObjectIterator | getAttachedObjectIterator (void) const |
Retrieves an iterator which can be used to efficiently step through the objects attached to this node. | |
SceneManager * | getCreator (void) const |
Gets the creator of this scene node. | |
virtual void | removeAndDestroyChild (const String &name) |
This method removes and destroys the named child and all of its children. | |
virtual void | removeAndDestroyChild (unsigned short index) |
This method removes and destroys the child and all of its children. | |
virtual void | removeAndDestroyAllChildren (void) |
Removes and destroys all children of this node. | |
virtual void | showBoundingBox (bool bShow) |
Allows the showing of the node's bounding box. | |
virtual void | _addBoundingBoxToQueue (RenderQueue *queue) |
Add the bounding box to the rendering queue. | |
virtual bool | getShowBoundingBox () const |
This allows scene managers to determine if the node's bounding box should be added to the rendering queue. | |
virtual SceneNode * | createChildSceneNode (const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY) |
Creates an unnamed new SceneNode as a child of this node. | |
virtual SceneNode * | createChildSceneNode (const String &name, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY) |
Creates a new named SceneNode as a child of this node. | |
const LightList & | findLights (Real radius) const |
Allows retrieval of the nearest lights to the centre of this SceneNode. | |
void | setFixedYawAxis (bool useFixed, const Vector3 &fixedAxis=Vector3::UNIT_Y) |
Tells the node whether to yaw around it's own local Y axis or a fixed axis of choice. | |
virtual void | yaw (const Radian &angle, TransformSpace relativeTo=TS_LOCAL) |
Rotate the node around the Y-axis. | |
void | setDirection (Real x, Real y, Real z, TransformSpace relativeTo=TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z) |
Sets the node's direction vector ie it's local -z. | |
void | setDirection (const Vector3 &vec, TransformSpace relativeTo=TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z) |
Sets the node's direction vector ie it's local -z. | |
void | lookAt (const Vector3 &targetPoint, TransformSpace relativeTo, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z) |
Points the local -Z direction of this node at a point in space. | |
void | setAutoTracking (bool enabled, SceneNode *target=0, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z, const Vector3 &offset=Vector3::ZERO) |
Enables / disables automatic tracking of another SceneNode. | |
SceneNode * | getAutoTrackTarget (void) |
Get the auto tracking target for this node, if any. | |
const Vector3 & | getAutoTrackOffset (void) |
Get the auto tracking offset for this node, if the node is auto tracking. | |
const Vector3 & | getAutoTrackLocalDirection (void) |
Get the auto tracking local direction for this node, if it is auto tracking. | |
void | _autoTrack (void) |
Internal method used by OGRE to update auto-tracking cameras. | |
SceneNode * | getParentSceneNode (void) const |
Gets the parent of this SceneNode. | |
void | setVisible (bool visible, bool cascade=true) |
Makes all objects attached to this node become visible / invisble. | |
void | flipVisibility (bool cascade=true) |
Inverts the visibility of all objects attached to this node. | |
const String & | getName (void) const |
Returns the name of the node. | |
virtual Node * | getParent (void) const |
Gets this node's parent (NULL if this is the root). | |
virtual const Quaternion & | getOrientation () const |
Returns a quaternion representing the nodes orientation. | |
virtual void | setOrientation (const Quaternion &q) |
Sets the orientation of this node via a quaternion. | |
virtual void | setOrientation (Real w, Real x, Real y, Real z) |
Sets the orientation of this node via quaternion parameters. | |
virtual void | resetOrientation (void) |
Resets the nodes orientation (local axes as world axes, no rotation). | |
virtual void | setPosition (const Vector3 &pos) |
Sets the position of the node relative to it's parent. | |
virtual void | setPosition (Real x, Real y, Real z) |
Sets the position of the node relative to it's parent. | |
virtual const Vector3 & | getPosition (void) const |
Gets the position of the node relative to it's parent. | |
virtual void | setScale (const Vector3 &scale) |
Sets the scaling factor applied to this node. | |
virtual void | setScale (Real x, Real y, Real z) |
Sets the scaling factor applied to this node. | |
virtual const Vector3 & | getScale (void) const |
Gets the scaling factor of this node. | |
virtual void | setInheritOrientation (bool inherit) |
Tells the node whether it should inherit orientation from it's parent node. | |
virtual bool | getInheritOrientation (void) const |
Returns true if this node is affected by orientation applied to the parent node. | |
virtual void | setInheritScale (bool inherit) |
Tells the node whether it should inherit scaling factors from it's parent node. | |
virtual bool | getInheritScale (void) const |
Returns true if this node is affected by scaling factors applied to the parent node. | |
virtual void | scale (const Vector3 &scale) |
Scales the node, combining it's current scale with the passed in scaling factor. | |
virtual void | scale (Real x, Real y, Real z) |
Scales the node, combining it's current scale with the passed in scaling factor. | |
virtual void | translate (const Vector3 &d, TransformSpace relativeTo=TS_PARENT) |
Moves the node along the cartesian axes. | |
virtual void | translate (Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT) |
Moves the node along the cartesian axes. | |
virtual void | translate (const Matrix3 &axes, const Vector3 &move, TransformSpace relativeTo=TS_PARENT) |
Moves the node along arbitrary axes. | |
virtual void | translate (const Matrix3 &axes, Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT) |
Moves the node along arbitrary axes. | |
virtual void | roll (const Radian &angle, TransformSpace relativeTo=TS_LOCAL) |
Rotate the node around the Z-axis. | |
virtual void | pitch (const Radian &angle, TransformSpace relativeTo=TS_LOCAL) |
Rotate the node around the X-axis. | |
virtual void | rotate (const Vector3 &axis, const Radian &angle, TransformSpace relativeTo=TS_LOCAL) |
Rotate the node around an arbitrary axis. | |
virtual void | rotate (const Quaternion &q, TransformSpace relativeTo=TS_LOCAL) |
Rotate the node around an aritrary axis using a Quarternion. | |
virtual Matrix3 | getLocalAxes (void) const |
Gets a matrix whose columns are the local axes based on the nodes orientation relative to it's parent. | |
virtual Node * | createChild (const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY) |
Creates an unnamed new Node as a child of this node. | |
virtual Node * | createChild (const String &name, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY) |
Creates a new named Node as a child of this node. | |
virtual void | addChild (Node *child) |
Adds a (precreated) child scene node to this node. | |
virtual unsigned short | numChildren (void) const |
Reports the number of child nodes under this one. | |
virtual Node * | getChild (unsigned short index) const |
Gets a pointer to a child node. | |
virtual Node * | getChild (const String &name) const |
Gets a pointer to a named child node. | |
virtual ChildNodeIterator | getChildIterator (void) |
Retrieves an iterator for efficiently looping through all children of this node. | |
virtual ConstChildNodeIterator | getChildIterator (void) const |
Retrieves an iterator for efficiently looping through all children of this node. | |
virtual void | removeAllChildren (void) |
Removes all child Nodes attached to this node. | |
virtual const Quaternion & | _getDerivedOrientation (void) const |
Gets the orientation of the node as derived from all parents. | |
virtual const Vector3 & | _getDerivedPosition (void) const |
Gets the position of the node as derived from all parents. | |
virtual const Vector3 & | _getDerivedScale (void) const |
Gets the scaling factor of the node as derived from all parents. | |
virtual Matrix4 | _getFullTransform (void) const |
Gets the full transformation matrix for this node. | |
virtual void | setListener (Listener *listener) |
Sets a listener for this Node. | |
virtual Listener * | getListener (void) const |
Gets the current listener for this Node. | |
const MaterialPtr & | getMaterial (void) const |
Overridden from Renderable. | |
void | getWorldTransforms (Matrix4 *xform) const |
Overridden from Renderable. | |
const Quaternion & | getWorldOrientation (void) const |
| |
const Vector3 & | getWorldPosition (void) const |
| |
virtual void | setInitialState (void) |
Sets the current transform of this node to be the 'initial state' ie that position / orientation / scale to be used as a basis for delta values used in keyframe animation. | |
virtual void | resetToInitialState (void) |
Resets the position / orientation / scale of this node to it's initial state, see setInitialState for more info. | |
virtual const Vector3 & | getInitialPosition (void) const |
Gets the initial position of this node, see setInitialState for more info. | |
virtual const Quaternion & | getInitialOrientation (void) const |
Gets the initial orientation of this node, see setInitialState for more info. | |
virtual const Vector3 & | getInitialScale (void) const |
Gets the initial position of this node, see setInitialState for more info. | |
virtual void | _weightedTransform (Real weight, const Vector3 &translate, const Quaternion &rotate, const Vector3 &scale) |
Internal weighted transform method. | |
Real | getSquaredViewDepth (const Camera *cam) const |
Overridden, see Renderable. | |
virtual void | needUpdate (bool forceParentUpdate=false) |
To be called in the event of transform changes to this node that require it's recalculation. | |
virtual void | requestUpdate (Node *child, bool forceParentUpdate=false) |
Called by children to notify their parent that they need an update. | |
virtual void | cancelUpdate (Node *child) |
Called by children to notify their parent that they no longer need an update. | |
const LightList & | getLights (void) const |
| |
virtual Technique * | getTechnique (void) const |
Retrieves a pointer to the Material Technique this renderable object uses. | |
virtual unsigned short | getNumWorldTransforms (void) const |
Returns the number of world transform matrices this renderable requires. | |
virtual bool | useIdentityProjection (void) const |
Returns whether or not to use an 'identity' projection. | |
virtual bool | useIdentityView (void) const |
Returns whether or not to use an 'identity' projection. | |
virtual bool | getNormaliseNormals (void) const |
Returns whether or not this Renderable wishes the hardware to normalise normals. | |
virtual const PlaneList & | getClipPlanes () const |
virtual bool | getCastsShadows (void) const |
Method which reports whether this renderable would normally cast a shadow. | |
void | setCustomParameter (size_t index, const Vector4 &value) |
Sets a custom parameter for this Renderable, which may be used to drive calculations for this specific Renderable, like GPU program parameters. | |
const Vector4 & | getCustomParameter (size_t index) const |
Gets the custom value associated with this Renderable at the given index. | |
virtual void | _updateCustomGpuParameter (const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const |
Update a custom GpuProgramParameters constant which is derived from information only this Renderable knows. | |
virtual void | setPolygonModeOverrideable (bool override) |
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting. | |
virtual bool | getPolygonModeOverrideable (void) const |
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting. | |
Static Public Member Functions | |
void | queueNeedUpdate (Node *n) |
Queue a 'needUpdate' call to a node safely. | |
void | processQueuedUpdates (void) |
Process queued 'needUpdate' calls. | |
Protected Types | |
typedef std::set< Node * > | ChildUpdateSet |
typedef std::vector< Node * > | QueuedUpdates |
typedef std::map< size_t, Vector4 > | CustomParameterMap |
Protected Member Functions | |
void | _updateBounds (void) |
Internal method for updating the bounds for this OctreeNode. | |
void | _removeNodeAndChildren () |
Node * | createChildImpl (void) |
See Node. | |
Node * | createChildImpl (const String &name) |
See Node. | |
void | setParent (Node *parent) |
See Node. | |
void | setInSceneGraph (bool inGraph) |
Internal method for setting whether the node is in the scene graph. | |
virtual void | _updateFromParent (void) const |
Triggers the node to update it's combined transforms. | |
Protected Attributes | |
AxisAlignedBox | mLocalAABB |
local bounding box | |
Octree * | mOctant |
Octree this node is attached to. | |
Real | mCorners [24] |
preallocated corners for rendering | |
ObjectMap | mObjectsByName |
LightList | mLightList |
bool | mLightListDirty |
WireBoundingBox * | mWireBoundingBox |
Pointer to a Wire Bounding Box for this Node. | |
bool | mShowBoundingBox |
Flag that determines if the bounding box of the node should be displayed. | |
SceneManager * | mCreator |
SceneManager which created this node. | |
AxisAlignedBox | mWorldAABB |
World-Axis aligned bounding box, updated only through _update. | |
bool | mYawFixed |
Whether to yaw around a fixed axis. | |
Vector3 | mYawFixedAxis |
Fixed axis to yaw around. | |
SceneNode * | mAutoTrackTarget |
Auto tracking target. | |
Vector3 | mAutoTrackOffset |
Tracking offset for fine tuning. | |
Vector3 | mAutoTrackLocalDirection |
Local 'normal' direction vector. | |
bool | mIsInSceneGraph |
Is this node a current part of the scene graph? | |
Node * | mParent |
Pointer to parent node. | |
ChildNodeMap | mChildren |
Collection of pointers to direct children; hashmap for efficiency. | |
ChildUpdateSet | mChildrenToUpdate |
List of children which need updating, used if self is not out of date but children are. | |
bool | mNeedParentUpdate |
Flag to indicate own transform from parent is out of date. | |
bool | mNeedChildUpdate |
Flag indicating that all children need to be updated. | |
bool | mParentNotified |
Flag indicating that parent has been notified about update request. | |
String | mName |
Friendly name of this node, can be automatically generated if you don't care. | |
Quaternion | mOrientation |
Stores the orientation of the node relative to it's parent. | |
Vector3 | mPosition |
Stores the position/translation of the node relative to its parent. | |
Vector3 | mScale |
Stores the scaling factor applied to this node. | |
bool | mInheritOrientation |
Stores whether this node inherits orientation from it's parent. | |
bool | mInheritScale |
Stores whether this node inherits scale from it's parent. | |
MaterialPtr | mpMaterial |
Material pointer should this node be rendered. | |
Quaternion | mDerivedOrientation |
Cached combined orientation. | |
Vector3 | mDerivedPosition |
Cached combined position. | |
Vector3 | mDerivedScale |
Cached combined scale. | |
Vector3 | mInitialPosition |
The position to use as a base for keyframe animation. | |
Quaternion | mInitialOrientation |
The orientation to use as a base for keyframe animation. | |
Vector3 | mInitialScale |
The scale to use as a base for keyframe animation. | |
Real | mAccumAnimWeight |
Vector3 | mTransFromInitial |
Quaternion | mRotFromInitial |
Vector3 | mScaleFromInitial |
Matrix4 | mCachedTransform |
Cached derived transform as a 4x4 matrix. | |
bool | mCachedTransformOutOfDate |
Listener * | mListener |
Node listener - only one allowed (no list) for size & performance reasons. | |
CustomParameterMap | mCustomParameters |
bool | mPolygonModeOverrideable |
Static Protected Attributes | |
unsigned long | mColors [8] |
shared colors for rendering | |
unsigned short | mIndexes [24] |
shared indexes for rendering | |
unsigned long | msNextGeneratedNameExt |
Incremented count for next name extension. | |
QueuedUpdates | msQueuedUpdates |
const PlaneList | msDummyPlaneList |
Each node maintains it's own bounding box, rather than merging it with all the children.
Definition at line 50 of file OgreOctreeNode.h.
|
Definition at line 65 of file OgreNode.h. |
|
Definition at line 64 of file OgreNode.h. |
|
Definition at line 97 of file OgreNode.h. |
|
Definition at line 66 of file OgreNode.h. |
|
Definition at line 50 of file OgreSceneNode.h. |
|
Definition at line 247 of file OgreRenderable.h. |
|
Definition at line 49 of file OgreSceneNode.h. |
|
Definition at line 48 of file OgreSceneNode.h. |
|
Definition at line 198 of file OgreNode.h. |
|
Enumeration denoting the spaces which a transform can be relative to.
Definition at line 55 of file OgreNode.h. |
|
Standard constructor.
|
|
Standard constructor.
|
|
Standard destructor.
|
|
Add the bounding box to the rendering queue.
|
|
Adds all the attached scenenodes to the render queue.
|
|
Internal method used by OGRE to update auto-tracking cameras.
|
|
Internal method which locates any visible objects attached to this node and adds them to the passed in queue.
|
|
Gets the orientation of the node as derived from all parents.
|
|
Gets the position of the node as derived from all parents.
|
|
Gets the scaling factor of the node as derived from all parents.
|
|
Gets the full transformation matrix for this node.
|
|
Returns the local bounding box of this OctreeNode.
Definition at line 101 of file OgreOctreeNode.h. References mLocalAABB. |
|
Gets the axis-aligned bounding box of this node (and hence all subnodes).
|
|
Determines if the center of this node is within the given box.
|
|
Notifies this SceneNode that it is the root scene node.
Definition at line 155 of file OgreSceneNode.h. |
|
|
|
Internal method to update the Node.
Reimplemented from Ogre::Node. Reimplemented in Ogre::BspSceneNode. |
|
Internal method for updating the bounds for this OctreeNode.
Reimplemented from Ogre::SceneNode. |
|
Update a custom GpuProgramParameters constant which is derived from information only this Renderable knows.
Reimplemented in Ogre::SubEntity, and Ogre::TerrainRenderable. Definition at line 215 of file OgreRenderable.h. References Ogre::GpuProgramParameters::AutoConstantEntry::data, Ogre::GpuProgramParameters::AutoConstantEntry::index, and Ogre::GpuProgramParameters::setConstant(). |
|
Triggers the node to update it's combined transforms.
Reimplemented in Ogre::TagPoint. |
|
Internal weighted transform method.
|
|
Adds a (precreated) child scene node to this node. If it is attached to another node, it must be detached first.
|
|
Adds an instance of a scene object to this node.
|
|
Called by children to notify their parent that they no longer need an update.
|
|
Creates a new named Node as a child of this node.
|
|
Creates an unnamed new Node as a child of this node.
|
|
See Node.
Implements Ogre::Node. |
|
See Node.
Implements Ogre::Node. |
|
Creates a new named SceneNode as a child of this node.
|
|
Creates an unnamed new SceneNode as a child of this node.
|
|
Detaches all objects attached to this node.
Reimplemented in Ogre::BspSceneNode. |
|
Detaches the named object from this node and returns a pointer to it.
Reimplemented in Ogre::BspSceneNode. |
|
Detaches an object by pointer.
|
|
Detaches the indexed object from this scene node.
Reimplemented in Ogre::BspSceneNode. |
|
Allows retrieval of the nearest lights to the centre of this SceneNode.
|
|
Inverts the visibility of all objects attached to this node.
|
|
Retrieves a pointer to an attached object.
|
|
Retrieves a pointer to an attached object.
|
|
Retrieves an iterator which can be used to efficiently step through the objects attached to this node.
|
|
Retrieves an iterator which can be used to efficiently step through the objects attached to this node.
|
|
Get the auto tracking local direction for this node, if it is auto tracking.
Definition at line 399 of file OgreSceneNode.h. |
|
Get the auto tracking offset for this node, if the node is auto tracking.
Definition at line 397 of file OgreSceneNode.h. |
|
Get the auto tracking target for this node, if any.
Definition at line 395 of file OgreSceneNode.h. |
|
Method which reports whether this renderable would normally cast a shadow.
Reimplemented in Ogre::StaticGeometry::GeometryBucket, and Ogre::SubEntity. Definition at line 150 of file OgreRenderable.h. |
|
Gets a pointer to a named child node.
|
|
Gets a pointer to a child node.
|
|
Retrieves an iterator for efficiently looping through all children of this node.
|
|
Retrieves an iterator for efficiently looping through all children of this node.
|
|
Definition at line 142 of file OgreRenderable.h. References Ogre::PlaneList. |
|
Gets the creator of this scene node.
|
|
Gets the custom value associated with this Renderable at the given index.
Definition at line 176 of file OgreRenderable.h. References OGRE_EXCEPT. |
|
Returns true if this node is affected by orientation applied to the parent node.
|
|
Returns true if this node is affected by scaling factors applied to the parent node.
|
|
Gets the initial orientation of this node, see setInitialState for more info.
|
|
Gets the initial position of this node, see setInitialState for more info.
|
|
Gets the initial position of this node, see setInitialState for more info.
|
|
Implements Ogre::Renderable. Reimplemented in Ogre::TagPoint. |
|
Gets the current listener for this Node.
Definition at line 636 of file OgreNode.h. |
|
Gets a matrix whose columns are the local axes based on the nodes orientation relative to it's parent.
|
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Returns the name of the node.
|
|
Returns whether or not this Renderable wishes the hardware to normalise normals.
Reimplemented in Ogre::SubEntity. Definition at line 134 of file OgreRenderable.h. |
|
Returns the number of world transform matrices this renderable requires.
Reimplemented in Ogre::BorderRenderable, and Ogre::SubEntity. Definition at line 104 of file OgreRenderable.h. |
|
Returns the Octree in which this OctreeNode resides.
Definition at line 71 of file OgreOctreeNode.h. References mOctant. |
|
Returns a quaternion representing the nodes orientation.
|
|
Gets this node's parent (NULL if this is the root).
|
|
Gets the parent of this SceneNode.
|
|
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
Reimplemented in Ogre::BorderRenderable. Definition at line 239 of file OgreRenderable.h. |
|
Gets the position of the node relative to it's parent.
|
|
Sets up the LegacyRenderOperation for rendering this scene node as geometry.
Reimplemented from Ogre::Node. |
|
Gets the scaling factor of this node.
|
|
This allows scene managers to determine if the node's bounding box should be added to the rendering queue.
|
|
Overridden, see Renderable.
Implements Ogre::Renderable. |
|
Retrieves a pointer to the Material Technique this renderable object uses.
Reimplemented in Ogre::StaticGeometry::GeometryBucket, and Ogre::SubEntity. Definition at line 69 of file OgreRenderable.h. |
|
Implements Ogre::Renderable. |
|
Implements Ogre::Renderable. |
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Determines whether this node is in the scene graph, ie whether it's ulitimate ancestor is the root scene node.
Definition at line 149 of file OgreSceneNode.h. |
|
Points the local -Z direction of this node at a point in space.
|
|
To be called in the event of transform changes to this node that require it's recalculation.
Reimplemented in Ogre::Bone. |
|
Reports the number of objects attached to this node.
|
|
Reports the number of child nodes under this one.
|
|
Rotate the node around the X-axis.
|
|
Process queued 'needUpdate' calls.
|
|
Queue a 'needUpdate' call to a node safely. You can't call needUpdate() during the scene graph update, e.g. in response to a Node::Listener hook, because the graph is already being updated, and update flag changes cannot be made reliably in that context. Call this method if you need to queue a needUpdate call in this case. |
|
Removes all child Nodes attached to this node. Does not delete the nodes, just detaches them from this parent, potentially to be reattached elsewhere. |
|
Removes and destroys all children of this node.
|
|
This method removes and destroys the child and all of its children.
|
|
This method removes and destroys the named child and all of its children.
|
|
Overridden from Node to remove any reference to octants.
Reimplemented from Ogre::Node. |
|
Overridden from Node to remove any reference to octants.
Reimplemented from Ogre::Node. |
|
Overridden from Node to remove any reference to octants.
Reimplemented from Ogre::Node. |
|
Called by children to notify their parent that they need an update.
|
|
Resets the nodes orientation (local axes as world axes, no rotation).
|
|
Resets the position / orientation / scale of this node to it's initial state, see setInitialState for more info.
|
|
Rotate the node around the Z-axis.
|
|
Rotate the node around an aritrary axis using a Quarternion.
|
|
Rotate the node around an arbitrary axis.
|
|
Scales the node, combining it's current scale with the passed in scaling factor.
|
|
Scales the node, combining it's current scale with the passed in scaling factor.
|
|
Enables / disables automatic tracking of another SceneNode.
|
|
Sets a custom parameter for this Renderable, which may be used to drive calculations for this specific Renderable, like GPU program parameters.
Definition at line 167 of file OgreRenderable.h. |
|
Sets the node's direction vector ie it's local -z.
|
|
Sets the node's direction vector ie it's local -z.
|
|
Tells the node whether to yaw around it's own local Y axis or a fixed axis of choice.
|
|
Tells the node whether it should inherit orientation from it's parent node.
|
|
Tells the node whether it should inherit scaling factors from it's parent node.
|
|
Sets the current transform of this node to be the 'initial state' ie that position / orientation / scale to be used as a basis for delta values used in keyframe animation.
|
|
Internal method for setting whether the node is in the scene graph.
Reimplemented in Ogre::BspSceneNode. |
|
Sets a listener for this Node.
Definition at line 632 of file OgreNode.h. |
|
Sets the Octree in which this OctreeNode resides.
Definition at line 78 of file OgreOctreeNode.h. References mOctant. |
|
Sets the orientation of this node via quaternion parameters.
|
|
Sets the orientation of this node via a quaternion.
|
|
See Node.
Reimplemented from Ogre::Node. |
|
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
Definition at line 231 of file OgreRenderable.h. |
|
Sets the position of the node relative to it's parent.
|
|
Sets the position of the node relative to it's parent.
|
|
Sets the scaling factor applied to this node.
|
|
Sets the scaling factor applied to this node.
|
|
Makes all objects attached to this node become visible / invisble.
|
|
Allows the showing of the node's bounding box.
|
|
Moves the node along arbitrary axes.
|
|
Moves the node along arbitrary axes.
|
|
Moves the node along the cartesian axes.
|
|
Moves the node along the cartesian axes.
|
|
Returns whether or not to use an 'identity' projection.
Reimplemented in Ogre::BorderRenderable, Ogre::OverlayElement, and Ogre::Rectangle2D. Definition at line 114 of file OgreRenderable.h. |
|
Returns whether or not to use an 'identity' projection.
Reimplemented in Ogre::BorderRenderable, Ogre::OverlayElement, and Ogre::Rectangle2D. Definition at line 124 of file OgreRenderable.h. |
|
Rotate the node around the Y-axis.
Reimplemented from Ogre::Node. |
|
Definition at line 183 of file OgreNode.h. |
|
Local 'normal' direction vector.
Definition at line 92 of file OgreSceneNode.h. |
|
Tracking offset for fine tuning.
Definition at line 90 of file OgreSceneNode.h. |
|
Auto tracking target.
Definition at line 88 of file OgreSceneNode.h. |
|
Cached derived transform as a 4x4 matrix.
Definition at line 192 of file OgreNode.h. |
|
Definition at line 193 of file OgreNode.h. |
|
Collection of pointers to direct children; hashmap for efficiency.
Definition at line 95 of file OgreNode.h. |
|
List of children which need updating, used if self is not out of date but children are.
Definition at line 99 of file OgreNode.h. |
|
shared colors for rendering
Definition at line 130 of file OgreOctreeNode.h. |
|
preallocated corners for rendering
Definition at line 128 of file OgreOctreeNode.h. |
|
SceneManager which created this node.
Definition at line 63 of file OgreSceneNode.h. |
|
Definition at line 248 of file OgreRenderable.h. |
|
Cached combined orientation.
Definition at line 141 of file OgreNode.h. |
|
Cached combined position.
Definition at line 150 of file OgreNode.h. |
|
Cached combined scale.
Definition at line 159 of file OgreNode.h. |
|
shared indexes for rendering
Definition at line 132 of file OgreOctreeNode.h. |
|
Stores whether this node inherits orientation from it's parent.
Definition at line 123 of file OgreNode.h. |
|
Stores whether this node inherits scale from it's parent.
Definition at line 126 of file OgreNode.h. |
|
The orientation to use as a base for keyframe animation.
Definition at line 178 of file OgreNode.h. |
|
The position to use as a base for keyframe animation.
Definition at line 176 of file OgreNode.h. |
|
The scale to use as a base for keyframe animation.
Definition at line 180 of file OgreNode.h. |
|
Is this node a current part of the scene graph?
Definition at line 94 of file OgreSceneNode.h. |
|
Definition at line 54 of file OgreSceneNode.h. |
|
Definition at line 55 of file OgreSceneNode.h. |
|
Node listener - only one allowed (no list) for size & performance reasons.
Definition at line 196 of file OgreNode.h. |
|
local bounding box
Definition at line 122 of file OgreOctreeNode.h. Referenced by _getLocalAABB(). |
|
Friendly name of this node, can be automatically generated if you don't care.
Definition at line 108 of file OgreNode.h. |
|
Flag indicating that all children need to be updated.
Definition at line 103 of file OgreNode.h. |
|
Flag to indicate own transform from parent is out of date.
Definition at line 101 of file OgreNode.h. |
|
Definition at line 53 of file OgreSceneNode.h. |
|
Octree this node is attached to.
Definition at line 125 of file OgreOctreeNode.h. Referenced by getOctant(), and setOctant(). |
|
Stores the orientation of the node relative to it's parent.
Definition at line 114 of file OgreNode.h. |
|
Pointer to parent node.
Definition at line 93 of file OgreNode.h. |
|
Flag indicating that parent has been notified about update request.
Definition at line 105 of file OgreNode.h. |
|
Material pointer should this node be rendered.
Definition at line 129 of file OgreNode.h. |
|
Definition at line 249 of file OgreRenderable.h. |
|
Stores the position/translation of the node relative to its parent.
Definition at line 117 of file OgreNode.h. |
|
Definition at line 187 of file OgreNode.h. |
|
Stores the scaling factor applied to this node.
Definition at line 120 of file OgreNode.h. |
|
Definition at line 189 of file OgreNode.h. |
|
Definition at line 246 of file OgreRenderable.h. |
|
Flag that determines if the bounding box of the node should be displayed.
Definition at line 60 of file OgreSceneNode.h. |
|
Incremented count for next name extension.
Definition at line 111 of file OgreNode.h. |
|
Definition at line 199 of file OgreNode.h. |
|
Definition at line 185 of file OgreNode.h. |
|
Pointer to a Wire Bounding Box for this Node.
Definition at line 58 of file OgreSceneNode.h. |
|
World-Axis aligned bounding box, updated only through _update.
Definition at line 66 of file OgreSceneNode.h. |
|
Whether to yaw around a fixed axis.
Definition at line 83 of file OgreSceneNode.h. |
|
Fixed axis to yaw around.
Definition at line 85 of file OgreSceneNode.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:47:39 2006