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

Public Member Functions

 BlendShapeChannelImpl (const Scene &_scene, const IElement &_element)
 
double getDeformPercent () const override
 
int getShapeCount () const override
 
const ShapegetShape (int idx) const override
 
Type getType () const override
 
bool postprocess (Allocator &allocator)
 
- Public Member Functions inherited from ofbx::BlendShapeChannel
 BlendShapeChannel (const Scene &_scene, const IElement &_element)
 
virtual double getDeformPercent () const =0
 
virtual int getShapeCount () const =0
 
virtual const struct ShapegetShape (int idx) 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

BlendShapeblendShape = nullptr
 
double deformPercent = 0
 
std::vector< double > fullWeights
 
std::vector< Shape * > shapes
 
- 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::BlendShapeChannel
static const Type s_type = Type::BLEND_SHAPE_CHANNEL
 
- Protected Attributes inherited from ofbx::Object
bool is_node
 
const Scenescene
 

Detailed Description

Definition at line 1417 of file ofbx.cpp.

Constructor & Destructor Documentation

◆ BlendShapeChannelImpl()

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

Definition at line 1419 of file ofbx.cpp.

Member Function Documentation

◆ getDeformPercent()

double ofbx::BlendShapeChannelImpl::getDeformPercent ( ) const
inlineoverridevirtual

Implements ofbx::BlendShapeChannel.

Definition at line 1424 of file ofbx.cpp.

◆ getShape()

const Shape * ofbx::BlendShapeChannelImpl::getShape ( int  idx) const
inlineoverridevirtual

Implements ofbx::BlendShapeChannel.

Definition at line 1426 of file ofbx.cpp.

◆ getShapeCount()

int ofbx::BlendShapeChannelImpl::getShapeCount ( ) const
inlineoverridevirtual

Implements ofbx::BlendShapeChannel.

Definition at line 1425 of file ofbx.cpp.

◆ getType()

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

Implements ofbx::Object.

Definition at line 1428 of file ofbx.cpp.

◆ postprocess()

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

Definition at line 1430 of file ofbx.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ blendShape

BlendShape* ofbx::BlendShapeChannelImpl::blendShape = nullptr

Definition at line 1459 of file ofbx.cpp.

◆ deformPercent

double ofbx::BlendShapeChannelImpl::deformPercent = 0

Definition at line 1460 of file ofbx.cpp.

◆ fullWeights

std::vector<double> ofbx::BlendShapeChannelImpl::fullWeights

Definition at line 1461 of file ofbx.cpp.

◆ shapes

std::vector<Shape*> ofbx::BlendShapeChannelImpl::shapes

Definition at line 1462 of file ofbx.cpp.


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