CutPlanes_i();
CutPlanes_i(const CutPlanes_i&);
public:
- CutPlanes_i(Result_i* theResult, bool theAddToStudy = true);
+ explicit
+ CutPlanes_i(Result_i* theResult,
+ bool theAddToStudy);
+ explicit
+ CutPlanes_i(Result_i* theResult,
+ SALOMEDS::SObject_ptr theSObject);
virtual void SameAs(const CutPlanes_i* theOrigin);
virtual ~CutPlanes_i();
- virtual void Destroy();
virtual VISU::VISUType GetType() { return VISU::TCUTPLANES;};
- virtual void SetOrientationType(VISU::CutPlanes::Orientation theOrient);
- virtual VISU::CutPlanes::Orientation GetOrientationType();
+ virtual void SetOrientation(VISU::CutPlanes::Orientation theOrient,
+ CORBA::Double theXAngle, CORBA::Double theYAngle);
+ virtual VISU::CutPlanes::Orientation GetOrientationType();
+ virtual CORBA::Double GetRotateX();
+ virtual CORBA::Double GetRotateY();
+
virtual void SetDisplacement(CORBA::Double theDisp);
virtual CORBA::Double GetDisplacement();
virtual void SetNbPlanes(CORBA::Long theNb);
virtual CORBA::Long GetNbPlanes();
- virtual void SetRotateX(CORBA::Double theAngle);
- virtual CORBA::Double GetRotateX();
-
- virtual void SetRotateY(CORBA::Double theAngle);
- virtual CORBA::Double GetRotateY();
-
typedef VISU::CutPlanes TInterface;
VISU_CutPlanesPL* GetCutPlanesPL(){ return myCutPlanesPL;}
public:
static int IsPossible(Result_i* theResult, const char* theMeshName, VISU::Entity theEntity,
- const char* theFieldName, int theIteration);
+ const char* theFieldName, int theIteration, int isMemoryCheck = true);
virtual Storable* Create(const char* theMeshName, VISU::Entity theEntity,
const char* theFieldName, int theIteration);
virtual void ToStream(std::ostringstream& theStr);
-
- virtual Storable* Restore(const Storable::TRestoringMap& theMap)
- throw(std::logic_error&);
- static Storable* Restore(SALOMEDS::SObject_ptr theSObject,
- const string& thePrefix, const Storable::TRestoringMap& theMap)
- throw(std::logic_error&);
+
+ virtual Storable* Restore(const Storable::TRestoringMap& theMap);
static const string myComment;
virtual const char* GetComment() const;