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

Wintermute::FrameNode Class Reference

#include <frame_node.h>

Inheritance diagram for Wintermute::FrameNode:
Collaboration diagram for Wintermute::FrameNode:

List of all members.

Public Member Functions

 FrameNode (BaseGame *inGame)
virtual ~FrameNode ()
bool updateMatrices (Math::Matrix4 &parentMat)
bool updateMeshes ()
bool resetMatrices ()
bool render (ModelX *model)
bool updateShadowVol (ShadowVolume *shadow, Math::Matrix4 &modelMat, const Math::Vector3d &light, float extrusionDepth)
bool loadFromX (const Common::String &filename, XFileLexer &lexer, ModelX *model, Common::Array< MaterialReference > &materialReferences)
bool loadFromXAsRoot (const Common::String &filename, XFileLexer &lexer, ModelX *model, Common::Array< MaterialReference > &materialReferences)
bool findBones (FrameNode *rootFrame)
FrameNodefindFrame (const char *frameName)
Math::Matrix4getCombinedMatrix ()
Math::Matrix4getOriginalMatrix ()
void setTransformationMatrix (Math::Matrix4 *mat)
bool pickPoly (Math::Vector3d *pickRayOrig, Math::Vector3d *pickRayDir)
bool getBoundingBox (Math::Vector3d *boxStart, Math::Vector3d *boxEnd)
void setTransformation (int slot, Math::Vector3d pos, Math::Vector3d scale, Math::Quaternion rot, float lerpValue)
bool hasChildren ()
bool setMaterialSprite (char *matName, BaseSprite *sprite)
bool setMaterialTheora (char *matName, VideoTheoraPlayer *theora)
bool invalidateDeviceObjects ()
bool restoreDeviceObjects ()

Protected Attributes

BaseArray< FrameNode * > _frames
BaseArray< MeshX * > _meshes
Math::Matrix4 _transformationMatrix
Math::Matrix4 _originalMatrix
Math::Matrix4 _combinedMatrix
Math::Vector3d _transPos [2]
Math::Vector3d _transScale [2]
Math::Quaternion _transRot [2]
bool _transUsed [2]
float _lerpValue [2]

Detailed Description

Definition at line 46 of file frame_node.h.


Constructor & Destructor Documentation

Wintermute::FrameNode::FrameNode ( BaseGame inGame  ) 

Definition at line 40 of file frame_node.cpp.

Wintermute::FrameNode::~FrameNode ( void   )  [virtual]

Definition at line 56 of file frame_node.cpp.


Member Function Documentation

bool Wintermute::FrameNode::findBones ( FrameNode rootFrame  ) 

Definition at line 234 of file frame_node.cpp.

FrameNode * Wintermute::FrameNode::findFrame ( const char *  frameName  ) 

Definition at line 249 of file frame_node.cpp.

bool Wintermute::FrameNode::getBoundingBox ( Math::Vector3d boxStart,
Math::Vector3d boxEnd 
)

Definition at line 406 of file frame_node.cpp.

Math::Matrix4 * Wintermute::FrameNode::getCombinedMatrix (  ) 

Definition at line 73 of file frame_node.cpp.

Math::Matrix4 * Wintermute::FrameNode::getOriginalMatrix (  ) 

Definition at line 78 of file frame_node.cpp.

bool Wintermute::FrameNode::hasChildren (  ) 

Definition at line 424 of file frame_node.cpp.

bool Wintermute::FrameNode::invalidateDeviceObjects (  ) 

Definition at line 455 of file frame_node.cpp.

bool Wintermute::FrameNode::loadFromX ( const Common::String filename,
XFileLexer lexer,
ModelX model,
Common::Array< MaterialReference > &  materialReferences 
)

Definition at line 101 of file frame_node.cpp.

bool Wintermute::FrameNode::loadFromXAsRoot ( const Common::String filename,
XFileLexer lexer,
ModelX model,
Common::Array< MaterialReference > &  materialReferences 
)

Definition at line 169 of file frame_node.cpp.

bool Wintermute::FrameNode::pickPoly ( Math::Vector3d pickRayOrig,
Math::Vector3d pickRayDir 
)

Definition at line 387 of file frame_node.cpp.

bool Wintermute::FrameNode::render ( ModelX model  ) 

Definition at line 365 of file frame_node.cpp.

bool Wintermute::FrameNode::resetMatrices (  ) 

Definition at line 331 of file frame_node.cpp.

bool Wintermute::FrameNode::restoreDeviceObjects (  ) 

Definition at line 468 of file frame_node.cpp.

bool Wintermute::FrameNode::setMaterialSprite ( char *  matName,
BaseSprite sprite 
)

Definition at line 429 of file frame_node.cpp.

bool Wintermute::FrameNode::setMaterialTheora ( char *  matName,
VideoTheoraPlayer theora 
)

Definition at line 442 of file frame_node.cpp.

void Wintermute::FrameNode::setTransformation ( int  slot,
Math::Vector3d  pos,
Math::Vector3d  scale,
Math::Quaternion  rot,
float  lerpValue 
)

Definition at line 88 of file frame_node.cpp.

void Wintermute::FrameNode::setTransformationMatrix ( Math::Matrix4 mat  ) 

Definition at line 83 of file frame_node.cpp.

bool Wintermute::FrameNode::updateMatrices ( Math::Matrix4 parentMat  ) 

Definition at line 265 of file frame_node.cpp.

bool Wintermute::FrameNode::updateMeshes (  ) 

Definition at line 309 of file frame_node.cpp.

bool Wintermute::FrameNode::updateShadowVol ( ShadowVolume shadow,
Math::Matrix4 modelMat,
const Math::Vector3d light,
float  extrusionDepth 
)

Definition at line 343 of file frame_node.cpp.


Member Data Documentation

Definition at line 83 of file frame_node.h.

Definition at line 78 of file frame_node.h.

float Wintermute::FrameNode::_lerpValue[2] [protected]

Definition at line 89 of file frame_node.h.

Definition at line 79 of file frame_node.h.

Definition at line 82 of file frame_node.h.

Definition at line 85 of file frame_node.h.

Definition at line 87 of file frame_node.h.

Definition at line 86 of file frame_node.h.

bool Wintermute::FrameNode::_transUsed[2] [protected]

Definition at line 88 of file frame_node.h.


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


Generated on Sat Sep 19 2020 05:06:30 for ResidualVM by doxygen 1.7.1
curved edge   curved edge