47 #ifndef vtkContourFilter_h 48 #define vtkContourFilter_h 50 #include "vtkFiltersCoreModule.h" 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);
106 vtkGetMacro(ComputeNormals,
int);
120 vtkGetMacro(ComputeGradients,
int);
129 vtkGetMacro(ComputeScalars,
int);
138 vtkGetMacro(UseScalarTree,
int);
147 vtkGetObjectMacro(ScalarTree,vtkScalarTree);
163 void CreateDefaultLocator();
170 void SetArrayComponent(
int );
171 int GetArrayComponent();
184 vtkGetMacro(GenerateTriangles,
int);
194 void SetOutputPointsPrecision(
int precision);
195 int GetOutputPointsPrecision() const;
200 ~vtkContourFilter() VTK_OVERRIDE;
209 vtkInformationVector*) VTK_OVERRIDE;
210 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
214 int ComputeGradients;
216 vtkIncrementalPointLocator *Locator;
218 vtkScalarTree *ScalarTree;
219 int OutputPointsPrecision;
220 int GenerateTriangles;
228 static
void InternalProgressCallbackFunction(
vtkObject *caller,
234 vtkContourFilter(const vtkContourFilter&) VTK_DELETE_FUNCTION;
235 void operator=(const vtkContourFilter&) VTK_DELETE_FUNCTION;
242 inline
void vtkContourFilter::SetValue(
int i,
double value)
243 {this->ContourValues->
SetValue(i,value);}
249 {
return this->ContourValues->GetValue(i);}
256 {
return this->ContourValues->GetValues();}
264 {this->ContourValues->GetValues(contourValues);}
272 {this->ContourValues->SetNumberOfContours(number);}
278 {
return this->ContourValues->GetNumberOfContours();}
285 {this->ContourValues->GenerateValues(numContours, range);}
292 rangeStart,
double rangeEnd)
293 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
helper object to manage setting and generating contour values
abstract base class for most VTK objects
vtkTypeUInt32 vtkMTimeType
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.
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.