PathEngine home previous: iQueryCallBack::desiredCallBackFrequency()next: iRender3DLinesCallBack::startVertex()
Contents, API Reference, Interfaces, iRender3DLinesCallBack

Interface iRender3DLinesCallBack

Description

The client application creates objects deriving from this interface to pass into visualisation helper functions such as iPath::renderOnGround().

PathEngine will call back to startVertex() for the first vertex of each sequence of connected line segments to be drawn, and then to vertex() for each subsequent vertex in that sequence.

Defined in SDKRoot/include/i_pathengine.h.

class iRender3DLinesCallBack
{
public:
    virtual ~iRender3DLinesCallBack() {};
    virtual void startVertex(float x, float y, float z)=0;
    virtual void vertex(float x, float y, float z)=0;
};
        

The virtual destructor is included just for good general programming practice.
Destruction remains the responsibility of the client application - PathEngine will not call this virtual destructor.

Methods:

startVertex

This method is called by PathEngine at the start of each set of connected line segments to be rendered.

vertex

This method is called by PathEngine to continue a connected line sequence.


Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEnginenext: iRender3DLinesCallBack::startVertex()