PeriDyno 1.2.1
Loading...
Searching...
No Matches
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)
 
- Public Member Functions inherited from dyno::Object
 Object ()
 
virtual ~Object ()
 
ObjectId objectId ()
 

Public Attributes

std::string name
 
Mat4f localTransform = Mat4f::identityMatrix()
 
Mat4f worldTransform = 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
 

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 19 of file HierarchicalModel.h.

Constructor & Destructor Documentation

◆ ModelObject()

dyno::ModelObject::ModelObject ( )
inline

Definition at line 23 of file HierarchicalModel.h.

Here is the caller graph for this function:

◆ ~ModelObject()

dyno::ModelObject::~ModelObject ( )

Member Function Documentation

◆ operator==()

bool dyno::ModelObject::operator== ( const ModelObject & model)
Here is the call graph for this function:

Member Data Documentation

◆ child

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

Definition at line 38 of file HierarchicalModel.h.

◆ id

int dyno::ModelObject::id = -1

Definition at line 40 of file HierarchicalModel.h.

◆ localRotation

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

Definition at line 33 of file HierarchicalModel.h.

◆ localScale

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

Definition at line 34 of file HierarchicalModel.h.

◆ localTransform

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

Definition at line 30 of file HierarchicalModel.h.

◆ localTranslation

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

Definition at line 32 of file HierarchicalModel.h.

◆ name

std::string dyno::ModelObject::name

Definition at line 29 of file HierarchicalModel.h.

◆ parent

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

Definition at line 39 of file HierarchicalModel.h.

◆ pivot

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

Definition at line 36 of file HierarchicalModel.h.

◆ preRotation

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

Definition at line 35 of file HierarchicalModel.h.

◆ worldTransform

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

Definition at line 31 of file HierarchicalModel.h.


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