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

Grim::EMIHead Class Reference

#include <emihead.h>

Inheritance diagram for Grim::EMIHead:
Collaboration diagram for Grim::EMIHead:

List of all members.

Public Member Functions

 EMIHead (EMICostume *costume)
void setJoint (const char *joint, const Math::Vector3d &offset)
void setLimits (float yawRange, float maxPitch, float minPitch)
void lookAt (bool entering, const Math::Vector3d &point, float rate, const Math::Matrix4 &matrix) override
void loadJoints (ModelNode *nodes) override
void saveState (SaveGame *state) const override
void restoreState (SaveGame *state) override

Private Attributes

EMICostume_cost
Common::String _jointName
Math::Vector3d _offset
Math::Quaternion _headRot
float _yawRange
float _maxPitch
float _minPitch

Detailed Description

Definition at line 34 of file emihead.h.


Constructor & Destructor Documentation

Grim::EMIHead::EMIHead ( EMICostume costume  ) 

Definition at line 30 of file emihead.cpp.


Member Function Documentation

void Grim::EMIHead::loadJoints ( ModelNode nodes  )  [inline, override, virtual]

Implements Grim::BaseHead.

Definition at line 41 of file emihead.h.

void Grim::EMIHead::lookAt ( bool  entering,
const Math::Vector3d point,
float  rate,
const Math::Matrix4 matrix 
) [override, virtual]

Implements Grim::BaseHead.

Definition at line 45 of file emihead.cpp.

void Grim::EMIHead::restoreState ( SaveGame state  )  [override, virtual]

Implements Grim::BaseHead.

Definition at line 135 of file emihead.cpp.

void Grim::EMIHead::saveState ( SaveGame state  )  const [override, virtual]

Implements Grim::BaseHead.

Definition at line 123 of file emihead.cpp.

void Grim::EMIHead::setJoint ( const char *  joint,
const Math::Vector3d offset 
)

Definition at line 34 of file emihead.cpp.

void Grim::EMIHead::setLimits ( float  yawRange,
float  maxPitch,
float  minPitch 
)

Definition at line 39 of file emihead.cpp.


Member Data Documentation

Definition at line 46 of file emihead.h.

Definition at line 49 of file emihead.h.

Definition at line 47 of file emihead.h.

float Grim::EMIHead::_maxPitch [private]

Definition at line 51 of file emihead.h.

float Grim::EMIHead::_minPitch [private]

Definition at line 52 of file emihead.h.

Definition at line 48 of file emihead.h.

float Grim::EMIHead::_yawRange [private]

Definition at line 50 of file emihead.h.


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


Generated on Sat Mar 23 2019 05:07:43 for ResidualVM by doxygen 1.7.1
curved edge   curved edge