HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>


New_User_Shell


Functions

HT_Polyhedron * New_User_Shell ()
void Free_User_Shell (HT_Polyhedron *polyhedron)

Function Documentation

HT_Polyhedron * New_User_Shell  ) 
 

Allocates a new polyhedron descriptor structure.

Returns:
new_polyhedron - Polyhedron descriptor structure.

DETAILS

These routines are used to allocate and free memory associated with an HT_Polyhedron union. HT_Polyhedron is implemented as a C union that can hold either a mesh or a shell. Shells and meshes that are captured inside a 'draw 3d geometry' callback can be cast to HT_Polyhedron and passed further along, either through HIC_Draw_3D_Polyhedron() or HIC_Draw_3D_(Geometry).

NOTES

To assign values for each item of HT_Polyhedron, the user must call: HIC_Set_User_Shell. Once these values are assigned, the tristrip edges are drawn by calling HIC_Draw_3D_Polyhedron().

See also:

void Free_User_Shell HT_Polyhedron *  polyhedron  ) 
 

Destroys the shell and frees the memory associated with a HT_Polyhedron descriptor structure.

Parameters:
polyhedron - A pointer to the polyhedron created by HIC_New_User_Shell() . Passed by reference.

DETAILS

No additional details. See New_User_Shell()
Main Index

HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>