ScummVM API documentation
Wintermute::FrameNode Class Reference
Inheritance diagram for Wintermute::FrameNode:
Wintermute::BaseNamedObject Wintermute::BaseClass

Public Member Functions

 FrameNode (BaseGame *inGame)
 
bool updateMatrices (Math::Matrix4 &parentMat)
 
bool updateMeshes ()
 
bool resetMatrices ()
 
bool render (XModel *model)
 
bool renderFlatShadowModel ()
 
bool updateShadowVol (ShadowVolume *shadow, Math::Matrix4 &modelMat, const Math::Vector3d &light, float extrusionDepth)
 
bool loadFromXData (const Common::String &filename, XModel *model, XFileData *xobj, Common::Array< MaterialReference > &materialReferences)
 
bool mergeFromXData (const Common::String &filename, XModel *model, XFileData *xobj)
 
bool findBones (FrameNode *rootFrame)
 
FrameNodefindFrame (const char *frameName)
 
Math::Matrix4 * getCombinedMatrix ()
 
Math::Matrix4 * getOriginalMatrix ()
 
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 ()
 
- Public Member Functions inherited from Wintermute::BaseNamedObject
 BaseNamedObject (BaseGame *inGame)
 
 BaseNamedObject (TDynamicConstructor, TDynamicConstructor)
 
const char * getName () const
 
void setName (const char *name)
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
virtual bool saveAsText (BaseDynamicBuffer *buffer, int indent=0)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Protected Attributes

BaseArray< FrameNode * > _frames
 
BaseArray< XMesh * > _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]
 
- Protected Attributes inherited from Wintermute::BaseClass
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

Additional Inherited Members

- Public Attributes inherited from Wintermute::BaseNamedObject
char * _name
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 

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