36 #ifndef vtkImageMarchingCubes_h 37 #define vtkImageMarchingCubes_h 39 #include "vtkFiltersGeneralModule.h" 60 void SetValue(
int i,
double value);
61 double GetValue(
int i);
63 void GetValues(
double *contourValues);
64 void SetNumberOfContours(
int number);
65 int GetNumberOfContours();
66 void GenerateValues(
int numContours,
double range[2]);
67 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
80 vtkGetMacro(ComputeScalars,
int);
91 vtkGetMacro(ComputeNormals,
int);
104 vtkGetMacro(ComputeGradients,
int);
111 int ComputeGradients;
120 vtkIdType GetLocatorPoint(
int cellX,
int cellY,
int edge);
121 void AddLocatorPoint(
int cellX,
int cellY,
int edge,
vtkIdType ptId);
122 void IncrementLocatorZ();
131 vtkGetMacro(InputMemoryLimit,
vtkIdType);
138 int NumberOfSlicesPerChunk;
152 void March(
vtkImageData *inData,
int chunkMin,
int chunkMax,
153 int numContours,
double *values);
154 void InitializeLocator(
int min0,
int max0,
int min1,
int max1);
155 void DeleteLocator();
156 vtkIdType *GetLocatorPointer(
int cellX,
int cellY,
int edge);
174 {
return this->ContourValues->GetValue(i);}
181 {
return this->ContourValues->GetValues();}
189 {this->ContourValues->GetValues(contourValues);}
197 {this->ContourValues->SetNumberOfContours(number);}
203 {
return this->ContourValues->GetNumberOfContours();}
210 {this->ContourValues->GenerateValues(numContours,
range);}
217 rangeStart,
double rangeEnd)
218 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
double * GetValues()
Get a pointer to an array of contour values.
helper object to manage setting and generating contour values
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
vtkTypeUInt32 vtkMTimeType
dynamic, self-adjusting array of float
generate isosurface(s) from volume/images
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
topologically and geometrically regular array of data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
object to represent cell connectivity
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
double GetValue(int i)
Get the ith contour value.
void SetValue(int i, double value)
Set the ith contour value.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.