Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csWfPolygon Class Reference

A polygon in a WireFrame. More...

#include <wirefrm.h>

Inheritance diagram for csWfPolygon:

csWfObject List of all members.

Public Methods

 csWfPolygon ()
virtual ~csWfPolygon ()
void SetVertexCount (int n)
int GetVertexCount ()
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, int ortho=WF_ORTHO_PERSP)
 Draw this object given a camera.


Detailed Description

A polygon 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