#include <IProjectionRenderHandler.h>
Classes |
|
struct | ProjectionResult |
Public Types |
|
enum | { ERR_NONE = 0, ERR_RAYMISS, ERR_NONSELFACE } |
Public Member Functions |
|
virtual | ~IProjectionRenderHandler () |
virtual void | DeleteThis ()=0 |
virtual int | RenderBegin (TimeValue t, ULONG flags=0)=0 |
virtual int | RenderEnd (TimeValue t)=0 |
virtual BOOL | Init (RenderInstance *workingModelInst, RenderGlobalContext *rgc)=0 |
virtual BOOL | Valid ()=0 |
virtual void | GetReferenceModels (Tab< RenderInstance * > &refModels)=0 |
virtual IMeshWrapper * | GetWorkingModelMesh ()=0 |
virtual RenderInstance * | GetWorkingModelInst ()=0 |
virtual void | GetWorkingModelMask (BitArray &mask)=0 |
virtual BOOL | Project (int faceIndex, Point3 &faceBary, Point3 &faceNorm, ProjectionResult &result)=0 |
anonymous enum |
{ ERR_NONE=0, ERR_RAYMISS, //ray did not hit a reference model ERR_NONSELFACE, //the working model face is not in the active selection, skipped };
virtual ~IProjectionRenderHandler | ( | ) | [inline, virtual] |
{}
virtual void DeleteThis | ( | ) | [pure virtual] |
virtual int RenderBegin | ( | TimeValue | t, |
ULONG | flags = 0 |
||
) | [pure virtual] |
virtual int RenderEnd | ( | TimeValue | t | ) | [pure virtual] |
virtual BOOL Init | ( | RenderInstance * | workingModelInst, |
RenderGlobalContext * | rgc | ||
) | [pure virtual] |
virtual BOOL Valid | ( | ) | [pure virtual] |
virtual void GetReferenceModels | ( | Tab< RenderInstance * > & | refModels | ) | [pure virtual] |
virtual IMeshWrapper* GetWorkingModelMesh | ( | ) | [pure virtual] |
virtual RenderInstance* GetWorkingModelInst | ( | ) | [pure virtual] |
virtual void GetWorkingModelMask | ( | BitArray & | mask | ) | [pure virtual] |
virtual BOOL Project | ( | int | faceIndex, |
Point3 & | faceBary, | ||
Point3 & | faceNorm, | ||
ProjectionResult & | result | ||
) | [pure virtual] |