HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>


Draw_DC_Colorized_XXX


Functions

void Draw_DC_Colorized_Face (HT_Rendition *nr, int count, HT_DC_Point *points, HT_RGBAS32 *color)
void Draw_DC_Colorized_Line (HT_Rendition *nr, HT_DC_Point *points2, HT_RGBAS32 *color)
void Draw_DC_Colorized_Marker (HT_Rendition *nr, HT_DC_Point *point, HT_RGBAS32 *color)
void Draw_DC_Colorized_Triangle (HT_Rendition *nr, HT_DC_Point *points3, HT_RGBAS32 *color)
void Draw_DC_Colorized_Polyline (HT_Rendition *nr, int count, HT_DC_Point *points, HT_RGBAS32 *color, HT_Boolean single)
void Draw_DC_Colorized_Polytriangle (HT_Rendition *nr, int count, HT_DC_Point *points, HT_RGBAS32 *color, HT_Boolean single)
void Draw_DC_Colorized_Polymarker (HT_Rendition *nr, int count, HT_DC_Point *point, HT_RGBAS32 *color, HT_Boolean single, float *rotations, float *size_fixups)

Function Documentation

void Draw_DC_Colorized_Face HT_Rendition *  nr,
int  count,
HT_DC_Point *  points,
HT_RGBAS32 *  color
 

Draws a colorized face modified during a callback.

Parameters:
nr - Rendition. Passed by reference.
count - Number of face vertices.
points - Array of face vertices. Passed by reference.
color - Color to draw object. Passed by reference.

DETAILS

This is the standard default method for the corresponding "draw dc colorized face" callback point.

NOTES

The "Draw_DC_Colorized_XXX" functions are called typically when the color of the object has been computed by HOOPS, rather than directly specified as an attribute by the application, as in the case of color determined by lighting or fog.

Each function draws the given element (specified in device coordinates) using the color argument to determine the color, rather than the normal color attribute contained in the rendition nr. Essentially they change the color attribute in the rendition to the value specified by the color argument, and then execute the corresponding HIC_Draw_DC_XXX function.

See also:
Draw_DC_Marker, Draw_DC_Line, Draw_DC_Face, Draw_DC_Triangle, Draw_DC_Colorized_Line, Draw_DC_Colorized_Marker, Draw_DC_Colorized_Triangle

void Draw_DC_Colorized_Line HT_Rendition *  nr,
HT_DC_Point *  points2,
HT_RGBAS32 *  color
 

Draws a colorized line modified during a callback.

Parameters:
nr - Rendition. Passed by reference.
points2 - Array of two line endpoints. Passed by reference.
color - Color to draw object. Passed by reference.

DETAILS

This is the standard default method for the corresponding "draw dc colorized line" callback point.

NOTES

The "Draw_DC_Colorized_XXX" functions are called typically when the color of the object has been computed by HOOPS, rather than directly specified as an attribute by the application, as in the case of color determined by lighting or fog.

Each function draws the given element (specified in device coordinates) using the color argument to determine the color, rather than the normal color attribute contained in the rendition nr. Essentially they change the color attribute in the rendition to the value specified by the color argument, and then execute the corresponding HIC_Draw_DC_XXX function.

See also:
Draw_DC_Marker, Draw_DC_Line, Draw_DC_Face, Draw_DC_Triangle, Draw_DC_Colorized_Face, Draw_DC_Colorized_Marker, Draw_DC_Colorized_Triangle

void Draw_DC_Colorized_Marker HT_Rendition *  nr,
HT_DC_Point *  point,
HT_RGBAS32 *  color
 

Draws a colorized marker modified during a callback.

Parameters:
nr - Rendition. Passed by reference.
point - Marker position. Passed by reference.
color - Color to draw object. Passed by reference.

DETAILS

This is the standard default method for the corresponding "draw dc colorized marker" callback point.

NOTES

The "Draw_DC_Colorized_XXX" functions are called typically when the color of the object has been computed by HOOPS, rather than directly specified as an attribute by the application, as in the case of color determined by lighting or fog.

