52 #ifndef __vtkContourFilter_h
53 #define __vtkContourFilter_h
55 #include "vtkFiltersCoreModule.h"
56 #include "vtkPolyDataAlgorithm.h"
58 #include "vtkContourValues.h"
60 class vtkIncrementalPointLocator;
71 void PrintSelf(ostream& os, vtkIndent indent);
79 void SetValue(
int i,
double value);
80 double GetValue(
int i);
82 void GetValues(
double *contourValues);
83 void SetNumberOfContours(
int number);
84 int GetNumberOfContours();
85 void GenerateValues(
int numContours,
double range[2]);
86 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
90 unsigned long GetMTime();
97 vtkSetMacro(ComputeNormals,
int);
98 vtkGetMacro(ComputeNormals,
int);
99 vtkBooleanMacro(ComputeNormals,
int);
109 vtkSetMacro(ComputeGradients,
int);
110 vtkGetMacro(ComputeGradients,
int);
111 vtkBooleanMacro(ComputeGradients,
int);
116 vtkSetMacro(ComputeScalars,
int);
117 vtkGetMacro(ComputeScalars,
int);
118 vtkBooleanMacro(ComputeScalars,
int);
123 vtkSetMacro(UseScalarTree,
int);
124 vtkGetMacro(UseScalarTree,
int);
125 vtkBooleanMacro(UseScalarTree,
int);
130 virtual void SetScalarTree(vtkScalarTree*);
131 vtkGetObjectMacro(ScalarTree,vtkScalarTree);
137 void SetLocator(vtkIncrementalPointLocator *locator);
138 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
143 void CreateDefaultLocator();
149 void SetArrayComponent(
int );
150 int GetArrayComponent();
160 vtkSetMacro(GenerateTriangles,
int);
161 vtkGetMacro(GenerateTriangles,
int);
162 vtkBooleanMacro(GenerateTriangles,
int);
167 virtual int ProcessRequest(vtkInformation*,
168 vtkInformationVector**,
169 vtkInformationVector*);
176 void SetOutputPointsPrecision(
int precision);
177 int GetOutputPointsPrecision()
const;
184 virtual void ReportReferences(vtkGarbageCollector*);
186 virtual int RequestData(vtkInformation* request,
187 vtkInformationVector** inputVector,
188 vtkInformationVector* outputVector);
189 virtual int RequestUpdateExtent(vtkInformation*,
190 vtkInformationVector**,
191 vtkInformationVector*);
192 virtual int FillInputPortInformation(
int port, vtkInformation *info);
267 rangeStart,
double rangeEnd)
268 {this->
ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
vtkContourValues * ContourValues
vtkIncrementalPointLocator * Locator
generate isosurface from structured grids
void SetNumberOfContours(int number)
generate isosurface from structured points
void SetValue(int i, double value)
void GenerateValues(int numContours, double range[2])
generate isosurfaces/isolines from scalar values
int GetNumberOfContours()
vtkScalarTree * ScalarTree
vtkSynchronizedTemplates3D * SynchronizedTemplates3D
generate isosurface from rectilinear grid
vtkSynchronizedTemplates2D * SynchronizedTemplates2D
int OutputPointsPrecision
vtkGridSynchronizedTemplates3D * GridSynchronizedTemplates
vtkRectilinearSynchronizedTemplates * RectilinearSynchronizedTemplates
generate isoline(s) from a structured points set