29 #ifndef __vtkGridSynchronizedTemplates3D_h
30 #define __vtkGridSynchronizedTemplates3D_h
32 #include "vtkFiltersCoreModule.h"
33 #include "vtkPolyDataAlgorithm.h"
34 #include "vtkContourValues.h"
36 class vtkKitwareContourFilter;
37 class vtkStructuredGrid;
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);}
136 void ThreadedExecute(
int *exExt,
int threadId, vtkStructuredGrid *input,
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 *);
159 virtual int FillInputPortInformation(
int port, vtkInformation *info);
168 int MinimumPieceSize[3];
169 int ExecuteExtent[6];
void SetNumberOfContours(int number)
int GetNumberOfContours()
void GenerateValues(int numContours, double range[2])
generate isosurface from structured grids
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
void GetValues(double *contourValues)
void SetValue(int i, double value)
vtkContourValues * ContourValues
int OutputPointsPrecision