In file include/csengine/wirefrm.h:

class csWfPolygon : public csWfObject

A polygon in a WireFrame

Inheritance:


Public Methods

csWfPolygon ()
virtual void Draw (IGraphics3D* g, csCamera* c)
int GetNumVertices ()
bool IsVisible (csCamera* camera)
Return true if object is visible from a given camera.
void Prepare ()
This function should be called after all vertices have been set.
void SetNumVertices (int n)
void SetVertex (int i, csVector3& v)
void SetVisColor (csWfColor* vcol)
Set the prefered color for the visibility lines.
virtual ~csWfPolygon ()

Inherited from csWfObject:

Public Methods

csWfColor* GetColor()
csWfObject* GetNext()
csWfObject* GetPrev()
bool Perspective(csCamera* c, csVector3& v, csVector2& persp, float radius, float& pradius)
void SetColor(csWfColor* col)
void SetNext(csWfObject* ob)
void SetPrev(csWfObject* ob)

Documentation

A polygon in a WireFrame
csWfPolygon()

virtual ~csWfPolygon()

void SetNumVertices(int n)

int GetNumVertices()

void SetVertex(int i, csVector3& v)

void SetVisColor(csWfColor* vcol)
Set the prefered color for the visibility lines.

void Prepare()
This function should be called after all vertices have been set.

bool IsVisible(csCamera* camera)
Return true if object is visible from a given camera.

virtual void Draw(IGraphics3D* g, csCamera* c)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de