An instance of this class is passed to IRendParams::SetPickMode().
This is a callback that gets called as the user tries to pick objects in the scene.
#include <render.h>
Public Member Functions |
|
virtual | ~RendPickProc () |
Destructor. |
|
virtual BOOL | Pick (INode *node)=0 |
Called when the user picks something.
|
|
virtual BOOL | Filter (INode *node)=0 |
Return TRUE if this is an acceptable hit;
otherwise FALSE. |
|
virtual void | EnterMode () |
This method is called as the mode is
entered. |
|
virtual void | ExitMode () |
This method is called when the mode is
exited. |
|
virtual HCURSOR | GetDefCursor () |
Returns the handle of the default cursor.
|
|
virtual HCURSOR | GetHitCursor () |
Returns the handle of the hit cursor.
|
|
virtual BOOL | AllowMultiSelect () |
virtual ~RendPickProc | ( | ) | [inline, virtual] |
Destructor.
{ }
virtual BOOL Pick | ( | INode * | node | ) | [pure virtual] |
Called when the user picks something.
virtual BOOL Filter | ( | INode * | node | ) | [pure virtual] |
Return TRUE if this is an acceptable hit; otherwise FALSE.
virtual void EnterMode | ( | ) | [inline, virtual] |
This method is called as the mode is entered.
{}
virtual void ExitMode | ( | ) | [inline, virtual] |
This method is called when the mode is exited.
{}
virtual HCURSOR GetDefCursor | ( | ) | [inline, virtual] |
Returns the handle of the default cursor.
This is the cursor to use when the user is not over a pickable object.
{return NULL;}
virtual HCURSOR GetHitCursor | ( | ) | [inline, virtual] |
Returns the handle of the hit cursor.
This is the cursor to use when the user IS over a pickable object.
{return NULL;}
virtual BOOL AllowMultiSelect | ( | ) | [inline, virtual] |
{return FALSE;}