class csWireFrame A WireFrame is a set of lines, vertices and polygons in 3D
| | AddLine (csVector3& v1, csVector3& v2) |
| | AddPolygon () |
| | AddVertex (const csVector3& v) |
| | Apply (void (*func)( csWfObject*, void*), void*) Apply a function to all objects contained in the WireFrame |
| | Clear () |
| | csWireFrame (ITextureManager* txtmgr) |
| | Draw (IGraphics3D* g, csCamera* c) |
| | Entries () |
| | FindColor (int r, int g, int b) Find a registered color |
| | GetBlue () Get the default blue color. |
| | GetGreen () Get the default green color. |
| | GetRed () Get the default red color. |
| | GetWhite () Get the default white color. |
| | GetYellow () Get the default yellow color. |
| | RegisterColor (int r, int g, int b) Register a color so that it can be used by objects in the wireframe |
| | ~csWireFrame () |
A WireFrame is a set of lines, vertices and polygons in 3D. You can draw it given a camera.
The returned value is the one that should be given to the
csWfObject::SetColor function.
virtual ~csWireFrame()
void Clear()
size_t Entries()
csWfColor* GetWhite()
csWfColor* GetRed()
csWfColor* GetBlue()
csWfColor* GetGreen()
csWfColor* GetYellow()
csWfColor* FindColor(int r, int g, int b)
csWfColor* RegisterColor(int r, int g, int b)
csWfVertex* AddVertex(const csVector3& v)
csWfLine* AddLine(csVector3& v1, csVector3& v2)
csWfPolygon* AddPolygon()
void Draw(IGraphics3D* g, csCamera* c)
void Apply(void (*func)( csWfObject*, void*), void*)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de