34 #ifndef vtkRectilinearSynchronizedTemplates_h
35 #define vtkRectilinearSynchronizedTemplates_h
38 #include "vtkFiltersCoreModule.h"
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(); }
114 void GetValues(
double* contourValues) { this->ContourValues->GetValues(contourValues); }
134 this->ContourValues->GenerateValues(numContours, range);
143 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
150 vtkSetMacro(ArrayComponent,
int);
151 vtkGetMacro(ArrayComponent,
int);
helper object to manage setting and generating contour values
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_1[]
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_2[]
vtkTypeUInt32 vtkMTimeType
vtkTypeBool ComputeScalars
double GetValue(int i)
Get the ith contour value.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
vtkContourValues * ContourValues
void SetValue(int i, double value)
Set a particular contour value at contour number i.
void GetValues(double *contourValues)
Fill a supplied list with contour values.
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only polydata as output.
vtkTypeBool ComputeNormals
a simple class to control print indentation
abstract superclass for arrays of numeric data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
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
vtkTypeBool GenerateTriangles
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool ComputeGradients
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.