mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
IMP 10199 (add Volume Control). Add eVolume3D Control
This commit is contained in:
parent
4f27e7392a
commit
5958c2aa89
@ -588,6 +588,14 @@ SetControlMode(eControl theMode,
|
||||
myControlActor = my3DActor;
|
||||
break;
|
||||
}
|
||||
case eVolume3D:
|
||||
{
|
||||
SMESH::Controls::Volume* aControl = new SMESH::Controls::Volume();
|
||||
aControl->SetPrecision( myControlsPrecision );
|
||||
aFunctor.reset( aControl );
|
||||
myControlActor = my3DActor;
|
||||
break;
|
||||
}
|
||||
case eMinimumAngle:
|
||||
{
|
||||
SMESH::Controls::MinimumAngle* aControl = new SMESH::Controls::MinimumAngle();
|
||||
|
@ -95,7 +95,7 @@ class SMESH_Actor: public SALOME_Actor
|
||||
|
||||
enum eControl{eNone, eLength, eLength2D, eFreeBorders, eFreeEdges, eMultiConnection,
|
||||
eArea, eTaper, eAspectRatio, eMinimumAngle, eWarping, eSkew,
|
||||
eAspectRatio3D, eMultiConnection2D};
|
||||
eAspectRatio3D, eMultiConnection2D, eVolume3D};
|
||||
virtual void SetControlMode(eControl theMode) = 0;
|
||||
virtual eControl GetControlMode() = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user