#include <ivisualgeometry.h>
IVisualGeometry is an abstract base class that displays Triangles, Lines, and Texts.
Its functions are typically called from a IVisualGeometryBuilder.
Inherits Kaim::RefCountBase< C, Stat >.
Inherited by Kaim::ObjFileWriterVisualGeometry.
Public Member Functions | |
virtual void | DoBegin (const VisualGeometryPrimitiveCounts &primitiveCounts)=0 |
This method is called by the IVisualGeometryBuilder when it begins the process of passing triangles/lines/texts to this object. More... | |
virtual void | DoPushTriangle (const VisualTriangle &triangle)=0 |
DoPushXXX() functions parameters have Navigation (z-up, meters) coordinates. More... | |
virtual void | DoEnd ()=0 |
This method is called by the IVisualGeometryBuilder when the passing of triangles/lines/texts has finished. More... | |
|
pure virtual |
This method is called by the IVisualGeometryBuilder when it begins the process of passing triangles/lines/texts to this object.
You have to implement this method to carry out any initialization steps necessary in order to begin the process of managing the triangles/lines/texts that will be passed to DoPushTriangle/DoPushLine/DoPushText.
|
pure virtual |
This method is called by the IVisualGeometryBuilder when the passing of triangles/lines/texts has finished.
|
pure virtual |
DoPushXXX() functions parameters have Navigation (z-up, meters) coordinates.
You may use CoordSystem::NavigationToClient_Pos() to get your engine coordinates. But having a transform node atop the IVisualGeometry mesh is much better.