xoreos  0.0.5
Public Member Functions | Protected Attributes | Friends | List of all members
Graphics::Aurora::AnimNode Class Reference

#include <animnode.h>

Collaboration diagram for Graphics::Aurora::AnimNode:
Collaboration graph
[legend]

Public Member Functions

 AnimNode (ModelNode *modelnode)
 
 ~AnimNode ()
 
const Common::UStringgetName () const
 Get the node's name. More...
 
ModelNodegetNodeData ()
 Get the node's model node. More...
 
AnimNodegetParent ()
 Get the node's parent. More...
 
const AnimNodegetParent () const
 Get the node's parent. More...
 
void setParent (AnimNode *parent)
 Set the node's parent. More...
 

Protected Attributes

AnimNode_parent
 The node's parent. More...
 
std::list< AnimNode * > _children
 The node's children. More...
 
Common::UString _name
 The node's name. More...
 
ModelNode_nodedata
 

Friends

class Animation
 

Detailed Description

Definition at line 41 of file animnode.h.

Constructor & Destructor Documentation

◆ AnimNode()

Graphics::Aurora::AnimNode::AnimNode ( ModelNode modelnode)

Definition at line 38 of file animnode.cpp.

References _name, _nodedata, and Graphics::Aurora::ModelNode::getName().

Here is the call graph for this function:

◆ ~AnimNode()

Graphics::Aurora::AnimNode::~AnimNode ( )

Definition at line 46 of file animnode.cpp.

Member Function Documentation

◆ getName()

const Common::UString & Graphics::Aurora::AnimNode::getName ( ) const

Get the node's name.

Definition at line 61 of file animnode.cpp.

References _name.

Referenced by Graphics::Aurora::Animation::addAnimNode().

Here is the caller graph for this function:

◆ getNodeData()

ModelNode * Graphics::Aurora::AnimNode::getNodeData ( )

Get the node's model node.

Definition at line 65 of file animnode.cpp.

References _nodedata.

◆ getParent() [1/2]

AnimNode * Graphics::Aurora::AnimNode::getParent ( )

Get the node's parent.

Definition at line 49 of file animnode.cpp.

References _parent.

◆ getParent() [2/2]

const AnimNode * Graphics::Aurora::AnimNode::getParent ( ) const

Get the node's parent.

Definition at line 53 of file animnode.cpp.

References _parent.

◆ setParent()

void Graphics::Aurora::AnimNode::setParent ( AnimNode parent)

Set the node's parent.

Definition at line 57 of file animnode.cpp.

References _parent.

Friends And Related Function Documentation

◆ Animation

friend class Animation
friend

Definition at line 71 of file animnode.h.

Member Data Documentation

◆ _children

std::list<AnimNode *> Graphics::Aurora::AnimNode::_children
protected

The node's children.

Definition at line 55 of file animnode.h.

◆ _name

Common::UString Graphics::Aurora::AnimNode::_name
protected

The node's name.

Definition at line 57 of file animnode.h.

Referenced by AnimNode(), and getName().

◆ _nodedata

ModelNode* Graphics::Aurora::AnimNode::_nodedata
protected

Definition at line 58 of file animnode.h.

Referenced by AnimNode(), and getNodeData().

◆ _parent

AnimNode* Graphics::Aurora::AnimNode::_parent
protected

The node's parent.

Definition at line 54 of file animnode.h.

Referenced by getParent(), and setParent().


The documentation for this class was generated from the following files: