29 #ifndef vtkGridSynchronizedTemplates3D_h
30 #define vtkGridSynchronizedTemplates3D_h
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);
80 vtkSetMacro(GenerateTriangles,
int);
81 vtkGetMacro(GenerateTriangles,
int);
82 vtkBooleanMacro(GenerateTriangles,
int);
87 void SetValue(
int i,
double value) {this->ContourValues->SetValue(i,value);}
90 double GetValue(
int i) {
return this->ContourValues->GetValue(i);}
94 double *
GetValues() {
return this->ContourValues->GetValues();}
101 this->ContourValues->GetValues(contourValues);}
109 this->ContourValues->SetNumberOfContours(number);}
115 return this->ContourValues->GetNumberOfContours();}
122 this->ContourValues->GenerateValues(numContours, range);}
129 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
141 void SetInputMemoryLimit(
long limit);
147 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
148 vtkGetMacro(OutputPointsPrecision,
int);
166 int MinimumPieceSize[3];
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
#define VTKFILTERSCORE_EXPORT
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
int OutputPointsPrecision
topologically regular array of data