Salome HOME
Join modifications from branch OCC_debug_for_3_2_0b1
[modules/visu.git] / src / PIPELINE / VISU_CutLinesPL.hxx
index cc316781bbbddb25a4591fb0b54ffee054522670..05fb29a0ba9392d46cee447445ca51330013fadf 100644 (file)
@@ -37,31 +37,81 @@ protected:
   VISU_CutLinesPL(const VISU_CutLinesPL&);
 public:
   vtkTypeMacro(VISU_CutLinesPL,VISU_CutPlanesPL);
-  static VISU_CutLinesPL* New();
-  virtual void ShallowCopy(VISU_PipeLine *thePipeLine);
 
-  virtual void SetPosition(float thePosition);
-  virtual float GetPosition();
+  static 
+  VISU_CutLinesPL* 
+  New();
 
-  virtual void SetDefault();
-  virtual int IsDefault();
+  virtual
+  void
+  ShallowCopy(VISU_PipeLine *thePipeLine);
+
+  virtual
+  void
+  SetPosition(vtkFloatingPointType thePosition);
+
+  virtual
+  vtkFloatingPointType 
+  GetPosition();
+
+  virtual
+  void
+  SetDefault();
+
+  virtual
+  int
+  IsDefault();
 
 public:
-  virtual void Init();
-  virtual void Update();
+  virtual
+  void
+  Init();
+
+  virtual
+  void
+  Update();
+
+  static
+  void
+  CutWithPlanes(vtkAppendPolyData* theAppendPolyData, 
+               vtkDataSet* theDataSet,
+               int theNbPlanes, 
+               vtkFloatingPointType theDir[3], 
+               vtkFloatingPointType theBounds[6], 
+               vtkFloatingPointType thePlanePosition, 
+               int thePlaneCondition,
+               vtkFloatingPointType theDisplacement);
+
+  const vtkFloatingPointType* 
+  GetDirLn()
+  {
+    return myDirLn;
+  }
+
+  const vtkFloatingPointType* 
+  GetRealDirLn()
+  {
+    return myRealDirLn;
+  }
 
-  static void CutWithPlanes(vtkAppendPolyData* theAppendPolyData, vtkDataSet* theDataSet,
-                           int theNbPlanes, float theDir[3], float theBounds[6], 
-                           float thePlanePosition, int thePlaneCondition,
-                           float theDisplacement);
+  const vtkFloatingPointType* 
+  GetBoundPrjLn()
+  {
+    return myBoundPrjLn;
+  }
 
-  const float* GetDirLn(){ return myDirLn;}
-  const float* GetBoundPrjLn(){ return myBoundPrjLn;}
-  const float* GetBasePnt(){ return myBasePnt;}
+  const vtkFloatingPointType* 
+  GetBasePnt()
+  { 
+    return myBasePnt;
+  }
 
 protected:
-  float myDirLn[3], myBoundPrjLn[3], myBasePnt[3];
-  float myPosition;
+  vtkFloatingPointType myDirLn[3];
+  vtkFloatingPointType myRealDirLn[3];
+  vtkFloatingPointType myBoundPrjLn[3];
+  vtkFloatingPointType myBasePnt[3];
+  vtkFloatingPointType myPosition;
   int myCondition;
 };