#include <hic_wrap.h>
The Draw_3D_Polymarkers class is a base class used to define and set a callback at the "draw 3d polymarker" callback point during the HOOPS update cycle. To use this class, derive your own child class from it and implement the method #draw_3d_polymarkers. For more information on how to define and set callbacks as a C++/C/Java Developer, please see the HOOPS/3dGS Programming Guide.
Draw_3D_Polymarkers::Draw_3D_Polymarkers |
( |
HC_KEY |
key, |
|
|
const char * |
name, |
|
|
void * |
data = 0 |
|
) |
| |
Constructs a Draw_3D_Polymarkers Callback object.
- Parameters
-
key | Key to the segment on which the callback is set. |
name | The name of the callback. |
data | Optional pointer to user data that can then be accessed from the callback. |
virtual Draw_3D_Polymarkers::~Draw_3D_Polymarkers |
( |
| ) |
|
|
virtual |
Deletes the callback object.
virtual void Draw_3D_Polymarkers::draw_3d_polymarker |
( |
HIC_Rendition const * |
nr, |
|
|
HIC_Polymarker const * |
pm |
|
) |
| |
|
inlinevirtual |
The function you implement for your callback.
- Parameters
-
nr | A pointer to a const HIC_Rendition |
pm | A pointer to a const HIC_Polymarker |
void* Draw_3D_Polymarkers::GetData |
( |
| ) |
|
|
protected |
Returns the pointer to the user data that may have been provided when the callback was created.
const char* Draw_3D_Polymarkers::GetName |
( |
| ) |
|
Returns the name of the callback.
The documentation for this class was generated from the following file: