Public Types | Public Member Functions | Public Attributes

xl7::direct3d::models::Joint Class Reference

#include <Joint.h>

List of all members.

Public Types

typedef std::vector< IndexChilds
typedef std::vector< Index >
::iterator 
ChildIterator

Public Member Functions

 Joint (void)
 Joint (const cl7::string_type &identifier)
 ~Joint (void)
 Joint (const Joint &rhs)
Jointoperator= (const Joint &rhs)
void swap (Joint &rhs)
const cl7::string_typeGetIdentifier () const
void SetIdentifier (const cl7::string_type &identifier)
Index GetOrderNumber () const
void SetOrderNumber (Index order_number)
const ml7::Vector3GetPosition () const
void SetPosition (const ml7::Vector3 &position)
Index GetParentIndex () const
void SetParentIndex (Index parent_index)
const ChildsGetChildIndices () const
ChildsGetChildIndices ()
void FixChilds ()

Public Attributes

friend ModelFile

Member Typedef Documentation

typedef std::vector<Index>::iterator xl7::direct3d::models::Joint::ChildIterator

Constructor & Destructor Documentation

xl7::direct3d::models::Joint::Joint ( void   ) 

Default constructor.

xl7::direct3d::models::Joint::Joint ( const cl7::string_type identifier  ) 

Explicit constructor.

xl7::direct3d::models::Joint::~Joint ( void   ) 

Destructor.

xl7::direct3d::models::Joint::Joint ( const Joint rhs  ) 

Copy constructor.


Member Function Documentation

void xl7::direct3d::models::Joint::FixChilds (  ) 

Fixes the child joints: Duplicates are eliminated.

const Childs* xl7::direct3d::models::Joint::GetChildIndices (  )  const [inline]

Returns the child joint indices having this joint as their parent.

Childs* xl7::direct3d::models::Joint::GetChildIndices (  )  [inline]

Returns the child joint indices having this joint as their parent.

const cl7::string_type& xl7::direct3d::models::Joint::GetIdentifier (  )  const [inline]

Returns the identifier name of this joint.

Index xl7::direct3d::models::Joint::GetOrderNumber (  )  const [inline]

Returns the order number of this joint.

Index xl7::direct3d::models::Joint::GetParentIndex (  )  const [inline]

Returns the index of the parent joint of this joint (or -1 if root).

const ml7::Vector3& xl7::direct3d::models::Joint::GetPosition (  )  const [inline]

Returns the original position of this joint (relative to its parent).

Joint & xl7::direct3d::models::Joint::operator= ( const Joint rhs  ) 

Copy assignment operator.

void xl7::direct3d::models::Joint::SetIdentifier ( const cl7::string_type identifier  )  [inline]

Sets the identifier name of this joint.

void xl7::direct3d::models::Joint::SetOrderNumber ( Index  order_number  )  [inline]

Sets the order number of this joint.

void xl7::direct3d::models::Joint::SetParentIndex ( Index  parent_index  )  [inline]

Sets the index of the parent joint of this joint (or -1 if root).

void xl7::direct3d::models::Joint::SetPosition ( const ml7::Vector3 position  )  [inline]

Sets the original position of this joint (relative to its parent).

void xl7::direct3d::models::Joint::swap ( Joint rhs  ) 

Swap operation.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines