Salome HOME
Porting to VTK 6.
[modules/visu.git] / src / PIPELINE / VISU_CutPlanesPL.hxx
index d4dbae22707f81f7f79dd3f6594e1fea04cf3ea1..238794d59dd7c3969399e53824cf1d43741152ed 100644 (file)
@@ -59,8 +59,8 @@ public:
   virtual 
   void
   SetOrientation(const VISU_CutPlanesPL::PlaneOrientation& theOrient,
-                 vtkFloatingPointType theXAng, 
-                 vtkFloatingPointType theYAng, 
+                 double theXAng, 
+                 double theYAng, 
                  int theNum = 0);
   
   virtual 
@@ -68,29 +68,29 @@ public:
   GetPlaneOrientation(int theNum = 0);
 
   virtual
-  vtkFloatingPointTyp
+  doubl
   GetRotateX(int theNum = 0);
 
   virtual
-  vtkFloatingPointType
+  double
   GetRotateY(int theNum = 0);
 
   virtual
-  vtkFloatingPointTyp
+  doubl
   GetDisplacement(int theNum = 0);
 
   virtual
   void
-  SetDisplacement(vtkFloatingPointType theDisp, 
+  SetDisplacement(double theDisp, 
                   int theNum = 0);
 
   virtual
   void
   SetPartPosition(int thePartNumber, 
-                  vtkFloatingPointType thePartPosition);
+                  double thePartPosition);
 
   virtual
-  vtkFloatingPointTyp
+  doubl
   GetPartPosition(int thePartNumber, 
                   int theNum = 0);
 
@@ -133,35 +133,35 @@ public:
 
 public:
   static
-  vtkFloatingPointType* 
-  GetRx(vtkFloatingPointType theRx[3][3], 
-        vtkFloatingPointType thaAng);
+  double* 
+  GetRx(double theRx[3][3], 
+        double thaAng);
 
   static
-  vtkFloatingPointType* 
-  GetRy(vtkFloatingPointType theRy[3][3], 
-        vtkFloatingPointType thaAng);
+  double* 
+  GetRy(double theRy[3][3], 
+        double thaAng);
 
   static
-  vtkFloatingPointType* 
-  GetRz(vtkFloatingPointType theRz[3][3], 
-        vtkFloatingPointType thaAng);
+  double* 
+  GetRz(double theRz[3][3], 
+        double thaAng);
 
   static
   void
-  CorrectPnt(vtkFloatingPointType thePnt[3], 
-             const vtkFloatingPointType BoundPrj[6]);
+  CorrectPnt(double thePnt[3], 
+             const double BoundPrj[6]);
 
   static
   void
-  GetBoundProject(vtkFloatingPointType BoundPrj[3], 
-                  const vtkFloatingPointType BoundBox[6], 
-                  const vtkFloatingPointType Dir[3]);
+  GetBoundProject(double BoundPrj[3], 
+                  const double BoundBox[6], 
+                  const double Dir[3]);
 
   static
   void
-  GetDir(vtkFloatingPointType theDir[3],
-         const vtkFloatingPointType theAng[3],
+  GetDir(double theDir[3],
+         const double theAng[3],
          const PlaneOrientation& theBasePlane);
 
   static 
@@ -172,26 +172,26 @@ public:
   void
   CutWithPlane(vtkAppendPolyData* theAppendPolyData, 
                vtkDataSet* theDataSet,
-               vtkFloatingPointType theDir[3], 
-               vtkFloatingPointType theOrig[3]);
+               double theDir[3], 
+               double theOrig[3]);
 
   static
   void
   CutWithPlanes(vtkAppendPolyData* theAppendPolyData, 
                 vtkDataSet* theDataSet,
                 int theNbPlanes, 
-                vtkFloatingPointType theDir[3], 
-                vtkFloatingPointType theBounds[6],
-                const std::vector<vtkFloatingPointType>& thePlanePosition,
+                double theDir[3], 
+                double theBounds[6],
+                const std::vector<double>& thePlanePosition,
                 const std::vector<int>& thePlaneCondition,
-                vtkFloatingPointType theDisplacement);
+                double theDisplacement);
 
   virtual void SetVectorialField(VISU::PUnstructuredGridIDMapper);
   VISU::PUnstructuredGridIDMapper getVectorialField();
 
   virtual
   void
-  SetMapScale(vtkFloatingPointType theMapScale = 1.0);
+  SetMapScale(double theMapScale = 1.0);
 
 
 protected:
@@ -214,9 +214,9 @@ protected:
 
   int myNbParts;
   PlaneOrientation myBasePlane[2];
-  vtkFloatingPointType myAng[2][3], myDisplacement[2];
+  double myAng[2][3], myDisplacement[2];
   vtkAppendPolyData *myAppendPolyData;
-  std::vector<vtkFloatingPointType> myPartPosition;
+  std::vector<double> myPartPosition;
   std::vector<int> myPartCondition;
 
 private: