IMNMeshUtilities13 Class Reference
 
 
 
IMNMeshUtilities13 Class Reference

This reference page is linked to from the following overview topics: SDK Change Details.


#include <mnmesh.h>

Inheritance diagram for IMNMeshUtilities13:
BaseInterface InterfaceServer MaxHeapOperators

Class Description

Extends the MNMeshUtilities class, adding new functionality applied on a MNMesh.

The added functions are used for selecting subobject loops or rings when the Shift key is pressed. See IMNMeshUtilities8 for details on using this interface.

Usage:

                IMNMeshUtilities13* l_mesh13 = static_cast<IMNMeshUtilities13*>(mesh.GetInterface( IMNMESHUTILITIES13_INTERFACE_ID ));

Public Member Functions

Interface_ID  GetID ()
virtual bool  FindLoopVertex (BitArray &hitSel, const BitArray &curSel)=0
  Finds a vertex loop based on the newly selected vertex and the currently selected vertices.
virtual bool  FindLoopOrRingEdge (BitArray &hitSel, const BitArray &curSel)=0
  Finds an edge loop or ring based on the newly selected edge and the currently selected edges.
virtual bool  FindLoopFace (BitArray &hitSel, const BitArray &curSel)=0
  Finds a face loop based on the newly selected face and the currently selected faces.

Member Function Documentation

Interface_ID GetID ( ) [inline, virtual]
Remarks:
This method returns the unique interface ID.

Reimplemented from BaseInterface.

virtual bool FindLoopVertex ( BitArray hitSel,
const BitArray curSel 
) [pure virtual]

Finds a vertex loop based on the newly selected vertex and the currently selected vertices.

If a loop is found the loop vertices are added to the hitSel BitArray.

Returns:
true if a loop was found
false if no loop was found
Parameters:
[in,out] hitSel the newly selected vertices that are about to get added to the selection.
[in] curSel the currently selected vertices.
virtual bool FindLoopOrRingEdge ( BitArray hitSel,
const BitArray curSel 
) [pure virtual]

Finds an edge loop or ring based on the newly selected edge and the currently selected edges.

If a loop or ring is found the loop/ring edges are added to the hitSel BitArray.

Returns:
true if a loop or ring was found
false if no loop or ring was found
Parameters:
[in,out] hitSel the newly selected edges that are about to get added to the selection.
[in] curSel the currently selected edges.
virtual bool FindLoopFace ( BitArray hitSel,
const BitArray curSel 
) [pure virtual]

Finds a face loop based on the newly selected face and the currently selected faces.

If a loop is found the loop faces are added to the hitSel BitArray.

Returns:
true if a loop was found
false if no loop was found
Parameters:
[in,out] hitSel the newly selected faces that are about to get added to the selection.
[in] curSel the currently selected faces.