Function Index Class Index

Draw_DC_Gouraud_Polyline Class Reference

#include <hic_wrap.h>

List of all members.

Public Member Functions

virtual void draw_dc_gouraud_polyline (HIC_Rendition const *nr, int count, HIC_DC_Point const *points, HIC_RGBAS32 const *colors)
 Draw_DC_Gouraud_Polyline (HC_KEY key, const char *name, void *data=0)
const char * GetName ()
virtual ~Draw_DC_Gouraud_Polyline ()

Protected Member Functions

void * GetData ()


Detailed Description

The Draw_DC_Gouraud_Polyline class is a base class used to define and set a callback at the "draw dc gouraud polyline" callback point during the HOOPS update cycle. To use this class, derive your own child class from it and implement the method draw_dc_gouraud_polyline. 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_DC_Gouraud_Polyline::Draw_DC_Gouraud_Polyline ( HC_KEY  key,
const char *  name,
void *  data = 0 
)

Constructs a Draw_DC_Gouraud_Polyline 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_DC_Gouraud_Polyline::~Draw_DC_Gouraud_Polyline (  )  [virtual]

Deletes the callback object.


Member Function Documentation

virtual void Draw_DC_Gouraud_Polyline::draw_dc_gouraud_polyline ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const *  points,
HIC_RGBAS32 const *  colors 
) [inline, virtual]

The function you implement for your callback.

Parameters:
nr A pointer to a const HIC_Rendition
points A pointer to a const HIC_DC_Point
colors A pointer to a const HICRGBAS32

void* Draw_DC_Gouraud_Polyline::GetData (  )  [protected]

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

const char* Draw_DC_Gouraud_Polyline::GetName (  ) 

Returns the name of the callback.


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