Kaim::IVisualGeometry Class Reference

Kaim::IVisualGeometry Class Referenceabstract
+ Related help topics:

#include <ivisualgeometry.h>

Class Description

IVisualGeometry is an abstract base class that displays Triangles, Lines, and Texts.

Its functions are typically called from a IVisualGeometryBuilder.

+ Examples:

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...
 

Member Function Documentation

virtual void Kaim::IVisualGeometry::DoBegin ( const VisualGeometryPrimitiveCounts primitiveCounts)
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.

+ Examples:
virtual void Kaim::IVisualGeometry::DoEnd ( )
pure virtual

This method is called by the IVisualGeometryBuilder when the passing of triangles/lines/texts has finished.

+ Examples:
virtual void Kaim::IVisualGeometry::DoPushTriangle ( const VisualTriangle triangle)
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.

+ Examples:

The documentation for this class was generated from the following file: