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

Public Member Functions

 MeshImpl (const Scene &_scene, const IElement &_element)
 
Matrix getGeometricMatrix () const override
 
Type getType () const override
 
const PosegetPose () const override
 
const GeometrygetGeometry () const override
 
const MaterialgetMaterial (int index) const override
 
int getMaterialCount () const override
 
- Public Member Functions inherited from ofbx::Mesh
 Mesh (const Scene &_scene, const IElement &_element)
 
virtual const PosegetPose () const =0
 
virtual const GeometrygetGeometry () const =0
 
virtual Matrix getGeometricMatrix () const =0
 
virtual const MaterialgetMaterial (int idx) const =0
 
virtual int getMaterialCount () 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

const Posepose = nullptr
 
const Geometrygeometry = nullptr
 
std::vector< const Material * > materials
 
- 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::Mesh
static const Type s_type = Type::MESH
 
- Protected Attributes inherited from ofbx::Object
bool is_node
 
const Scenescene
 

Detailed Description

Definition at line 1035 of file ofbx.cpp.

Constructor & Destructor Documentation

◆ MeshImpl()

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

Definition at line 1037 of file ofbx.cpp.

Member Function Documentation

◆ getGeometricMatrix()

Matrix ofbx::MeshImpl::getGeometricMatrix ( ) const
inlineoverridevirtual

Implements ofbx::Mesh.

Definition at line 1044 of file ofbx.cpp.

Here is the call graph for this function:

◆ getGeometry()

const Geometry * ofbx::MeshImpl::getGeometry ( ) const
inlineoverridevirtual

Implements ofbx::Mesh.

Definition at line 1065 of file ofbx.cpp.

◆ getMaterial()

const Material * ofbx::MeshImpl::getMaterial ( int  index) const
inlineoverridevirtual

Implements ofbx::Mesh.

Definition at line 1066 of file ofbx.cpp.

◆ getMaterialCount()

int ofbx::MeshImpl::getMaterialCount ( ) const
inlineoverridevirtual

Implements ofbx::Mesh.

Definition at line 1067 of file ofbx.cpp.

◆ getPose()

const Pose * ofbx::MeshImpl::getPose ( ) const
inlineoverridevirtual

Implements ofbx::Mesh.

Definition at line 1064 of file ofbx.cpp.

◆ getType()

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

Implements ofbx::Object.

Definition at line 1061 of file ofbx.cpp.

Member Data Documentation

◆ geometry

const Geometry* ofbx::MeshImpl::geometry = nullptr

Definition at line 1071 of file ofbx.cpp.

◆ materials

std::vector<const Material*> ofbx::MeshImpl::materials

Definition at line 1072 of file ofbx.cpp.

◆ pose

const Pose* ofbx::MeshImpl::pose = nullptr

Definition at line 1070 of file ofbx.cpp.


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