PeriDyno 1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
dyno::ModelObject Class Reference

#include <HierarchicalModel.h>

Inheritance diagram for dyno::ModelObject:
Collaboration diagram for dyno::ModelObject:

Public Member Functions

 ModelObject ()
 
 ~ModelObject ()
 
bool operator== (const ModelObject &model)
 
Vec3f getFrameTranslation (Real time)
 
Vec3f getFrameRotation (Real time)
 
Vec3f getFrameScale (Real time)
 
- Public Member Functions inherited from dyno::Object
 Object ()
 
virtual ~Object ()
 
ObjectId objectId ()
 

Public Attributes

std::string name
 
Mat4f localTransform = Mat4f::identityMatrix()
 
Vec3f localTranslation = Vec3f(0)
 
Vec3f localRotation = Vec3f(0)
 
Vec3f localScale = Vec3f(1)
 
Vec3f preRotation = Vec3f(0)
 
Vec3f pivot = Vec3f(0)
 
std::vector< std::shared_ptr< ModelObject > > child
 
std::vector< std::shared_ptr< ModelObject > > parent
 
int id = -1
 
std::vector< Realm_Translation_Times [3]
 
std::vector< Realm_Translation_Values [3]
 
std::vector< Realm_Rotation_Times [3]
 
std::vector< Realm_Rotation_Values [3]
 
std::vector< Realm_Scale_Times [3]
 
std::vector< Realm_Scale_Values [3]
 

Additional Inherited Members

- Static Public Member Functions inherited from dyno::Object
static bool registerClass (ClassInfo *ci)
 
static ObjectcreateObject (std::string name)
 
static std::map< std::string, ClassInfo * > * getClassMap ()
 
static ObjectId baseId ()
 Base Id.
 

Detailed Description

Definition at line 17 of file HierarchicalModel.h.

Constructor & Destructor Documentation

◆ ModelObject()

dyno::ModelObject::ModelObject ( )
inline

Definition at line 20 of file HierarchicalModel.h.

Here is the caller graph for this function:

◆ ~ModelObject()

dyno::ModelObject::~ModelObject ( )
inline

Definition at line 21 of file HierarchicalModel.h.

Member Function Documentation

◆ getFrameRotation()

Vec3f dyno::ModelObject::getFrameRotation ( Real time)

◆ getFrameScale()

Vec3f dyno::ModelObject::getFrameScale ( Real time)

◆ getFrameTranslation()

Vec3f dyno::ModelObject::getFrameTranslation ( Real time)

◆ operator==()

bool dyno::ModelObject::operator== ( const ModelObject & model)
inline

Definition at line 29 of file HierarchicalModel.h.

Here is the call graph for this function:

Member Data Documentation

◆ child

std::vector<std::shared_ptr<ModelObject> > dyno::ModelObject::child

Definition at line 42 of file HierarchicalModel.h.

◆ id

int dyno::ModelObject::id = -1

Definition at line 45 of file HierarchicalModel.h.

◆ localRotation

Vec3f dyno::ModelObject::localRotation = Vec3f(0)

Definition at line 37 of file HierarchicalModel.h.

◆ localScale

Vec3f dyno::ModelObject::localScale = Vec3f(1)

Definition at line 38 of file HierarchicalModel.h.

◆ localTransform

Mat4f dyno::ModelObject::localTransform = Mat4f::identityMatrix()

Definition at line 35 of file HierarchicalModel.h.

◆ localTranslation

Vec3f dyno::ModelObject::localTranslation = Vec3f(0)

Definition at line 36 of file HierarchicalModel.h.

◆ m_Rotation_Times

std::vector<Real> dyno::ModelObject::m_Rotation_Times[3]

Definition at line 50 of file HierarchicalModel.h.

◆ m_Rotation_Values

std::vector<Real> dyno::ModelObject::m_Rotation_Values[3]

Definition at line 51 of file HierarchicalModel.h.

◆ m_Scale_Times

std::vector<Real> dyno::ModelObject::m_Scale_Times[3]

Definition at line 53 of file HierarchicalModel.h.

◆ m_Scale_Values

std::vector<Real> dyno::ModelObject::m_Scale_Values[3]

Definition at line 54 of file HierarchicalModel.h.

◆ m_Translation_Times

std::vector<Real> dyno::ModelObject::m_Translation_Times[3]

Definition at line 47 of file HierarchicalModel.h.

◆ m_Translation_Values

std::vector<Real> dyno::ModelObject::m_Translation_Values[3]

Definition at line 48 of file HierarchicalModel.h.

◆ name

std::string dyno::ModelObject::name

Definition at line 34 of file HierarchicalModel.h.

◆ parent

std::vector<std::shared_ptr<ModelObject> > dyno::ModelObject::parent

Definition at line 43 of file HierarchicalModel.h.

◆ pivot

Vec3f dyno::ModelObject::pivot = Vec3f(0)

Definition at line 40 of file HierarchicalModel.h.

◆ preRotation

Vec3f dyno::ModelObject::preRotation = Vec3f(0)

Definition at line 39 of file HierarchicalModel.h.


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