HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>


Show_Polyedge_XXX


Functions

HT_RGB32 * Show_Polyedge_Edge_Colors (HT_Polyedge *polyedge)
int Show_Polyedge_Edge_Count (HT_Polyedge *polyedge)
HT_Vertex * Show_Polyedge_Edge_Normals (HT_Polyedge *polyedge)
HC_BOOLEAN Show_Polyedge_Findex_Color_Interpolation (HT_Polyedge *polyedge)
int Show_Polyedge_Point_Count (HT_Polyedge *polyedge)
HT_Point * Show_Polyedge_Points (HT_Polyedge *polyedge)
HT_RGB32 * Show_Polyedge_Vertex_Colors (HT_Polyedge *polyedge)
const float * Show_Polyedge_Vertex_Findices (HT_Polyedge *polyedge)
HT_Vertex * Show_Polyedge_Vertex_Normals (HT_Polyedge *polyedge)
HT_Parameter * Show_Polyedge_Vertex_Parameters (HT_Polyedge *polyedge)

Function Documentation

HT_RGB32 * Show_Polyedge_Edge_Colors HT_Polyedge *  polyedge  ) 
 

Shows various items that comprise a polyedge structure.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
colors - If not null, points to the first of an array of colorsassociated with the edges or ver tices. Passed by reference. Returned to caller.

DETAILS

These functions are for use in a "draw 3d polyedge" callback function to extract individual information a HOOPS polyedge data structure, which may be passed in from the core HOOPS or created by HIC_New_Polyedge() .

list[0], and list[1] give the indices in points (and the two other vertex data arrays when supplied) of the first two vertices of the first polyline. list[2] gives the index of the first edge in the edge data arrays, and subsequent pairs (list[2*n-1], list[2*n]) give the vertex array index of the next vertex and the edge array index of the edge that comes with it, respectively. The end of the first polyline is flagged by a negative value of the vertex index; specifically, the value in the list array is the one's complement of the actual index of the last vertex in the polyline. If the next value in list after the last index of polyline is non-negative, then there is another polyline to be drawn and the pattern repeats.

For example, a list of 0, 1, 0, -3, 1, 4, -6, -2 means vertices 0, and 1 form edge 0; vertices 1, and -(-3) edge 1. We are done with the first subedge. Starting anew, vertices 4, -(-6) form edge -(-2) and this is the end of the second subpolyedge and the end of the polyedge.

NOTES

RESTRICTIONS

See also:

int Show_Polyedge_Edge_Count HT_Polyedge *  polyedge  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
count - The number of elements appearing in the specified array. Returned to caller.

DETAILS

No additional details. See Show_Polyedge_Edge_Colors()

HT_Vertex * Show_Polyedge_Edge_Normals HT_Polyedge *  polyedge  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
normals - If not null, points to the first of an array of normal vectors associated with the edges or vertices. Passed by reference. Returned to caller.

DETAILS

No additional details. See Show_Polyedge_Edge_Colors()

HC_BOOLEAN Show_Polyedge_Findex_Color_Interpolation HT_Polyedge *  polyedge  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
flag - Indicates if an attribute (in this case, col orization by fractional indices) is set. Returned to caller.

DETAILS

No additional details. See Show_Polyedge_Edge_Colors()

int Show_Polyedge_Point_Count HT_Polyedge *  polyedge  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
count - The number of elements appearing in the specified array. Returned to caller.

DETAILS

No additional details. See Show_Polyedge_Edge_Colors()

HT_Point * Show_Polyedge_Points HT_Polyedge *  polyedge  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
points - Pointer to an array of 3D pointsthat describe the vertices of the edges. Passed by reference. Returned to caller.

DETAILS

No additional details. See Show_Polyedge_Edge_Colors()

HT_RGB32 * Show_Polyedge_Vertex_Colors HT_Polyedge *  polyedge  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
colors - If not null, points to the first of an array of colorsassociated with the edges or ver tices. Passed by reference. Returned to caller.

DETAILS

No additional details. See Show_Polyedge_Edge_Colors()

const float * Show_Polyedge_Vertex_Findices HT_Polyedge *  polyedge  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
findices - If not null, points to the first of an array of fractional colormap indices associated with the vertices. Passed by reference. Returned to caller.

DETAILS

No additional details. See Show_Polyedge_Edge_Colors()

HT_Vertex * Show_Polyedge_Vertex_Normals HT_Polyedge *  polyedge  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
normals - If not null, points to the first of an array of normal vectors associated with the edges or vertices. Passed by reference. Returned to caller.

DETAILS

No additional details. See Show_Polyedge_Edge_Colors()

HT_Parameter * Show_Polyedge_Vertex_Parameters HT_Polyedge *  polyedge  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
polyedge - Polyedge structure descriptor. Passed by reference
Returns:
parameters - In not null, points to texture mapping coordinates associated with the vertices of the edges. Passed by reference. Returned to caller.

DETAILS

No additional details. See Show_Polyedge_Edge_Colors()
Main Index

HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>