TDME2 1.9.121
Public Member Functions | Private Attributes | List of all members
Joint Class Referencefinal

Joint / Bone. More...

#include <tdme/engine/model/Joint.h>

Collaboration diagram for Joint:
Collaboration graph

Public Member Functions

 Joint ()
 Public constructor. More...
 
 Joint (const string &nodeId)
 Public constructor. More...
 
const string & getNodeId () const
 Associated node or bone id. More...
 
const Matrix4x4getBindMatrix () const
 Bind matrix. More...
 
void setBindMatrix (const Matrix4x4 &bindMatrix)
 Bind matrix. More...
 

Private Attributes

string nodeId
 
Matrix4x4 bindMatrix
 

Detailed Description

Joint / Bone.

Author
andreas.drewke

Definition at line 18 of file Joint.h.

Constructor & Destructor Documentation

◆ Joint() [1/2]

Joint ( )

Public constructor.

Definition at line 9 of file Joint.cpp.

◆ Joint() [2/2]

Joint ( const string &  nodeId)

Public constructor.

Parameters
nodeIdnode id

Definition at line 15 of file Joint.cpp.

Member Function Documentation

◆ getBindMatrix()

const Matrix4x4 & getBindMatrix ( ) const
inline

Bind matrix.

Returns
matrix

Definition at line 47 of file Joint.h.

◆ getNodeId()

const string & getNodeId ( ) const
inline

Associated node or bone id.

Returns
node id

Definition at line 39 of file Joint.h.

◆ setBindMatrix()

void setBindMatrix ( const Matrix4x4 bindMatrix)
inline

Bind matrix.

Returns
matrix

Definition at line 55 of file Joint.h.

Member Data Documentation

◆ bindMatrix

Matrix4x4 bindMatrix
private

Definition at line 22 of file Joint.h.

◆ nodeId

string nodeId
private

Definition at line 21 of file Joint.h.


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