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

Public Member Functions

 ShapeImpl (const Scene &_scene, const IElement &_element)
 
bool postprocess (GeometryImpl *geom, Allocator &allocator)
 
Type getType () const override
 
int getVertexCount () const override
 
const Vec3getVertices () const override
 
const Vec3getNormals () const override
 
- Public Member Functions inherited from ofbx::Shape
 Shape (const Scene &_scene, const IElement &_element)
 
virtual const Vec3getVertices () const =0
 
virtual int getVertexCount () const =0
 
virtual const Vec3getNormals () 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

std::vector< Vec3vertices
 
std::vector< Vec3normals
 
- 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::Shape
static const Type s_type = Type::SHAPE
 
- Protected Attributes inherited from ofbx::Object
bool is_node
 
const Scenescene
 

Detailed Description

Definition at line 1232 of file ofbx.cpp.

Constructor & Destructor Documentation

◆ ShapeImpl()

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

Definition at line 1237 of file ofbx.cpp.

Member Function Documentation

◆ getNormals()

const Vec3 * ofbx::ShapeImpl::getNormals ( ) const
inlineoverridevirtual

Implements ofbx::Shape.

Definition at line 1249 of file ofbx.cpp.

◆ getType()

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

Implements ofbx::Object.

Definition at line 1246 of file ofbx.cpp.

◆ getVertexCount()

int ofbx::ShapeImpl::getVertexCount ( ) const
inlineoverridevirtual

Implements ofbx::Shape.

Definition at line 1247 of file ofbx.cpp.

◆ getVertices()

const Vec3 * ofbx::ShapeImpl::getVertices ( ) const
inlineoverridevirtual

Implements ofbx::Shape.

Definition at line 1248 of file ofbx.cpp.

◆ postprocess()

bool ofbx::ShapeImpl::postprocess ( GeometryImpl geom,
Allocator allocator 
)

Definition at line 2757 of file ofbx.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ normals

std::vector<Vec3> ofbx::ShapeImpl::normals

Definition at line 1235 of file ofbx.cpp.

◆ vertices

std::vector<Vec3> ofbx::ShapeImpl::vertices

Definition at line 1234 of file ofbx.cpp.


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