Manipulate Grip Items

Manipulate Grip Items

Module description

The different select and manipulate mode grip items that can be toggled on or off.

Enumerations

enum  ManipulateGrips {
  eSoftSelFalloff = 0, eSoftSelPinch, eSoftSelBubble, eSetFlow,
  eLoopShift, eRingShift, eEdgeCrease, eEdgeWeight,
  eVertexWeight, eVertexCrease, EPolyManipulatorGripCount
}
 
enum  ManipulateGrips {
  eSoftSelFalloff = 0, eSoftSelPinch, eSoftSelBubble, eSetFlow,
  eLoopShift, eRingShift, eEdgeCrease, eEdgeWeight,
  eVertexCrease, eVertexWeight, EditPolyManipulatorGripCount
}
 

Functions

virtual void SetManipulateGrip (bool on, ManipulateGrips item)=0
 Turns the manipulate grip item on or off. More...
 
virtual bool GetManipulateGrip (ManipulateGrips item)=0
 Get whether or not this manipulator item is on or not. More...
 
 FN_1 (epfn_make_hard_edges, TYPE_BOOL, EpfnMakeHardEdges, TYPE_DWORD)
 
 FN_1 (epfn_make_smooth_edges, TYPE_BOOL, EpfnMakeSmoothEdges, TYPE_DWORD)
 
 VFN_0 (epfn_select_hard_edges, EpfnSelectHardEdges)
 
 VFN_0 (epfn_select_smooth_edges, EpfnSelectSmoothEdges)
 
virtual bool EpfnMakeHardEdges (DWORD flag)=0
 Make the edges marked with the specified flag hard (unsmoothed) More...
 
virtual bool EpfnMakeSmoothEdges (DWORD flag)=0
 Make the edges marked with the specified flag smooth. More...
 
virtual void EpfnSelectHardEdges ()=0
 Select hard (unsmoothed) edges. More...
 
virtual void EpfnSelectSmoothEdges ()=0
 Select smoothed edges. More...
 

Enumeration Type Documentation

enum ManipulateGrips
protected
Enumerator
eSoftSelFalloff 

Soft Selection Falloff grip. May be on for all subobject modes.

eSoftSelPinch 

Soft Selection Pinch grip. May be on for all subobject modes.

eSoftSelBubble 

Soft Selection Bubble grip. May be on for all subobject modes.

eSetFlow 

Set Flow grip. Only on in edge subobject mode.

eLoopShift 

Loop Shift Selection Falloff grip. Only in edge subobject mode.

eRingShift 

Ring Shift Selection Falloff grip. Only in edge subobject mode.

eEdgeCrease 

Edge Crease grip. Only in edge subobject mode.

eEdgeWeight 

Edge Weight grip. Only in edge subobject mode.

eVertexWeight 

Vertex Weight grip. Only in vertex subobject mode.

eVertexCrease 

Vertex Crease grip. Only in vertex subobject mode.

EPolyManipulatorGripCount 
2396  {
2398  eSoftSelFalloff = 0,
2400  eSoftSelPinch,
2404  eSetFlow,
2406  eLoopShift,
2408  eRingShift,
2410  eEdgeCrease,
2412  eEdgeWeight,
2414  eVertexWeight,
2416  eVertexCrease,
2417  // The following is an end-of-enums semaphore -- Used to get the count of enums here.
2418  // Leave it as the last entry.
2420  };
Soft Selection Bubble grip. May be on for all subobject modes.
Definition: iepoly.h:2402
Edge Weight grip. Only in edge subobject mode.
Definition: iepoly.h:2412
Soft Selection Pinch grip. May be on for all subobject modes.
Definition: iepoly.h:2400
Definition: iepoly.h:2419
Vertex Weight grip. Only in vertex subobject mode.
Definition: iepoly.h:2414
Loop Shift Selection Falloff grip. Only in edge subobject mode.
Definition: iepoly.h:2406
Edge Crease grip. Only in edge subobject mode.
Definition: iepoly.h:2410
Vertex Crease grip. Only in vertex subobject mode.
Definition: iepoly.h:2416
Set Flow grip. Only on in edge subobject mode.
Definition: iepoly.h:2404
Soft Selection Falloff grip. May be on for all subobject modes.
Definition: iepoly.h:2398
Ring Shift Selection Falloff grip. Only in edge subobject mode.
Definition: iepoly.h:2408
enum ManipulateGrips
protected
Enumerator
eSoftSelFalloff 

