Salome HOME
Update copyright information
[modules/geom.git] / src / OBJECT / GEOM_WireframeFace.h
index cdbe122b3a895f50da2d1840a43ecfaf2179675c..eda41103ce6500d49a811c7a1f1ac72b984e624c 100755 (executable)
@@ -15,8 +15,8 @@ public:
   vtkTypeMacro(GEOM_WireframeFace,GEOM_FaceSource); 
   static GEOM_WireframeFace* New(); 
  
-  vtkSetMacro(NbIso,int); 
-  vtkGetMacro(NbIso,int); 
+  /*  vtkSetMacro(NbIso,int); 
+      vtkGetMacro(NbIso,int);*/
  
   vtkSetMacro(Discret,int); 
   vtkGetMacro(Discret,int); 
@@ -25,16 +25,22 @@ public:
   void OCC2VTK(const TopoDS_Face& theFace,  
                vtkPolyData* thePolyData, 
                vtkPoints* thePts, 
-               int theNbIso = 1, 
-               int theDiscret = 15); 
+               const int theNbIso[2], 
+               const int theDiscret = 15);
+
+  //! IsoLines management
+  // theNb[0] - number of U lines
+  // theNb[1] - number of V lines
+  virtual void SetNbIso(const int theNb[2]);
+  virtual void GetNbIso(int &theNbU,int &theNbV);
+
 protected: 
-  int NbIso, Discret; 
+  int NbIso[2], Discret; 
  
   static  
   void 
   CreateIso(const TopoDS_Face& theFace,
-                 const int theNbIso
+           const int theNbIso[2]
             const int theDiscret, 
             vtkPolyData* thePolyData,
             vtkPoints* thePts);