33 #ifndef __vtkRectilinearSynchronizedTemplates_h
34 #define __vtkRectilinearSynchronizedTemplates_h
36 #include "vtkFiltersCoreModule.h"
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);
154 int extent[6],
double spacing[6]);
168 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
169 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
172 int ExecuteExtent[6];
176 void* GetScalarsForExtent(vtkDataArray *array,
int extent[6],
helper object to manage setting and generating contour values
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
virtual int FillInputPortInformation(int port, vtkInformation *info)
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_1[]
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_2[]
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
vtkContourValues * ContourValues
void SetValue(int i, double value)
void GetValues(double *contourValues)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Superclass for algorithms that produce only polydata as output.
int GetNumberOfContours()
void SetNumberOfContours(int number)
generate isosurface from rectilinear grid
void GenerateValues(int numContours, double range[2])