33 #ifndef __vtkRectilinearSynchronizedTemplates_h
34 #define __vtkRectilinearSynchronizedTemplates_h
36 #include "vtkFiltersCoreModule.h"
37 #include "vtkPolyDataAlgorithm.h"
38 #include "vtkContourValues.h"
40 class vtkRectilinearGrid;
41 class vtkKitwareContourFilter;
50 void PrintSelf(ostream& os, vtkIndent indent);
53 unsigned long int GetMTime();
60 vtkSetMacro(ComputeNormals,
int);
61 vtkGetMacro(ComputeNormals,
int);
62 vtkBooleanMacro(ComputeNormals,
int);
72 vtkSetMacro(ComputeGradients,
int);
73 vtkGetMacro(ComputeGradients,
int);
74 vtkBooleanMacro(ComputeGradients,
int);
79 vtkSetMacro(ComputeScalars,
int);
80 vtkGetMacro(ComputeScalars,
int);
81 vtkBooleanMacro(ComputeScalars,
int);
86 void SetValue(
int i,
double value) {this->ContourValues->SetValue(i,value);}
89 double GetValue(
int i) {
return this->ContourValues->GetValue(i);}
93 double *
GetValues() {
return this->ContourValues->GetValues();}
100 this->ContourValues->GetValues(contourValues);}
108 this->ContourValues->SetNumberOfContours(number);}
114 return this->ContourValues->GetNumberOfContours();}
121 this->ContourValues->GenerateValues(numContours, range);}
128 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
137 vtkSetMacro(ArrayComponent,
int);
138 vtkGetMacro(ArrayComponent,
int);
144 vtkSetMacro(GenerateTriangles,
int);
145 vtkGetMacro(GenerateTriangles,
int);
146 vtkBooleanMacro(GenerateTriangles,
int);
153 void ComputeSpacing(vtkRectilinearGrid *data,
int i,
int j,
int k,
154 int extent[6],
double spacing[6]);
168 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
169 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
170 virtual int FillInputPortInformation(
int port, vtkInformation *info);
172 int ExecuteExtent[6];
176 void* GetScalarsForExtent(vtkDataArray *array,
int extent[6],
177 vtkRectilinearGrid *input);
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_1[]
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_2[]
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
vtkContourValues * ContourValues
void SetValue(int i, double value)
void GetValues(double *contourValues)
int GetNumberOfContours()
void SetNumberOfContours(int number)
generate isosurface from rectilinear grid
void GenerateValues(int numContours, double range[2])