Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | Friends | List of all members
G3D::ArticulatedModel::Part Class Reference


The reference frame for a Mesh or Bone. More...

Public Member Functions

 ~Part ()
 
const Array< Part * > & childArray () const
 
void debugPrint () const
 debugPrintf all of the geometry for this part. More...
 
void intersectBox (shared_ptr< ArticulatedModel > am, const Box &box)
 
bool isRoot () const
 
Partparent () const
 nullptr if this is a root of the model. More...
 
void transformGeometry (shared_ptr< ArticulatedModel > am, const Matrix4 &xform)
 

Public Attributes

CoordinateFrame cframe
 Transformation from this object to the parent's frame in the rest pose. More...
 
CoordinateFrame inverseBindPoseTransform
 
String name
 
int uniqueID
 

Friends

class _internal::AssimpNodesToArticulatedModelParts
 
class ArticulatedModel
 

Detailed Description


The reference frame for a Mesh or Bone.

May be referenced by multiple Meshes/Bones

Constructor & Destructor Documentation

◆ ~Part()

G3D::ArticulatedModel::Part::~Part ( )

Member Function Documentation

◆ childArray()

const Array<Part*>& G3D::ArticulatedModel::Part::childArray ( ) const
inline

◆ debugPrint()

void G3D::ArticulatedModel::Part::debugPrint ( ) const

debugPrintf all of the geometry for this part.

◆ intersectBox()

void G3D::ArticulatedModel::Part::intersectBox ( shared_ptr< ArticulatedModel am,
const Box box 
)

◆ isRoot()

bool G3D::ArticulatedModel::Part::isRoot ( ) const
inline

◆ parent()

Part* G3D::ArticulatedModel::Part::parent ( ) const
inline

nullptr if this is a root of the model.

◆ transformGeometry()

void G3D::ArticulatedModel::Part::transformGeometry ( shared_ptr< ArticulatedModel am,
const Matrix4 xform 
)

Friends And Related Function Documentation

◆ _internal::AssimpNodesToArticulatedModelParts

friend class _internal::AssimpNodesToArticulatedModelParts
friend

◆ ArticulatedModel

friend class ArticulatedModel
friend

Member Data Documentation

◆ cframe

CoordinateFrame G3D::ArticulatedModel::Part::cframe

Transformation from this object to the parent's frame in the rest pose.

Also known as the "pivot".

◆ inverseBindPoseTransform

CoordinateFrame G3D::ArticulatedModel::Part::inverseBindPoseTransform

◆ name

String G3D::ArticulatedModel::Part::name

◆ uniqueID

int G3D::ArticulatedModel::Part::uniqueID

documentation generated on Wed Nov 24 2021 08:01:53 using doxygen 1.8.15