ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <model_component.h>

Inheritance diagram for Grim::ModelComponent:
Collaboration diagram for Grim::ModelComponent:

List of all members.

Public Member Functions

 ModelComponent (Component *parent, int parentID, const char *filename, Component *prevComponent, tag32 tag)
 ~ModelComponent ()
void init ()
void setKey (int val)
int update (uint time)
void animate ()
void reset ()
void resetColormap ()
void restoreState (SaveGame *state)
void translateObject (bool reset)
AnimManagergetAnimManager () const
ModelNodegetHierarchy ()
int getNumNodes ()
ModelgetModel ()
void draw ()
void getBoundingBox (int *x1, int *y1, int *x2, int *y2)

Static Public Member Functions

static void translateObject (ModelNode *node, bool reset)

Protected Attributes

Model_obj
ModelNode_hier
AnimManager_animation
Component_prevComp
bool _animated

Detailed Description

Definition at line 33 of file model_component.h.


Constructor & Destructor Documentation

Grim::ModelComponent::ModelComponent ( Component parent,
int  parentID,
const char *  filename,
Component prevComponent,
tag32  tag 
)

Definition at line 40 of file model_component.cpp.

Grim::ModelComponent::~ModelComponent (  ) 

Definition at line 56 of file model_component.cpp.


Member Function Documentation

void Grim::ModelComponent::animate (  )  [virtual]

Reimplemented from Grim::Component.

Definition at line 136 of file model_component.cpp.

void Grim::ModelComponent::draw (  )  [virtual]

Reimplemented from Grim::Component.

Definition at line 180 of file model_component.cpp.

AnimManager * Grim::ModelComponent::getAnimManager (  )  const

Definition at line 121 of file model_component.cpp.

void Grim::ModelComponent::getBoundingBox ( int *  x1,
int *  y1,
int *  x2,
int *  y2 
)

Definition at line 196 of file model_component.cpp.

ModelNode* Grim::ModelComponent::getHierarchy (  )  [inline]

Definition at line 49 of file model_component.h.

Model* Grim::ModelComponent::getModel (  )  [inline]

Definition at line 51 of file model_component.h.

int Grim::ModelComponent::getNumNodes (  ) 

Definition at line 157 of file model_component.cpp.

void Grim::ModelComponent::init (  )  [virtual]

Reimplemented from Grim::Component.

Reimplemented in Grim::MainModelComponent.

Definition at line 65 of file model_component.cpp.

void Grim::ModelComponent::reset (  )  [virtual]

Reimplemented from Grim::Component.

Reimplemented in Grim::MainModelComponent.

Definition at line 116 of file model_component.cpp.

void Grim::ModelComponent::resetColormap (  )  [virtual]

Reimplemented from Grim::Component.

Definition at line 145 of file model_component.cpp.

void Grim::ModelComponent::restoreState ( SaveGame state  )  [virtual]

Reimplemented from Grim::Component.

Definition at line 153 of file model_component.cpp.

void Grim::ModelComponent::setKey ( int  val  )  [virtual]

Reimplemented from Grim::Component.

Definition at line 111 of file model_component.cpp.

void Grim::ModelComponent::translateObject ( bool  reset  ) 

Definition at line 173 of file model_component.cpp.

void Grim::ModelComponent::translateObject ( ModelNode node,
bool  reset 
) [static]

Definition at line 161 of file model_component.cpp.

int Grim::ModelComponent::update ( uint  time  )  [virtual]

Reimplemented from Grim::Component.

Definition at line 125 of file model_component.cpp.


Member Data Documentation

Definition at line 60 of file model_component.h.

Definition at line 58 of file model_component.h.

Definition at line 57 of file model_component.h.

Definition at line 56 of file model_component.h.

Definition at line 59 of file model_component.h.


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


Generated on Sat Jul 13 2019 05:04:03 for ResidualVM by doxygen 1.7.1
curved edge   curved edge