Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csWfObject Class Reference

Object in a WireFrame. More...

#include <wirefrm.h>

Inheritance diagram for csWfObject:

csWfLine csWfPolygon csWfVertex List of all members.

Public Methods

 csWfObject ()
virtual ~csWfObject ()
void SetColor (csWfColor *col)
 Set the prefered color.

csWfColorGetColor ()
csWfObject* GetNext ()
csWfObject* GetPrev ()
void SetNext (csWfObject *ob)
void SetPrev (csWfObject *ob)
virtual void Draw (iGraphics3D *g, csCamera *c, int ortho=WF_ORTHO_PERSP)=0
 Draw this object given a camera.

bool Perspective (csCamera *c, csVector3 &v, csVector2 &persp, float radius, float &pradius)
 Do the perspective transform.

bool Orthographic (csCamera *c, int ortho, csVector3 &v, csVector2 &persp)
 Do an orthographic transform.

Protected Attributes


Detailed Description

Object in a WireFrame.

The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000