PeriDyno 0.8.2
Public Member Functions | Public Attributes | List of all members
ofbx::ClusterImpl Struct Reference
Inheritance diagram for ofbx::ClusterImpl:
Inheritance graph
[legend]
Collaboration diagram for ofbx::ClusterImpl:
Collaboration graph
[legend]

Public Member Functions

 ClusterImpl (const Scene &_scene, const IElement &_element)
 
const int * getIndices () const override
 
int getIndicesCount () const override
 
const double * getWeights () const override
 
int getWeightsCount () const override
 
Matrix getTransformMatrix () const override
 
Matrix getTransformLinkMatrix () const override
 
ObjectgetLink () const override
 
bool postprocess (Allocator &allocator)
 
Type getType () const override
 
- Public Member Functions inherited from ofbx::Cluster
 Cluster (const Scene &_scene, const IElement &_element)
 
virtual const int * getIndices () const =0
 
virtual int getIndicesCount () const =0
 
virtual const double * getWeights () const =0
 
virtual int getWeightsCount () const =0
 
virtual Matrix getTransformMatrix () const =0
 
virtual Matrix getTransformLinkMatrix () const =0
 
virtual const ObjectgetLink () const =0
 
- Public Member Functions inherited from ofbx::Object
 Object (const Scene &_scene, const IElement &_element)
 
virtual ~Object ()
 
virtual Type getType () const =0
 
const IScenegetScene () const
 
ObjectresolveObjectLink (int idx) const
 
ObjectresolveObjectLink (Type type, const char *property, int idx) const
 
ObjectresolveObjectLinkReverse (Type type) const
 
ObjectgetParent () const
 
RotationOrder getRotationOrder () const
 
Vec3 getRotationOffset () const
 
Vec3 getRotationPivot () const
 
Vec3 getPostRotation () const
 
Vec3 getScalingOffset () const
 
Vec3 getScalingPivot () const
 
Vec3 getPreRotation () const
 
Vec3 getLocalTranslation () const
 
Vec3 getLocalRotation () const
 
Vec3 getLocalScaling () const
 
Matrix getGlobalTransform () const
 
Matrix getLocalTransform () const
 
Matrix evalLocal (const Vec3 &translation, const Vec3 &rotation) const
 
Matrix evalLocal (const Vec3 &translation, const Vec3 &rotation, const Vec3 &scaling) const
 
bool isNode () const
 
template<typename T >
TresolveObjectLink (int idx) const
 

Public Attributes

Objectlink = nullptr
 
Skinskin = nullptr
 
std::vector< int > indices
 
std::vector< double > weights
 
Matrix transform_matrix
 
Matrix transform_link_matrix
 
- Public Attributes inherited from ofbx::Object
u64 id
 
char name [128]
 
const IElementelement
 
const Objectnode_attribute
 

Additional Inherited Members

- Public Types inherited from ofbx::Object
enum class  Type {
  ROOT , GEOMETRY , SHAPE , MATERIAL ,
  MESH , TEXTURE , LIMB_NODE , NULL_NODE ,
  NODE_ATTRIBUTE , CLUSTER , SKIN , BLEND_SHAPE ,
  BLEND_SHAPE_CHANNEL , ANIMATION_STACK , ANIMATION_LAYER , ANIMATION_CURVE ,
  ANIMATION_CURVE_NODE , POSE
}
 
- Static Public Attributes inherited from ofbx::Cluster
static const Type s_type = Type::CLUSTER
 
- Protected Attributes inherited from ofbx::Object
bool is_node
 
const Scenescene
 

Detailed Description

Definition at line 1259 of file ofbx.cpp.

Constructor & Destructor Documentation

◆ ClusterImpl()

ofbx::ClusterImpl::ClusterImpl ( const Scene _scene,
const IElement _element 
)
inline

Definition at line 1261 of file ofbx.cpp.

Member Function Documentation

◆ getIndices()

const int * ofbx::ClusterImpl::getIndices ( ) const
inlineoverridevirtual

Implements ofbx::Cluster.

Definition at line 1266 of file ofbx.cpp.

◆ getIndicesCount()

int ofbx::ClusterImpl::getIndicesCount ( ) const
inlineoverridevirtual

Implements ofbx::Cluster.

Definition at line 1267 of file ofbx.cpp.

◆ getLink()

Object * ofbx::ClusterImpl::getLink ( ) const
inlineoverridevirtual

Implements ofbx::Cluster.

Definition at line 1272 of file ofbx.cpp.

◆ getTransformLinkMatrix()

Matrix ofbx::ClusterImpl::getTransformLinkMatrix ( ) const
inlineoverridevirtual

Implements ofbx::Cluster.

Definition at line 1271 of file ofbx.cpp.

◆ getTransformMatrix()

Matrix ofbx::ClusterImpl::getTransformMatrix ( ) const
inlineoverridevirtual

Implements ofbx::Cluster.

Definition at line 1270 of file ofbx.cpp.

◆ getType()

Type ofbx::ClusterImpl::getType ( ) const
inlineoverridevirtual

Implements ofbx::Object.

Definition at line 1326 of file ofbx.cpp.

◆ getWeights()

const double * ofbx::ClusterImpl::getWeights ( ) const
inlineoverridevirtual

Implements ofbx::Cluster.

Definition at line 1268 of file ofbx.cpp.

◆ getWeightsCount()

int ofbx::ClusterImpl::getWeightsCount ( ) const
inlineoverridevirtual

Implements ofbx::Cluster.

Definition at line 1269 of file ofbx.cpp.

◆ postprocess()

bool ofbx::ClusterImpl::postprocess ( Allocator allocator)
inline

Definition at line 1275 of file ofbx.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ indices

std::vector<int> ofbx::ClusterImpl::indices

Definition at line 1322 of file ofbx.cpp.

◆ link

Object* ofbx::ClusterImpl::link = nullptr

Definition at line 1320 of file ofbx.cpp.

◆ skin

Skin* ofbx::ClusterImpl::skin = nullptr

Definition at line 1321 of file ofbx.cpp.

◆ transform_link_matrix

Matrix ofbx::ClusterImpl::transform_link_matrix

Definition at line 1325 of file ofbx.cpp.

◆ transform_matrix

Matrix ofbx::ClusterImpl::transform_matrix

Definition at line 1324 of file ofbx.cpp.

◆ weights

std::vector<double> ofbx::ClusterImpl::weights

Definition at line 1323 of file ofbx.cpp.


The documentation for this struct was generated from the following file: