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

Computes the world-space bounds of this model. More...

Inherits G3D::ArticulatedModel::PartCallback.

Public Member Functions

virtual void operator() (ArticulatedModel::Part *part, const CFrame &worldToPartFrame, shared_ptr< ArticulatedModel > m, const int treeDepth) override
 Override to implement processing of part. More...
 

Public Attributes

AABox bounds
 

Detailed Description

Computes the world-space bounds of this model.

Member Function Documentation

◆ operator()()

virtual void G3D::ArticulatedModel::BoundsCallback::operator() ( ArticulatedModel::Part part,
const CFrame worldToPartFrame,
shared_ptr< ArticulatedModel model,
const int  treeDepth 
)
overridevirtual

Override to implement processing of part.

Parameters
worldToPartFrameThe net transformation in this pose from world space to part's object space
treeDepthdepth in the hierarchy. 0 = a root

Implements G3D::ArticulatedModel::PartCallback.

Member Data Documentation

◆ bounds

AABox G3D::ArticulatedModel::BoundsCallback::bounds

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