Functions
MSet_Vertex_Normals

Functions

void MSet_Vertex_Normals (HC_KEY key, int offset, int count, const HC_VECTOR *normals)
 Speedily sets the drawing attributes on a large number of shell, mesh, or polycylinder vertices. More...
 
void MSet_Specific_Vertex_Normals (HC_KEY key, int offset, const int *indices, const HC_VECTOR *normals)
 Speedily sets the normal values a set of faces on a large number of shell, mesh, or polycylinder vertices. More...
 
void MUnSet_Vertex_Normals (HC_KEY key, int offset, int count)
 Speedily unsets the normal values a range of faces on a large number of shell, mesh, or polycylinder vertices. More...
 
void MUnSet_Specific_Vert_Normals (HC_KEY key, int count, const int *indices)
 Speedily unsets the normal values a set of faces on a large number of shell, mesh, or polycylinder vertices. More...
 

Detailed Description

Function Documentation

void MSet_Specific_Vertex_Normals ( HC_KEY  key,
int  count,
const int *  indices,
const HC_VECTOR *  normals 
)

Speedily sets the normal values a set of faces on a large number of shell, mesh, or polycylinder vertices.

Parameters
keyThe unique identifier returned by a previous call to Insert_Mesh(), or Insert_Shell().
countNumber of the faces to set normal values for.
indicesThe list of faces to set normal values for.
normalsVector of x-y-z normal values. A simple N x 3 array may also be used. Passed by reference always.

DETAILS

No additional details. See MSet_Vertex_Normals().

See also
Set_Color, Set_Color_By_Value, Set_Color_By_Index, Set_Rendering_Options, Set_Normal, Define_Texture, Open_Vertex
void MSet_Vertex_Normals ( HC_KEY  key,
int  offset,
int  count,
const HC_VECTOR *  normals 
)

Speedily sets the drawing attributes on a large number of shell, mesh, or polycylinder vertices.

Parameters
keyThe unique identifier returned by a previous call to Insert_Mesh(), or Insert_Shell().
offsetNumber of the point in the surface definition at which to start work. "0" is the first offset value.
countThe number of normals contained in normals.
normalsVector of x-y-z normal values. A simple N x 3 array may also be used. Passed by reference always.

DETAILS

The "normal" mode of setting an attribute value on a single shell or mesh vertex is to open the geometry, open the vertex, set the attribute, close the vertex, open the next vertex, set the next attribute, close the vertex, etc. This can be tedious if a large number of vertices need to be set up. The "MSet Vertex" ("Multi-Set") routines are provided as a convenience to speed up the process.

See also
Set_Color, Set_Color_By_Value, Set_Color_By_Index, Set_Rendering_Options, Set_Normal, Define_Texture, Open_Vertex
void MUnSet_Specific_Vert_Normals ( HC_KEY  key,
int  count,
const int *  indices 
)

Speedily unsets the normal values a set of faces on a large number of shell, mesh, or polycylinder vertices.

Parameters
keyThe unique identifier returned by a previous call to Insert_Mesh(), or Insert_Shell().
countNumber of the faces to unset normal values for.
indicesThe list of faces to unset normal values for.

DETAILS

No additional details. See MSet_Vertex_Normals().

void MUnSet_Vertex_Normals ( HC_KEY  key,
int  offset,
int  count 
)

Speedily unsets the normal values a range of faces on a large number of shell, mesh, or polycylinder vertices.

Parameters
keyThe unique identifier returned by a previous call to Insert_Mesh(), or Insert_Shell().
offsetNumber of the point in the surface definition at which to start work. "0" is the first offset value.
countNumber of the faces to unset normal values for.

DETAILS

No additional details. See MSet_Vertex_Normals().