PeriDyno 0.8.2
Public Member Functions | Static Public Attributes | List of all members
ofbx::Cluster Struct Referenceabstract

#include <ofbx.h>

Inheritance diagram for ofbx::Cluster:
Inheritance graph
[legend]
Collaboration diagram for ofbx::Cluster:
Collaboration graph
[legend]

Public Member Functions

 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
 

Static Public Attributes

static const Type s_type = Type::CLUSTER
 

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
}
 
- Public Attributes inherited from ofbx::Object
u64 id
 
char name [128]
 
const IElementelement
 
const Objectnode_attribute
 
- Protected Attributes inherited from ofbx::Object
bool is_node
 
const Scenescene
 

Detailed Description

Definition at line 286 of file ofbx.h.

Constructor & Destructor Documentation

◆ Cluster()

ofbx::Cluster::Cluster ( const Scene _scene,
const IElement _element 
)

Definition at line 1253 of file ofbx.cpp.

Member Function Documentation

◆ getIndices()

virtual const int * ofbx::Cluster::getIndices ( ) const
pure virtual

Implemented in ofbx::ClusterImpl.

◆ getIndicesCount()

virtual int ofbx::Cluster::getIndicesCount ( ) const
pure virtual

Implemented in ofbx::ClusterImpl.

◆ getLink()

virtual const Object * ofbx::Cluster::getLink ( ) const
pure virtual

Implemented in ofbx::ClusterImpl.

◆ getTransformLinkMatrix()

virtual Matrix ofbx::Cluster::getTransformLinkMatrix ( ) const
pure virtual

Implemented in ofbx::ClusterImpl.

◆ getTransformMatrix()

virtual Matrix ofbx::Cluster::getTransformMatrix ( ) const
pure virtual

Implemented in ofbx::ClusterImpl.

◆ getWeights()

virtual const double * ofbx::Cluster::getWeights ( ) const
pure virtual

Implemented in ofbx::ClusterImpl.

◆ getWeightsCount()

virtual int ofbx::Cluster::getWeightsCount ( ) const
pure virtual

Implemented in ofbx::ClusterImpl.

Member Data Documentation

◆ s_type

const Type ofbx::Cluster::s_type = Type::CLUSTER
static

Definition at line 288 of file ofbx.h.


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