Function Index Class Index

Draw_3D_Image Class Reference

#include <hic_wrap.h>

List of all members.

Public Member Functions

 Draw_3D_Image (HC_KEY key, const char *name, void *data=0)
virtual void draw_3d_image (HIC_Rendition const *nr, HIC_Image const *image)
const char * GetName ()
virtual ~Draw_3D_Image ()

Protected Member Functions

void * GetData ()

Detailed Description

The Draw_3D_Image class is a base class used to define and set a callback at the "draw 3d image" callback point during the HOOPS update cycle. To use this class, derive your own child class from it and implement the method draw_3d_image. For more information on how to define and set callbacks as a C++/C/Java Developer, please see the HOOPS/3dGS Programming Guide.


Constructor & Destructor Documentation

Draw_3D_Image::Draw_3D_Image ( HC_KEY  key,
const char *  name,
void *  data = 0 
)

Constructs a Draw_3D_Image Callback object.

Parameters:
keyKey to the segment on which the callback is set.
nameThe name of the callback.
dataOptional pointer to user data that can then be accessed from the callback.
virtual Draw_3D_Image::~Draw_3D_Image ( ) [virtual]

Deletes the callback object.


Member Function Documentation

virtual void Draw_3D_Image::draw_3d_image ( HIC_Rendition const *  nr,
HIC_Image const *  image 
) [inline, virtual]

The function you implement for your callback.

Parameters:
nrA pointer to a const HIC_Rendition
imageA pointer to a const HIC_Image
void* Draw_3D_Image::GetData ( ) [protected]

Returns the pointer to the user data that may have been provided when the callback was created.

const char* Draw_3D_Image::GetName ( )

Returns the name of the callback.


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