33 #ifndef vtkMarchingCubes_h
34 #define vtkMarchingCubes_h
36 #include "vtkFiltersCoreModule.h"
51 void SetValue(
int i,
double value);
52 double GetValue(
int i);
54 void GetValues(
double *contourValues);
55 void SetNumberOfContours(
int number);
56 int GetNumberOfContours();
57 void GenerateValues(
int numContours,
double range[2]);
58 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
71 vtkGetMacro(ComputeNormals,
int);
85 vtkGetMacro(ComputeGradients,
int);
94 vtkGetMacro(ComputeScalars,
int);
111 void CreateDefaultLocator();
115 ~vtkMarchingCubes() VTK_OVERRIDE;
118 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
122 int ComputeGradients;
124 vtkIncrementalPointLocator *Locator;
126 vtkMarchingCubes(const vtkMarchingCubes&) VTK_DELETE_FUNCTION;
127 void operator=(const vtkMarchingCubes&) VTK_DELETE_FUNCTION;
134 inline
void vtkMarchingCubes::SetValue(
int i,
double value)
135 {this->ContourValues->
SetValue(i,value);}
141 {
return this->ContourValues->GetValue(i);}
148 {
return this->ContourValues->GetValues();}
156 {this->ContourValues->GetValues(contourValues);}
164 {this->ContourValues->SetNumberOfContours(number);}
170 {
return this->ContourValues->GetNumberOfContours();}
177 {this->ContourValues->GenerateValues(numContours, range);}
184 rangeStart,
double rangeEnd)
185 {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
vtkTypeUInt32 vtkMTimeType
Abstract class in support of both point location and point insertion.
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.