29 #ifndef __vtkGridSynchronizedTemplates3D_h
30 #define __vtkGridSynchronizedTemplates3D_h
35 class vtkKitwareContourFilter;
53 vtkSetMacro(ComputeNormals,
int);
54 vtkGetMacro(ComputeNormals,
int);
55 vtkBooleanMacro(ComputeNormals,
int);
65 vtkSetMacro(ComputeGradients,
int);
66 vtkGetMacro(ComputeGradients,
int);
67 vtkBooleanMacro(ComputeGradients,
int);
72 vtkSetMacro(ComputeScalars,
int);
73 vtkGetMacro(ComputeScalars,
int);
74 vtkBooleanMacro(ComputeScalars,
int);
79 void SetValue(
int i,
double value) {this->ContourValues->SetValue(i,value);}
82 double GetValue(
int i) {
return this->ContourValues->GetValue(i);}
86 double *
GetValues() {
return this->ContourValues->GetValues();}
93 this->ContourValues->GetValues(contourValues);}
101 this->ContourValues->SetNumberOfContours(number);}
107 return this->ContourValues->GetNumberOfContours();}
114 this->ContourValues->GenerateValues(numContours, range);}
121 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
134 void SetInputMemoryLimit(
long limit);
149 int MinimumPieceSize[3];
150 int ExecuteExtent[6];
void SetNumberOfContours(int number)
helper object to manage setting and generating contour values
virtual int FillInputPortInformation(int port, vtkInformation *info)
int GetNumberOfContours()
void GenerateValues(int numContours, double range[2])
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
generate isosurface from structured grids
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
void GetValues(double *contourValues)
void SetValue(int i, double value)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
vtkContourValues * ContourValues
topologically regular array of data