When a Mesh object or modifier (such as Editable Mesh, Edit Mesh, or Mesh Select) handles viewport subobject selection, the flow is basically as follows from Editable Mesh.
#include <mnmesh.h>
Public Member Functions |
|
DllExport void | FaceToElement (MNMesh &mesh, BitArray &faceSel, BitArray &elementSel) |
Converts a face selection to an element
selection. |
|
DllExport void | EdgeToBorder (MNMesh &mesh, BitArray &edgeSel, BitArray &borderSel) |
DllExport void | VertexToEdge (MNMesh &mesh, BitArray &vertexSel, BitArray &edgeSel) |
Converts a vertex selection to a "By Vertex"
edge selection. |
|
DllExport void | VertexToFace (MNMesh &mesh, BitArray &vertexSel, BitArray &faceSel) |
Converts a face selection to an element selection.
This method can only produce accurate results with culling if we
are certain that the face selection corresponds to the results of
the last call to
the owner Mesh's SubObjectHitTest method. (To turn off culling, use
GetCull ().ClearAll(). Culling is not relevant if the
MESH_SELCONV_REQUIRE_ALL flag
is turned off.)
Converts a vertex selection to a "By Vertex" edge selection.
This method can only produce accurate results with culling if we
are certain that the vertex selection corresponds to the results of
the last call
to the owner Mesh's SubObjectHitTest method. (To turn off culling,
use GetCull ().ClearAll(). Culling is not relevant if the
MESH_SELCONV_REQUIRE_ALL flag
is turned off.)