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

WPCG::WP_MetaBall Class Reference

#include <WP_Model.h>

Inheritance diagram for WPCG::WP_MetaBall:

WPCG::WP_NonAnimatedModel WPCG::WP_Model List of all members.

Public Methods

 WP_MetaBall (const string &name)
 WP_MetaBall (const WP_MetaBall &ball)
 WP_MetaBall::~WP_MetaBall ()
WP_MetaBall & operator= (const WP_MetaBall &ball)
void drawOpenGL (const WP_Matrix3D &matrix, WP_Object *object)
bool initModel ()

Public Attributes

WP_Point3D center

Constructor & Destructor Documentation

WPCG::WP_MetaBall::WP_MetaBall const string &    name
 

WPCG::WP_MetaBall::WP_MetaBall const WP_MetaBall &    ball
 

WPCG::WP_MetaBall::WP_MetaBall::~WP_MetaBall   [inline]
 


Member Function Documentation

void WPCG::WP_MetaBall::drawOpenGL const WP_Matrix3D   matrix,
WP_Object   object
[virtual]
 

this function draws the model according to its world matrix into the 3D scene

Parameters:
matrix  a WP_Matrix3D object representing the world matrix of the model indicating where and how the model is rendered into the scene

Implements WPCG::WP_NonAnimatedModel.

bool WPCG::WP_MetaBall::initModel   [virtual]
 

this function is used for reading the model file and initializing the model by filling the variables of the base class with the appropriate read values. This function is automatically called by the base class WP_Model by a call to its init function

Implements WPCG::WP_NonAnimatedModel.

WP_MetaBall & WPCG::WP_MetaBall::operator= const WP_MetaBall &    ball
 


Member Data Documentation

WP_Point3D WPCG::WP_MetaBall::center
 


The documentation for this class was generated from the following files:
Generated on Tue Jan 28 20:26:37 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002