23 #ifndef VTKVIEWER_GEOMETRYFILTER_H
24 #define VTKVIEWER_GEOMETRYFILTER_H
28 #include <vtkGeometryFilter.h>
34 #pragma warning ( disable:4251 )
37 class vtkUnstructuredGrid;
56 void SetInside(
int theShowInside);
66 int GetAppendCoincident3D()
const;
71 void SetAppendCoincident3D(
int theFlag);
76 void SetWireframeMode(
int theIsWireframeMode);
81 int GetWireframeMode();
86 void SetStoreMapping(
int theStoreMapping);
91 int GetStoreMapping();
96 virtual vtkIdType
GetNodeObjId(vtkIdType theVtkID) {
return theVtkID;}
101 virtual vtkIdType GetElemObjId(vtkIdType theVtkID);
103 virtual void SetQuadraticArcMode(
bool theFlag);
104 virtual bool GetQuadraticArcMode()
const;
106 virtual void SetQuadraticArcAngle(
double theMaxAngle);
107 virtual double GetQuadraticArcAngle()
const;
113 static void InsertId(
const vtkIdType theCellId,
114 const vtkIdType theCellType,
128 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
135 int UnstructuredGridExecute (vtkDataSet *, vtkPolyData *, vtkInformation *);
138 void BuildArcedPolygon(vtkIdType cellId,
139 vtkUnstructuredGrid* input,
142 bool triangulate =
false);
148 void FillVTK2ObjIds(vtkPolyData *output);
151 bool delegateToVtk =
false;
165 #pragma warning ( default:4251 )
#define VTKVIEWER_EXPORT
Definition: VTKViewer.h:33
This class used same as vtkGeometryFilter. See documentation on VTK for more information.
Definition: VTKViewer_GeometryFilter.h:42
virtual vtkIdType GetNodeObjId(vtkIdType theVtkID)
Return input value theVtkID.
Definition: VTKViewer_GeometryFilter.h:96
int myAppendCoincident3D
Definition: VTKViewer_GeometryFilter.h:158
TVectorId myVTK2ObjIds
Definition: VTKViewer_GeometryFilter.h:154
std::vector< vtkIdType > TVectorId
Definition: VTKViewer_GeometryFilter.h:109
int myIsWireframeMode
Definition: VTKViewer_GeometryFilter.h:157
static VTKViewer_GeometryFilter * New()
double myMaxArcAngle
Definition: VTKViewer_GeometryFilter.h:160
std::vector< TVectorId > TMapOfVectorId
Definition: VTKViewer_GeometryFilter.h:111
bool myIsBuildArc
Definition: VTKViewer_GeometryFilter.h:161
VTKViewer_GeometryFilter()
Constructor which sets myShowInside = 0 and myStoreMapping = 0.
int myShowInside
Definition: VTKViewer_GeometryFilter.h:155
int myStoreMapping
Definition: VTKViewer_GeometryFilter.h:156