Brief Index      Full Index      Events Index      I.M. Reference

MSet_Vertex_Parameters

Functions

void MSet_Vertex_Parameters (HC_KEY key, int offset, int pcount, int number, const float *parameters)
void MSet_Specific_Vertex_Parameters (HC_KEY key, int count, const int *indices, int number_parameters, const float *user_parameters)
void MUnSet_Vertex_Parameters (HC_KEY key, int offset, int count)
void MUnSet_Specific_Vertex_Parameters (HC_KEY key, int count, const int *indices)

Function Documentation

void MSet_Vertex_Parameters ( HC_KEY  key,
int  offset,
int  pcount,
int  number,
const float *  parameters 
)

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.
pcountThe number of vertices to receive texture-coordinates contained in the parameters array.
numberThe number of parameters to be set on each vertex of the shell or mesh. Note that number must be consistent for all vertices of the shell or mesh.
parametersA two dimensional number by pcount array of floating point vertex parameters. 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 MSet_Specific_Vertex_Parameters ( HC_KEY  key,
int  count,
const int *  indices,
int  number_parameters,
const float *  user_parameters 
)

Sets the paramter values for a specific set of vertices on shell, mesh, or polycylinder.

Parameters:
keyThe unique identifier returned by a previous call to Insert_Mesh(), or Insert_Shell().
countThe length of indices array.
indicesList of vertex on which to set parameters.
number_parametersThe number of parameters to be set on each vertex of the shell or mesh. Note that number must be consistent for all vertices of the shell or mesh.
user_parametersA two dimensional number by pcount array of floating point vertex parameters. Passed by reference always.

DETAILS

No additional details.

See also:
Set_Color, Set_Color_By_Value, Set_Color_By_Index, Set_Rendering_Options, Set_Normal, Define_Texture, Open_Vertex
void MUnSet_Vertex_Parameters ( HC_KEY  key,
int  offset,
int  count 
)

Unsets 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 vertices to unset parameter values.

DETAILS

No additional details. See MSet_Vertex_Paramters().

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

Unsets the paramter values for a specific set of vertices on shell, mesh, or polycylinder.

Parameters:
keyThe unique identifier returned by a previous call to Insert_Mesh(), or Insert_Shell().
count- The length of indices array.
indices- List of vertex on which to unset parameters.

DETAILS

No additional details.

See also:
Set_Color, Set_Color_By_Value, Set_Color_By_Index, Set_Rendering_Options, Set_Normal, Define_Texture, Open_Vertex

Brief Index      Full Index      Events Index      I.M. Reference