Go to the documentation of this file.
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);
299 rangeStart,
double rangeEnd)
void CreateDefaultLocator()
Create default locator.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
double * GetValues()
Return a pointer to a list of contour values.
int GetNumberOfContours()
Return the number of contours in the.
static void InternalProgressCallbackFunction(vtkObject *caller, unsigned long eid, void *clientData, void *callData)
vtkMTimeType GetMTime() override
Modified GetMTime Because we delegate to vtkContourValues.
int OutputPointsPrecision
double * GetValues()
Get a pointer to an array of contour values.
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
abstract base class for most VTK objects
vtkTypeBool ComputeGradients
vtkGridSynchronizedTemplates3D * GridSynchronizedTemplates
generate isoline(s) from a structured points set
generate isosurface from structured grids
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
void SetArrayComponent(int)
Set/get which component of the scalar array to contour on; defaults to 0.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkContourValues * ContourValues
vtkScalarTree * ScalarTree
vtkIncrementalPointLocator * Locator
generate isosurface from rectilinear grid
vtkTypeBool GenerateTriangles
void ReportReferences(vtkGarbageCollector *) override
double GetValue(int i)
Get the ith contour value.
vtkRectilinearSynchronizedTemplates * RectilinearSynchronizedTemplates
vtkSynchronizedTemplates3D * SynchronizedTemplates3D
vtkTypeBool UseScalarTree
vtkSynchronizedTemplates2D * SynchronizedTemplates2D
~vtkContourFilter() override
helper object to manage setting and generating contour values
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int GetOutputPointsPrecision() const
a simple class to control print indentation
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
double GetValue(int i)
Get the ith contour value.
Abstract class in support of both point location and point insertion.
void SetValue(int i, double value)
Set the ith contour value.
Detect and break reference loops.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
supports function callbacks
generate isosurface from structured points
vtkTypeBool ComputeScalars
void SetValue(int i, double value)
Methods to set / get contour values.
vtkCallbackCommand * InternalProgressCallbackCommand
organize data according to scalar values (used to accelerate contouring operations)
static vtkContourFilter * New()
Construct object with initial range (0,1) and single contour value of 0.0.
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
vtkTypeBool ComputeNormals
void SetOutputPointsPrecision(int precision)
Set/get the desired precision for the output types.
generate isosurfaces/isolines from scalar values
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.
virtual void SetScalarTree(vtkScalarTree *)
Enable the use of a scalar tree to accelerate contour extraction.