29 #ifndef __vtkGridSynchronizedTemplates3D_h
30 #define __vtkGridSynchronizedTemplates3D_h
32 #include "vtkFiltersCoreModule.h"
36 class vtkKitwareContourFilter;
44 void PrintSelf(ostream& os, vtkIndent indent);
47 unsigned long int GetMTime();
54 vtkSetMacro(ComputeNormals,
int);
55 vtkGetMacro(ComputeNormals,
int);
56 vtkBooleanMacro(ComputeNormals,
int);
66 vtkSetMacro(ComputeGradients,
int);
67 vtkGetMacro(ComputeGradients,
int);
68 vtkBooleanMacro(ComputeGradients,
int);
73 vtkSetMacro(ComputeScalars,
int);
74 vtkGetMacro(ComputeScalars,
int);
75 vtkBooleanMacro(ComputeScalars,
int);
81 vtkSetMacro(GenerateTriangles,
int);
82 vtkGetMacro(GenerateTriangles,
int);
83 vtkBooleanMacro(GenerateTriangles,
int);
88 void SetValue(
int i,
double value) {this->ContourValues->SetValue(i,value);}
91 double GetValue(
int i) {
return this->ContourValues->GetValue(i);}
95 double *
GetValues() {
return this->ContourValues->GetValues();}
102 this->ContourValues->GetValues(contourValues);}
110 this->ContourValues->SetNumberOfContours(number);}
116 return this->ContourValues->GetNumberOfContours();}
123 this->ContourValues->GenerateValues(numContours, range);}
130 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
137 vtkInformationVector **inVec,
138 vtkInformation *outInfo);
143 void SetInputMemoryLimit(
long limit);
149 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
150 vtkGetMacro(OutputPointsPrecision,
int);
157 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
158 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
168 int MinimumPieceSize[3];
169 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.
vtkContourValues * ContourValues
int OutputPointsPrecision
topologically regular array of data