54 #ifndef vtkContourFilter_h 55 #define vtkContourFilter_h 57 #include "vtkFiltersCoreModule.h" 86 void SetValue(
int i,
double value);
87 double GetValue(
int i);
89 void GetValues(
double *contourValues);
90 void SetNumberOfContours(
int number);
91 int GetNumberOfContours();
92 void GenerateValues(
int numContours,
double range[2]);
93 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
170 void CreateDefaultLocator();
177 void SetArrayComponent(
int );
178 int GetArrayComponent();
201 void SetOutputPointsPrecision(
int precision);
202 int GetOutputPointsPrecision()
const;
235 static void InternalProgressCallbackFunction(
vtkObject *caller,
250 {this->ContourValues->SetValue(i,value);}
256 {
return this->ContourValues->GetValue(i);}
263 {
return this->ContourValues->GetValues();}
271 {this->ContourValues->GetValues(contourValues);}
279 {this->ContourValues->SetNumberOfContours(number);}
285 {
return this->ContourValues->GetNumberOfContours();}
292 {this->ContourValues->GenerateValues(numContours, range);}
299 rangeStart,
double rangeEnd)
300 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
helper object to manage setting and generating contour values
abstract base class for most VTK objects
vtkContourValues * ContourValues
vtkTypeBool UseScalarTree
vtkIncrementalPointLocator * Locator
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
generate isosurface from structured grids
vtkTypeBool ComputeNormals
void ReportReferences(vtkGarbageCollector *) override
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.
vtkCallbackCommand * InternalProgressCallbackCommand
Detect and break reference loops.
generate isosurface from structured points
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetValue(int i, double value)
Methods to set / get contour values.
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
vtkTypeBool ComputeScalars
int GetNumberOfContours()
Get the number of contours in the list of contour values.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkScalarTree * ScalarTree
organize data according to scalar values (used to accelerate contouring operations) ...
vtkSynchronizedTemplates3D * SynchronizedTemplates3D
vtkTypeBool GenerateTriangles
generate isosurface from rectilinear grid
vtkSynchronizedTemplates2D * SynchronizedTemplates2D
double GetValue(int i)
Get the ith contour value.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int OutputPointsPrecision
vtkTypeBool ComputeGradients
vtkGridSynchronizedTemplates3D * GridSynchronizedTemplates
vtkRectilinearSynchronizedTemplates * RectilinearSynchronizedTemplates
generate isoline(s) from a structured points set
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.