![]() |
PeriDyno 0.8.2
|
Classes | |
struct | NewVertex |
Public Types | |
enum | VertexDataMapping { BY_POLYGON_VERTEX , BY_POLYGON , BY_VERTEX } |
![]() | |
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 Member Functions | |
GeometryImpl (const Scene &_scene, const IElement &_element) | |
Type | getType () const override |
int | getVertexCount () const override |
const int * | getFaceIndices () const override |
int | getIndexCount () const override |
const Vec3 * | getVertices () const override |
const Vec3 * | getNormals () const override |
const Vec2 * | getUVs (int index=0) const override |
const Vec4 * | getColors () const override |
const Vec3 * | getTangents () const override |
const Skin * | getSkin () const override |
const BlendShape * | getBlendShape () const override |
const int * | getMaterials () const override |
![]() | |
Geometry (const Scene &_scene, const IElement &_element) | |
virtual const Vec3 * | getVertices () const =0 |
virtual int | getVertexCount () const =0 |
virtual const int * | getFaceIndices () const =0 |
virtual int | getIndexCount () const =0 |
virtual const Vec3 * | getNormals () const =0 |
virtual const Vec2 * | getUVs (int index=0) const =0 |
virtual const Vec4 * | getColors () const =0 |
virtual const Vec3 * | getTangents () const =0 |
virtual const Skin * | getSkin () const =0 |
virtual const BlendShape * | getBlendShape () const =0 |
virtual const int * | getMaterials () const =0 |
![]() | |
Object (const Scene &_scene, const IElement &_element) | |
virtual | ~Object () |
virtual Type | getType () const =0 |
const IScene & | getScene () const |
Object * | resolveObjectLink (int idx) const |
Object * | resolveObjectLink (Type type, const char *property, int idx) const |
Object * | resolveObjectLinkReverse (Type type) const |
Object * | getParent () 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 > | |
T * | resolveObjectLink (int idx) const |
Public Attributes | |
std::vector< Vec3 > | vertices |
std::vector< Vec3 > | normals |
std::vector< Vec2 > | uvs [s_uvs_max] |
std::vector< Vec4 > | colors |
std::vector< Vec3 > | tangents |
std::vector< int > | materials |
const Skin * | skin = nullptr |
const BlendShape * | blendShape = nullptr |
std::vector< int > | indices |
std::vector< int > | to_old_vertices |
std::vector< NewVertex > | to_new_vertices |
![]() | |
u64 | id |
char | name [128] |
const IElement & | element |
const Object * | node_attribute |
Additional Inherited Members | |
![]() | |
static const Type | s_type = Type::GEOMETRY |
static const int | s_uvs_max = 4 |
![]() | |
bool | is_node |
const Scene & | scene |
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Object.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
|
inlineoverridevirtual |
Implements ofbx::Geometry.
const BlendShape* ofbx::GeometryImpl::blendShape = nullptr |
std::vector<NewVertex> ofbx::GeometryImpl::to_new_vertices |