Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

sheep::IFrameworkApp Class Reference

#include <iframeworkapp.h>

List of all members.

Public Member Functions

 IFrameworkApp ()
virtual ~IFrameworkApp ()=0
virtual void PrintHelp ()
virtual void KeyPressed (unsigned char key)
virtual void Think ()
virtual void Render ()
virtual void Reshape (int width, int height)

Static Public Member Functions

void TransformTo (const RigidBody *body)

Public Attributes

SceneOrbiter m_orbiter


Constructor & Destructor Documentation

IFrameworkApp::IFrameworkApp  ) 
 

The application should make no assumption about the OpenGL state at construction.

Definition at line 33 of file iframeworkapp.cpp.

References sheep::DEFAULT_AZIMUTH, sheep::DEFAULT_DISTANCE, and sheep::DEFAULT_ELEVATION.

virtual sheep::IFrameworkApp::~IFrameworkApp  )  [inline, pure virtual]
 

Definition at line 47 of file iframeworkapp.h.


Member Function Documentation

virtual void sheep::IFrameworkApp::KeyPressed unsigned char  key  )  [inline, virtual]
 

Definition at line 54 of file iframeworkapp.h.

Referenced by keyboard().

virtual void sheep::IFrameworkApp::PrintHelp  )  [inline, virtual]
 

This method provides the application a way to display a help screen or any other message. It is called on program startup and each time the 'h' key is pressed.

Definition at line 52 of file iframeworkapp.h.

Referenced by print_help().

virtual void sheep::IFrameworkApp::Render  )  [inline, virtual]
 

Todo:
Rename to Animate().

Definition at line 57 of file iframeworkapp.h.

Referenced by display().

void IFrameworkApp::Reshape int  width,
int  height
[virtual]
 

Definition at line 43 of file iframeworkapp.cpp.

Referenced by reshape().

virtual void sheep::IFrameworkApp::Think  )  [inline, virtual]
 

Definition at line 56 of file iframeworkapp.h.

Referenced by think().

void IFrameworkApp::TransformTo const RigidBody body  )  [static]
 

Definition at line 59 of file iframeworkapp.cpp.

References sheep::RigidBody::GetOrientation(), sheep::RigidBody::GetPosition(), sheep::Vector3::m_x, sheep::Vector3::m_y, and sheep::Vector3::m_z.


Member Data Documentation

SceneOrbiter sheep::IFrameworkApp::m_orbiter
 

Definition at line 42 of file iframeworkapp.h.

Referenced by display(), draw_axis(), draw_dragging_axis(), keyboard(), motion(), mouse(), and special().


The documentation for this class was generated from the following files:
Generated on Tue May 11 01:31:56 2004 for toxic by doxygen 1.3.6