Function Index Class Index

HLR_Polyline Class Referenceabstract

#include <hic_wrap.h>

Public Member Functions

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

Protected Member Functions

void * GetData ()
 

Detailed Description

The HLR_Polyline class is a base class used to define and set a callback at the "hlr polyline" callback point during the HOOPS update cycle. To use this class, derive your own child class from it and implement the method hlr_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

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

Constructs a HLR_Polyline 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 HLR_Polyline::~HLR_Polyline ( )
virtual

Deletes the callback object.

Member Function Documentation

void* HLR_Polyline::GetData ( )
protected

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

const char* HLR_Polyline::GetName ( )

Returns the name of the callback.

virtual void HLR_Polyline::hlr_polyline ( 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

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