Soft Selection Falloff grip. May be on for all subobject modes.

eSoftSelPinch 

Soft Selection Pinch grip. May be on for all subobject modes.

eSoftSelBubble 

Soft Selection Bubble grip. May be on for all subobject modes.

eSetFlow 

Set Flow grip. Only on in edge subobject mode.

eLoopShift 

Grow Shift Selection Falloff grip. Only in edge subobject mode.

eRingShift 

Right Shift Selection Falloff grip. Only in edge subobject mode.

eEdgeCrease 
eEdgeWeight 
eVertexCrease 
eVertexWeight 
EditPolyManipulatorGripCount 
1938  {
1940  eSoftSelFalloff = 0,
1942  eSoftSelPinch,
1946  eSetFlow,
1948  eLoopShift,
1950  eRingShift,
1951  // (Extensions for Phoenix start here)
1952  // Edge Crease grip. Only in edge subobject mode.
1953  eEdgeCrease,
1954  // Edge Weight grip. Only in edge subobject mode.
1955  eEdgeWeight,
1956  // Vertex Crease grip. Only in vertex subobject mode.
1957  eVertexCrease,
1958  // Vertex Weight grip. Only in vertex subobject mode.
1959  eVertexWeight,
1960  // The following is a semaphore that indicates the total enum count.
1961  // Please leave as the last entry for proper operation
1963  };
Soft Selection Bubble grip. May be on for all subobject modes.
Definition: iEPolyMod.h:1944
Definition: iEPolyMod.h:1955
Soft Selection Pinch grip. May be on for all subobject modes.
Definition: iEPolyMod.h:1942
Definition: iEPolyMod.h:1962
Definition: iEPolyMod.h:1959
Grow Shift Selection Falloff grip. Only in edge subobject mode.
Definition: iEPolyMod.h:1948
Definition: iEPolyMod.h:1953
Definition: iEPolyMod.h:1957
Set Flow grip. Only on in edge subobject mode.
Definition: iEPolyMod.h:1946
Soft Selection Falloff grip. May be on for all subobject modes.
Definition: iEPolyMod.h:1940
Right Shift Selection Falloff grip. Only in edge subobject mode.
Definition: iEPolyMod.h:1950

Function Documentation

virtual void SetManipulateGrip ( bool  on,
ManipulateGrips  item 
)
protectedpure virtual

Turns the manipulate grip item on or off.

When at least one grip item is on and select and manipulate mode is on a grip will show up for each item that's on.

Parameters
[in]on- Whether or not the specified item will be turned on or off
[in]item- Which grip item that will be turned on or off.
virtual bool GetManipulateGrip ( ManipulateGrips  item)
protectedpure virtual

Get whether or not this manipulator item is on or not.

Parameters
[in]item- Which grip item we are checking to see if it's on or off.
Returns
Whether or not the item is on or not. Note that it doesn't take into account whether or not the correct subobject mode is also active, it just checks to see if it would be on if we were in the right mode.
virtual bool EpfnMakeHardEdges ( DWORD  flag)
pure virtual

Make the edges marked with the specified flag hard (unsmoothed)

Parameters
flag- Edges marked with this flag (MNMesh Flags) will be set to hard if possible by setting appropriate smoothing groups in adjacent faces.
Returns
true if any faces had smooothing groups altered
virtual bool EpfnMakeSmoothEdges ( DWORD  flag)
pure virtual

Make the edges marked with the specified flag smooth.

Parameters
flag- Edges marked with this flag (MNMesh Flags) will be set to smooth if possible by setting appropriate smoothing groups in adjacent faces.
Returns
true if any faces had smooothing groups altered
virtual void EpfnSelectHardEdges ( )
pure virtual

Select hard (unsmoothed) edges.

This operation selects edges between any faces which do not share any smoothing groups.

virtual void EpfnSelectSmoothEdges ( )
pure virtual

Select smoothed edges.

This operation selects edges between any faces which share any smoothing groups.