20#ifndef GEOM_EDGESOURCE_H
21#define GEOM_EDGESOURCE_H
25#include <TopoDS_Edge.hxx>
26#include <TopTools_ShapeMapHasher.hxx>
27#include <NCollection_Map.hxx>
29typedef NCollection_Map<TopoDS_Edge, TopTools_ShapeMapHasher>
TEdgeSet;
32#include <vtkPolyDataAlgorithm.h>
42 void AddEdge (
const TopoDS_Edge& theEdge,
43 bool theIsVector =
false);
44 void Clear(){ myEdgeSet.Clear();}
46 void SetVectorMode(
bool);
51 void OCC2VTK(
const TopoDS_Edge& theEdge,
52 vtkPolyData* thePolyData,
54 bool theIsVector =
false);
56 bool IsEmpty(){
return myEdgeSet.IsEmpty();}
65 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
NCollection_Map< TopoDS_Edge, TopTools_ShapeMapHasher > TEdgeSet
Definition: GEOM_EdgeSource.h:29
#define OCC2VTK_EXPORT
Definition: OCC2VTK.h:33
Definition: GEOM_EdgeSource.h:37
void operator=(const GEOM_EdgeSource &)
bool IsEmpty()
Definition: GEOM_EdgeSource.h:56
void Clear()
Definition: GEOM_EdgeSource.h:44
GEOM_EdgeSource(const GEOM_EdgeSource &)
vtkTypeMacro(GEOM_EdgeSource, vtkPolyDataAlgorithm) static GEOM_EdgeSource *New()
bool myIsVector
Definition: GEOM_EdgeSource.h:63
TEdgeSet myEdgeSet
Definition: GEOM_EdgeSource.h:60