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