73#ifndef vtkMarchingContourFilter_h
74#define vtkMarchingContourFilter_h
76#include "vtkFiltersGeneralModule.h"
100 void SetValue(
int i,
double value);
101 double GetValue(
int i);
103 void GetValues(
double* contourValues);
104 void SetNumberOfContours(
int number);
106 void GenerateValues(
int numContours,
double range[2]);
107 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
269 int numContours,
double rangeStart,
double rangeEnd)
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.
abstract class to specify dataset behavior
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
generate isosurfaces/isolines from scalar values
vtkContourValues * ContourValues
vtkTypeBool ComputeGradients
vtkMTimeType GetMTime() override
Modified GetMTime Because we delegate to vtkContourValues.
vtkIncrementalPointLocator * Locator
void CreateDefaultLocator()
Create default locator.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkMarchingContourFilter()
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
~vtkMarchingContourFilter() override
vtkTypeBool UseScalarTree
vtkScalarTree * ScalarTree
double GetValue(int i)
Get the ith contour value.
vtkTypeBool ComputeScalars
void SetValue(int i, double value)
Methods to set / get contour values.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
double * GetValues()
Get a pointer to an array of contour values.
void ImageContour(int dim, vtkDataSet *input, vtkPolyData *output)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void StructuredPointsContour(int dim, vtkDataSet *input, vtkPolyData *output)
vtkTypeBool ComputeNormals
void DataSetContour(vtkDataSet *input, vtkPolyData *output)
static vtkMarchingContourFilter * New()
Construct object with initial range (0,1) and single contour value of 0.0.
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
organize data according to scalar values (used to accelerate contouring operations)
vtkTypeUInt32 vtkMTimeType