39 #ifndef vtkMarchingCubes_h
40 #define vtkMarchingCubes_h
42 #include "vtkFiltersCoreModule.h"
57 void SetValue(
int i,
double value);
58 double GetValue(
int i);
60 void GetValues(
double *contourValues);
61 void SetNumberOfContours(
int number);
62 int GetNumberOfContours();
63 void GenerateValues(
int numContours,
double range[2]);
64 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
77 vtkGetMacro(ComputeNormals,
int);
91 vtkGetMacro(ComputeGradients,
int);
100 vtkGetMacro(ComputeScalars,
int);
117 void CreateDefaultLocator();
121 ~vtkMarchingCubes() VTK_OVERRIDE;
124 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
128 int ComputeGradients;
130 vtkIncrementalPointLocator *Locator;
132 vtkMarchingCubes(const vtkMarchingCubes&) VTK_DELETE_FUNCTION;
133 void operator=(const vtkMarchingCubes&) VTK_DELETE_FUNCTION;
140 inline
void vtkMarchingCubes::SetValue(
int i,
double value)
141 {this->ContourValues->
SetValue(i,value);}
147 {
return this->ContourValues->GetValue(i);}
154 {
return this->ContourValues->GetValues();}
162 {this->ContourValues->GetValues(contourValues);}
170 {this->ContourValues->SetNumberOfContours(number);}
176 {
return this->ContourValues->GetNumberOfContours();}
183 {this->ContourValues->GenerateValues(numContours, range);}
190 rangeStart,
double rangeEnd)
191 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
int GetNumberOfContours()
Get the number of contours in the list of contour values.
helper object to manage setting and generating contour values
Abstract class in support of both point location and point insertion.
vtkTypeUInt64 vtkMTimeType
static vtkPolyDataAlgorithm * New()
double * GetValues()
Get a pointer to an array of contour values.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
generate isosurface(s) from volume
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double GetValue(int i)
Get the ith contour value.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetValue(int i, double value)
Set the ith contour value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.