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

Grim::Head Class Reference

#include <head.h>

Inheritance diagram for Grim::Head:
Collaboration diagram for Grim::Head:

List of all members.


class  Joint

Public Member Functions

 Head ()
void setJoints (int joint1, int joint2, int joint3)
void loadJoints (ModelNode *nodes)
void setMaxAngles (float maxPitch, float maxYaw, float maxRoll)
void lookAt (bool entering, const Math::Vector3d &point, float rate, const Math::Matrix4 &matrix)
void saveState (SaveGame *state) const
void restoreState (SaveGame *state)
int getJoint1 () const
int getJoint2 () const
int getJoint3 () const

Private Attributes

int _joint1Node
int _joint2Node
int _joint3Node
float _maxRoll
float _maxPitch
float _maxYaw
Joint _joint1
Joint _joint2
Joint _joint3

Detailed Description

Definition at line 43 of file head.h.

Constructor & Destructor Documentation

Grim::Head::Head (  ) 

Definition at line 166 of file head.cpp.

Member Function Documentation

int Grim::Head::getJoint1 (  )  const [inline]

Definition at line 76 of file head.h.

int Grim::Head::getJoint2 (  )  const [inline]

Definition at line 77 of file head.h.

int Grim::Head::getJoint3 (  )  const [inline]

Definition at line 78 of file head.h.

void Grim::Head::loadJoints ( ModelNode nodes  )  [virtual]

Implements Grim::BaseHead.

Definition at line 178 of file head.cpp.

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

Implements Grim::BaseHead.

Definition at line 192 of file head.cpp.

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

Implements Grim::BaseHead.

Definition at line 232 of file head.cpp.

void Grim::Head::saveState ( SaveGame state  )  const [virtual]

Implements Grim::BaseHead.

Definition at line 219 of file head.cpp.

void Grim::Head::setJoints ( int  joint1,
int  joint2,
int  joint3 

Definition at line 172 of file head.cpp.

void Grim::Head::setMaxAngles ( float  maxPitch,
float  maxYaw,
float  maxRoll 

Definition at line 186 of file head.cpp.

Member Data Documentation

Definition at line 92 of file head.h.

int Grim::Head::_joint1Node [private]

Definition at line 81 of file head.h.

Definition at line 93 of file head.h.

int Grim::Head::_joint2Node [private]

Definition at line 82 of file head.h.

Definition at line 94 of file head.h.

int Grim::Head::_joint3Node [private]

Definition at line 83 of file head.h.

float Grim::Head::_maxPitch [private]

Definition at line 85 of file head.h.

float Grim::Head::_maxRoll [private]

Definition at line 84 of file head.h.

float Grim::Head::_maxYaw [private]

Definition at line 86 of file head.h.

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

Generated on Sat Aug 1 2020 05:03:45 for ResidualVM by doxygen 1.7.1
curved edge   curved edge