IMP 10199 (add Volume Control). Add eVolume3D Control

This commit is contained in:
eap 2005-10-10 14:45:35 +00:00
parent 4f27e7392a
commit 5958c2aa89
2 changed files with 9 additions and 1 deletions

View File

@ -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();

View File

@ -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;