38 #ifndef vtkMarchingCubes_h 39 #define vtkMarchingCubes_h 56 void SetValue(
int i,
double value);
57 double GetValue(
int i);
59 void GetValues(
double *contourValues);
60 void SetNumberOfContours(
int number);
61 int GetNumberOfContours();
62 void GenerateValues(
int numContours,
double range[2]);
63 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
106 void CreateDefaultLocator();
129 {this->ContourValues->SetValue(i,value);}
135 {
return this->ContourValues->GetValue(i);}
142 {
return this->ContourValues->GetValues();}
150 {this->ContourValues->GetValues(contourValues);}
158 {this->ContourValues->SetNumberOfContours(number);}
164 {
return this->ContourValues->GetNumberOfContours();}
171 {this->ContourValues->GenerateValues(numContours, range);}
178 rangeStart,
double rangeEnd)
179 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
int GetNumberOfContours()
helper object to manage setting and generating contour values
virtual int FillInputPortInformation(int port, vtkInformation *info)
void SetValue(int i, double value)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSCORE_EXPORT
#define vtkGetMacro(name, type)
Abstract class in support of both point location and point insertion.
#define vtkTypeMacro(thisClass, superclass)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
vtkIncrementalPointLocator * Locator
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
generate isosurface(s) from volume
void SetNumberOfContours(int number)
#define vtkGetObjectMacro(name, type)
void GenerateValues(int numContours, double range[2])
#define vtkBooleanMacro(name, type)
#define vtkSetMacro(name, type)
vtkContourValues * ContourValues