nw::gfx::TransformNode Class

Syntax

class TransformNode : public nw::gfx::SceneNode

Description

Class that represents scene nodes that contain transformation information.

Classes

nw::gfx::TransformNode::DynamicBuilder Class for building transform nodes dynamically.

Structures

nw::gfx::TransformNode::Description Content to configure.

Enumerated Types

TraversalResults Definition of the bit flag indicating the traversal results.(Derived from SceneNode.

typedef Definitions

CalculateMatrixSignal Definition of a callback signal that is called during matrix calculation.
CalculateMatrixSlot Definition of a callback slot that is called during matrix calculation.
UpdateSignal Definition of a callback signal that is called during updates.(Derived from SceneNode.
UpdateSlot Definition of a callback slot that is called during updates.(Derived from SceneNode.

Member Constants

S DEFAULT_MAX_CHILDREN Maximum number of children when a fixed amount of memory is used.(Derived from SceneObject.
S DEFAULT_MAX_CALLBACKS Maximum number of callbacks when a fixed amount of memory is used.(Derived from SceneObject.
S MAX_NAME_LENGTH Limit on names of scene objects.(Derived from SceneObject.

Member Variables

NW_UT_RUNTIME_TYPEINFO
protected m_Children Child node.(Derived from SceneNode.
protected m_AnimBinding Animation binding.(Derived from SceneNode.

Member Functions

Create/Destroy
S Create Creates a transform node from a resource.
DestroyBranch Destroys all nodes on the current branch, including the current node.(Derived from SceneNode.
Destroy Destroys an object.(Derived from GfxObject.
Resources
GetResTransformNode Gets the transform node resource.
GetResSceneNode Gets the scene node resource.(Derived from SceneNode.
GetResSceneObject Gets the scene object resource.(Derived from SceneObject.
GetName Gets the name from the resource.(Derived from SceneObject.
Transform
Transform Gets the transformation info.
WorldMatrix Gets the world matrix.
WorldTransform Gets the detailed transformation info after WorldMatrix calculation.
InverseWorldMatrix Gets the inverse matrix of the world matrix. Uses a cache the second time it is called and thereafter.
InvalidateInverseWorldMatrix Invalidates the cache used for the inverse matrix of the world matrix. Call this when updating the world matrix.)
V UpdateDirection Updates the direction information.
V UpdateTransform Updates conversion information.
Scene Tree
V Accept Accepts visitors.
V TrackbackWorldMatrix Tracks back to the parent node and gets the world matrix.
V TrackbackWorldTransform Tracks back to the parent node and gets the world transform.
V TrackbackLocalTransform Tracks back to the parent node and gets the local transform.
NW_DEPRECATED_FUNCTION Inherits transform conversion information from the parent node.
V InheritTraversalResults Inherits transform conversion information from the parent node.
AttachChild Attaches a child.(Derived from SceneNode.
DetachChild Removes a child.(Derived from SceneNode.
GetChildBegin Gets the beginning of a child.(Derived from SceneNode.
GetChildEnd Gets the end of a child.(Derived from SceneNode.
DetachAllChildren Removes all children.(Derived from SceneNode.
Callbacks
PostCalculateWorldMatrixSignal Gets the signal after world matrix calculation.
PreUpdateSignal Gets the signal before the scene node is updated.(Derived from SceneNode.
Animation
GetAnimBinding Gets the animation binding.(Derived from SceneNode.
SetAnimBinding Sets the animation binding.(Derived from SceneNode.
UpdateFrame Updates the frames for all configured animation objects.(Derived from SceneNode.
Traverse
GetTraversalResults Gets the results of a traversal.(Derived from SceneNode.
SetTraversalResults Sets the results of a traversal.(Derived from SceneNode.
IsEnabledResults Gets a value indicating whether a given traversal result is enabled.(Derived from SceneNode.
EnableTraversalResults Enables the results of a traversal.(Derived from SceneNode.
DisableTraversalResults Disables the results of a traversal.(Derived from SceneNode.
ResetTraversalResults Copies the result of traversal from a node.(Derived from SceneNode.
CopyTraversalResults Copies the result of traversal from a node.(Derived from SceneNode.
SetBranchVisible Sets the flag used to render below the node.(Derived from SceneNode.
IsBranchVisible Gets the flag used to render below the node.(Derived from SceneNode.
Constructors and Destructors
protected TransformNode Constructor.
protected V ~TransformNode Destructor.
protected V Initialize Allocates memory for and initialized members.
Other
protected CalcInheritingDiretion Calculates the direction in which conversion information for parent nodes is inherited.
protected IsCircularReference Returns true if there is a circular reference.(Derived from SceneNode.
protected AcceptChildren Makes all nodes accept visitors.(Derived from SceneNode.

Class Hierarchy

nw::gfx::GfxObject
  nw::gfx::SceneObject
    nw::gfx::SceneNode
      nw::gfx::TransformNode


CONFIDENTIAL