Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

World Class Reference

Keeper for the whole track. More...

#include <world.h>

List of all members.

Public Methods

 World ()
 ~World ()
bool addMesh (Mesh *)
int write_w (const char *wname, const char *iname, const char *ncpname)
int write_prm (const char *prmname, const char *iname, const char *ncpname)
void set_grip (Vector *grip=NULL)
Vector center_visible ()

Private Attributes

int cur_size
Mesh** mlist


Detailed Description

Keeper for the whole track.


Constructor & Destructor Documentation

World::World ( )
 

World::~World ( )
 


Member Function Documentation

bool World::addMesh ( Mesh * m )
 

Vector World::center_visible ( )
 

Calculate center of visible part.

void World::set_grip ( Vector * grip = NULL )
 

Sets grip point. Feeding additional meshes into the class after setting grip destroys everything... If grip is NULL, grip point will be calculated (centered on visible stuff).

int World::write_prm ( const char * prmname,
const char * iname,
const char * ncpname )
 

int World::write_w ( const char * wname,
const char * iname,
const char * ncpname )
 


Member Data Documentation

int World::cur_size [private]
 

Mesh ** World::mlist [private]
 


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 09:34:00 2002 for rvtmod/rvglue by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000