57#ifndef vtkMarchingContourFilter_h
58#define vtkMarchingContourFilter_h
60#include "vtkFiltersGeneralModule.h"
84 void SetValue(
int i,
double value);
85 double GetValue(
int i);
87 void GetValues(
double *contourValues);
88 void SetNumberOfContours(
int number);
89 int GetNumberOfContours();
90 void GenerateValues(
int numContours,
double range[2]);
91 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
107 vtkGetMacro(ComputeNormals,
int);
121 vtkGetMacro(ComputeGradients,
int);
130 vtkGetMacro(ComputeScalars,
int);
139 vtkGetMacro(UseScalarTree,
int);
156 void CreateDefaultLocator();
167 int ComputeGradients;
198 return this->ContourValues->GetValue(i);
207 return this->ContourValues->GetValues();
217 this->ContourValues->GetValues(contourValues);
227 this->ContourValues->SetNumberOfContours(number);
235 return this->ContourValues->GetNumberOfContours();
245 this->ContourValues->GenerateValues(numContours,
range);
256 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
helper object to manage setting and generating contour values
void SetValue(int i, double value)
Set 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
vtkMTimeType GetMTime() override
Modified GetMTime Because we delegate to vtkContourValues.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
double GetValue(int i)
Get the ith contour value.
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkMarchingContourFilter * New()
Construct object with initial range (0,1) and single contour value of 0.0.
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)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType