Go to the documentation of this file.
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();
128 int ComputeGradients;
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);}
generate isosurface(s) from volume
double GetValue(int i)
Get the ith contour value.
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
vtkTypeUInt64 vtkMTimeType
virtual vtkMTimeType GetMTime()
Return this object's modified time.
helper object to manage setting and generating contour values
a simple class to control print indentation
Abstract class in support of both point location and point insertion.
void SetValue(int i, double value)
Set the ith contour value.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
double * GetValues()
Get a pointer to an array of contour values.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.