Functions | |
void | Open_Vertex (int offset) |
void | Close_Vertex (void) |
void Open_Vertex | ( | int | offset | ) |
Prepares a vertex within a shell, mesh, or polycylinder for the local overriding of drawing attributes.
offset | - The offset within the array of points originally passed to Insert_Shell() or Insert_Mesh() . The first point is at offset zero. |
The operations permitted on a vertex are to Set, Show, or UnSet: marker symbol, marker size, and marker color; vertex normal vector; visibility; edge color; and face color. The color can be set using any of the many color routines. Set_Color_By_FIndex() may be of particular interest when you false-color objects. Note: vertex face color is only meaningful when "color interpolating" (see Set_Rendering_Options() ) is turned on.
The MSet_Vertex_(Attribute) ("Multi-Set") routines are offered as a convenient way to rapidly set normals or colors on a large number of vertices. The functions accept an explicit key, so no shell, mesh, or polycylinder need be previously opened, and an explicit vertex number and count, so no vertex need be previously opened.
If you are working on a mesh, please refer to the Insert_Mesh() manual page for guidance on the vertex numbering.
void Close_Vertex | ( | void | ) |
Closes the session that began with an opening call to Open_Vertex().