Each function draws the given element (specified in device coordinates) using the color argument to determine the color, rather than the normal color attribute contained in the rendition nr. Essentially they change the color attribute in the rendition to the value specified by the color argument, and then execute the corresponding HIC_Draw_DC_XXX function.

See also:
Draw_DC_Marker, Draw_DC_Line, Draw_DC_Face, Draw_DC_Triangle, Draw_DC_Colorized_Face, Draw_DC_Colorized_Line, Draw_DC_Colorized_Triangle

void Draw_DC_Colorized_Triangle HT_Rendition *  nr,
HT_DC_Point *  points3,
HT_RGBAS32 *  color
 

Draws a colorized triangle modified during a callback.

Parameters:
nr - Rendition. Passed by reference.
points3 - Array of three triangle vertices. Passed by reference.
color - Color to draw object. Passed by reference.

DETAILS

This is the standard default method for the corresponding "draw dc colorized triangle" callback point.

NOTES

The "Draw_DC_Colorized_XXX" functions are called typically when the color of the object has been computed by HOOPS, rather than directly specified as an attribute by the application, as in the case of color determined by lighting or fog.

Each function draws the given element (specified in device coordinates) using the color argument to determine the color, rather than the normal color attribute contained in the rendition nr. Essentially they change the color attribute in the rendition to the value specified by the color argument, and then execute the corresponding HIC_Draw_DC_XXX function.

See also:
Draw_DC_Marker, Draw_DC_Line, Draw_DC_Face, Draw_DC_Triangle, Draw_DC_Colorized_Face, Draw_DC_Colorized_Line, Draw_DC_Colorized_Marker

void Draw_DC_Colorized_Polyline HT_Rendition *  nr,
int  count,
HT_DC_Point *  points,
HT_RGBAS32 *  color,
HT_Boolean  single
 

Draws a colored polyline.

Parameters:
nr - Rendition created by HIC_New_Rendition(). Passed by reference.
count - Point count in points.
points - Polyline points.
color - Pointer to an HT_RGBAS32 structure.
single - A boolean value. Nonzero indicates that color is a single color value that should be applied to all of the polyline points. A zero value indicates that color is an array of color values, one for each point.

DETAILS

This is the standard default method for the corresponding "draw dc colorized polyline" callback point.

NOTES

RESTRICTIONS

See also:

void Draw_DC_Colorized_Polytriangle HT_Rendition *  nr,
int  count,
HT_DC_Point *  points,
HT_RGBAS32 *  color,
HT_Boolean  single
 

Draws a colorized polytriangle.

Parameters:
nr - Rendition created by HIC_New_Rendition(). Passed by reference.
count - Point count in points.
points - Polytriangle points.
color - Pointer to an HT_RGBAS32 structure.
single - A boolean value. Nonzero indicates that color is a single color value that should be applied to all of the polytriangle points. A zero value indicates that color is an array of color values, one for each point.

DETAILS

This is the standard default method for the corresponding "draw dc colorized polytriangle" callback point.

NOTES

RESTRICTIONS

See also:

void Draw_DC_Colorized_Polymarker HT_Rendition *  nr,
int  count,
HT_DC_Point *  point,
HT_RGBAS32 *  color,
HT_Boolean  single,
float *  rotations,
float *  size_fixups
 

Draws a colorized polymarker.

Parameters:
nr - Rendition created by HIC_New_Rendition(). Passed by reference.
count - Point count in points.
points - Polymarker points.
color - Pointer to an HT_RGBAS32 structure.
single - A boolean value. Nonzero indicates that color is a single color value that should be applied to all of the polymarker points. A zero value indicates that color is an array of color values, one for each point.
rotations - An array of floating point values indicating the relative x, y, and z position of the polymarker.
size_fixups - An array of floating point values that resizes the individual markers in the polymarker. Can be null if no scale should be applied.

DETAILS

This is the standard default method for the corresponding "draw dc colorized polymarker" callback point.

NOTES

RESTRICTIONS

See also:
Main Index

HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>