Function Index Class Index

Draw_DC_Edge Class Reference

#include <hic_wrap.h>

List of all members.

Public Member Functions

 Draw_DC_Edge (HC_KEY key, const char *name, void *data=0)
virtual void draw_dc_edge (HIC_Rendition const *nr, int count, HIC_DC_Point const *points)=0
const char * GetName ()
virtual ~Draw_DC_Edge ()

Protected Member Functions

void * GetData ()

Detailed Description

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

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

Deletes the callback object.


Member Function Documentation

virtual void Draw_DC_Edge::draw_dc_edge ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const *  points 
) [pure virtual]

The function you implement for your callback.

Parameters:
nrA pointer to a const HIC_Rendition
countA integer variable
pointsA pointer to a const HIC_DC_Point
void* Draw_DC_Edge::GetData ( ) [protected]

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

const char* Draw_DC_Edge::GetName ( )

Returns the name of the callback.


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