53 #ifndef vtkContourFilter_h
54 #define vtkContourFilter_h
56 #include "vtkFiltersCoreModule.h"
85 void SetValue(
int i,
double value);
86 double GetValue(
int i);
88 void GetValues(
double *contourValues);
89 void SetNumberOfContours(
int number);
90 int GetNumberOfContours();
91 void GenerateValues(
int numContours,
double range[2]);
92 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
112 vtkGetMacro(ComputeNormals,
int);
126 vtkGetMacro(ComputeGradients,
int);
135 vtkGetMacro(ComputeScalars,
int);
144 vtkGetMacro(UseScalarTree,
int);
153 vtkGetObjectMacro(ScalarTree,vtkScalarTree);
169 void CreateDefaultLocator();
176 void SetArrayComponent(
int );
177 int GetArrayComponent();
190 vtkGetMacro(GenerateTriangles,
int);
200 void SetOutputPointsPrecision(
int precision);
201 int GetOutputPointsPrecision() const;
206 ~vtkContourFilter() VTK_OVERRIDE;
215 vtkInformationVector*) VTK_OVERRIDE;
216 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
220 int ComputeGradients;
222 vtkIncrementalPointLocator *Locator;
224 vtkScalarTree *ScalarTree;
225 int OutputPointsPrecision;
226 int GenerateTriangles;
234 static
void InternalProgressCallbackFunction(
vtkObject *caller,
240 vtkContourFilter(const vtkContourFilter&) VTK_DELETE_FUNCTION;
241 void operator=(const vtkContourFilter&) VTK_DELETE_FUNCTION;
248 inline
void vtkContourFilter::SetValue(
int i,
double value)
249 {this->ContourValues->
SetValue(i,value);}
255 {
return this->ContourValues->GetValue(i);}
262 {
return this->ContourValues->GetValues();}
270 {this->ContourValues->GetValues(contourValues);}
278 {this->ContourValues->SetNumberOfContours(number);}
284 {
return this->ContourValues->GetNumberOfContours();}
291 {this->ContourValues->GenerateValues(numContours, range);}
298 rangeStart,
double rangeEnd)
299 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
helper object to manage setting and generating contour values
abstract base class for most VTK objects
generate isosurface from structured grids
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
Abstract class in support of both point location and point insertion.
vtkTypeUInt64 vtkMTimeType
Detect and break reference loops.
generate isosurface from structured points
static vtkPolyDataAlgorithm * New()
supports function callbacks
Superclass for algorithms that produce only polydata as output.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
generate isosurfaces/isolines from scalar values
a simple class to control print indentation
int GetNumberOfContours()
Get the number of contours in the list of contour values.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
organize data according to scalar values (used to accelerate contouring operations) ...
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
generate isosurface from rectilinear grid
double GetValue(int i)
Get the ith contour value.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
generate isoline(s) from a structured points set
void SetValue(int i, double value)
Set the ith contour value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double * GetValues()
Get a pointer to an array of contour values.