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

DObject3D Class Reference

#include <DObject3D.h>

Inheritance diagram for DObject3D:

DObject DFighter DGarbageRadioactive DParticleSystem DSatellite DShot DSpaceShip DSpaceStation Dtv DUp List of all members.

Detailed Description

TODO: Brief Class Description.

TODO: Detailed Class Description


Public Member Functions

 DObject3D (DSystem *system)
void ComputeBoundingSphere (void)
 TODO: Brief description.

virtual void Draw (void)
 TODO: Brief description.

virtual void DrawWireFrame (void)
 TODO: Brief description.

virtual void Move (void)
 TODO: Brief description.

virtual void SetPosition (float x, float y, float z)
 TODO: Brief description.

virtual void SetDRotation (float drot)
 TODO: Brief description.

virtual void SetRotation (float alpha, float rx, float ry, float rz)
 TODO: Brief description.

virtual void SetRotationAxis (float rx, float ry, float rz)
 TODO: Brief description.

virtual void SetTranslation (float dx, float dy, float dz)
 TODO: Brief description.


Public Attributes

int name
 Identifies the object.

int power
 Power.

int explosionType
 The type of the object.

DMatrix matrix
 The matrix storing all transformations of the object;.

float x
 X-coordinate of position of object.

float y
 Y-coordinate of position of object.

float z
 Z-coordinate of position of object.

float r
 The squared radius of the bounding sphere around the object.

float dx
 Change of position of object in X-direction.

float dy
 Change of position of object in Y-direction.

float dz
 Change of position of object in Z-direction.

float rot
 Rotation of object.

float drot
 Change of Rotation of object.

float rotX
 X-Coordinate of the rotation axis.

float rotY
 Y-Coordinate of the rotation axis.

float rotZ
 Z-Coordinate of the rotation axis.

int geometryID
 ID of geometry data in system object.

DSystemsystem
 The object holding some system-wide information.

GLuint texStd
 ID of the standard texture of 3D-Objects.

unsigned long flags
 Properties of the Object.


Constructor & Destructor Documentation

DObject3D::DObject3D DSystem system  ) 
 

TODO: detailed description.


Member Function Documentation

void DObject3D::ComputeBoundingSphere void   ) 
 

TODO: Brief description.

TODO: detailed description.

void DObject3D::Draw void   )  [virtual]
 

TODO: Brief description.

TODO: detailed description.

Reimplemented in DParticleSystem, DExplosion, DVaporTrail, DShot, DSpaceShip, DUp, DFighter, and Dtv.

void DObject3D::DrawWireFrame void   )  [virtual]
 

TODO: Brief description.

TODO: detailed description.

Reimplemented in DExplosion, DVaporTrail, DShot, and DSpaceShip.

void DObject3D::Move void   )  [virtual]
 

TODO: Brief description.

TODO: detailed description.

Reimplemented in DParticleSystem, DExplosion, DVaporTrail, DSpaceShip, and DFighter.

void DObject3D::SetDRotation float  dr  )  [virtual]
 

TODO: Brief description.

Set the Objects change in rotation

void DObject3D::SetPosition float  x,
float  y,
float  z
[virtual]
 

TODO: Brief description.

Put the object to a special position in the world coordinate system.

void DObject3D::SetRotation float  alpha,
float  rx,
float  ry,
float  rz
[virtual]
 

TODO: Brief description.

Set the Object rotation

void DObject3D::SetRotationAxis float  rx,
float  ry,
float  rz
[virtual]
 

TODO: Brief description.

Set the Object initial rotation

void DObject3D::SetTranslation float  dx,
float  dy,
float  dz
[virtual]
 

TODO: Brief description.

Put the object to a special position in the world coordinate system.


The documentation for this class was generated from the following files:
Generated on Thu Jun 19 21:55:41 2003 for Debris by doxygen 1.3.2