33 #ifndef GEOM_OCCREADER_H
34 #define GEOM_OCCREADER_H
38 #include <vtkAlgorithm.h>
48 #include <TopoDS_Edge.hxx>
49 #include <TopoDS_Shape.hxx>
50 #include <TopoDS_Vertex.hxx>
51 #include <GeomAbs_IsoType.hxx>
52 #include <BRepAdaptor_Surface.hxx>
62 const TopoDS_Shape& getTopo();
64 void setTopo(
const TopoDS_Shape& ashape,
bool isVector =
false);
67 void setDisplayMode(
int);
69 void setForceUpdate(Standard_Boolean bol);
76 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
78 void ComputeShading(vtkPoints* Pts,vtkCellArray* Cells);
79 void ComputeWireframe(vtkPoints* Pts,vtkCellArray* Cells);
81 void TransferFaceSData(
const TopoDS_Face& aFace,
85 void TransferFaceWData(
const TopoDS_Face& aFace,
89 void TransferEdgeSData(
const TopoDS_Edge& aEdge,
93 void TransferEdgeWData(
const TopoDS_Edge& aEdge,
97 void TransferVertexWData(
const TopoDS_Vertex& aVertex,
101 void createISO(
const TopoDS_Face &,
104 vtkCellArray* Cells);
107 const Standard_Boolean IsUIso,
108 Standard_Integer &pt_start_idx,
112 void DrawIso(GeomAbs_IsoType aType,
118 Standard_Integer& startidx);
120 void MoveTo(gp_Pnt P,
123 void DrawTo(gp_Pnt P,
125 vtkCellArray* Cells);
127 void PlotIso(BRepAdaptor_Surface& S,
132 Standard_Boolean& halt,
134 vtkCellArray* Cells);
149 #endif //GEOM_OCCREADER_H