34 #ifndef vtkRectilinearSynchronizedTemplates_h
35 #define vtkRectilinearSynchronizedTemplates_h
37 #include "vtkFiltersCoreModule.h"
65 vtkGetMacro(ComputeNormals,
int);
79 vtkGetMacro(ComputeGradients,
int);
88 vtkGetMacro(ComputeScalars,
int);
96 void SetValue(
int i,
double value) {this->ContourValues->SetValue(i,value);}
101 double GetValue(
int i) {
return this->ContourValues->GetValue(i);}
107 double *
GetValues() {
return this->ContourValues->GetValues();}
115 this->ContourValues->GetValues(contourValues);}
123 this->ContourValues->SetNumberOfContours(number);}
129 return this->ContourValues->GetNumberOfContours();}
136 this->ContourValues->GenerateValues(numContours, range);}
143 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
150 vtkGetMacro(ArrayComponent,
int);
159 vtkGetMacro(GenerateTriangles,
int);
175 int ComputeGradients;
177 int GenerateTriangles;
182 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
183 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
helper object to manage setting and generating contour values
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_1[]
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_2[]
double GetValue(int i)
Get the ith contour value.
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
vtkTypeUInt64 vtkMTimeType
void GetValues(double *contourValues)
Fill a supplied list with contour values.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
int GetNumberOfContours()
Get the number of contours in the list of contour values.
abstract superclass for arrays of numeric data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
double * GetValues()
Get a pointer to an array of contour values.
generate isosurface from rectilinear grid
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.