1 #ifndef GEOM_WIREFRAME_FACE_H
2 #define GEOM_WIREFRAME_FACE_H
4 #include "GEOM_FaceSource.h"
6 #include <GeomAbs_IsoType.hxx>
7 #include <BRepAdaptor_Surface.hxx>
9 #include <vtkPolyDataSource.h>
12 class VTK_EXPORT GEOM_WireframeFace: public GEOM_FaceSource
15 vtkTypeMacro(GEOM_WireframeFace,GEOM_FaceSource);
16 static GEOM_WireframeFace* New();
18 /* vtkSetMacro(NbIso,int);
19 vtkGetMacro(NbIso,int);*/
21 vtkSetMacro(Discret,int);
22 vtkGetMacro(Discret,int);
25 void OCC2VTK(const TopoDS_Face& theFace,
26 vtkPolyData* thePolyData,
28 const int theNbIso[2],
29 const int theDiscret = 15);
31 //! IsoLines management
32 // theNb[0] - number of U lines
33 // theNb[1] - number of V lines
34 virtual void SetNbIso(const int theNb[2]);
35 virtual void GetNbIso(int &theNbU,int &theNbV);
38 int NbIso[2], Discret;
42 CreateIso(const TopoDS_Face& theFace,
43 const int theNbIso[2],
45 vtkPolyData* thePolyData,
50 CreateIso_(const TopoDS_Face& theFace,
51 GeomAbs_IsoType theIsoType,
56 vtkPolyData* thePolyData,
61 CreateIso__(const BRepAdaptor_Surface& theSurface,
62 GeomAbs_IsoType theIsoType,
65 Standard_Real theStep,
66 vtkPolyData* thePolyData,
72 ~GEOM_WireframeFace();
76 GEOM_WireframeFace(const GEOM_WireframeFace&);
77 void operator=(const GEOM_WireframeFace&);
81 #endif //GEOM_WFACEACTOR_H