22#ifndef vtkRectilinearSynchronizedTemplates_h
23#define vtkRectilinearSynchronizedTemplates_h
26#include "vtkFiltersCoreModule.h"
29VTK_ABI_NAMESPACE_BEGIN
85 void SetValue(
int i,
double value) { this->ContourValues->SetValue(i, value); }
90 double GetValue(
int i) {
return this->ContourValues->GetValue(i); }
96 double*
GetValues() {
return this->ContourValues->GetValues(); }
103 void GetValues(
double* contourValues) { this->ContourValues->GetValues(contourValues); }
123 this->ContourValues->GenerateValues(numContours, range);
132 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
139 vtkSetMacro(ArrayComponent,
int);
140 vtkGetMacro(ArrayComponent,
int);
helper object to manage setting and generating contour values
abstract superclass for arrays of numeric data
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
a dataset that is topologically regular with variable spacing in the three coordinate directions
generate isosurface from rectilinear grid
vtkContourValues * ContourValues
void * GetScalarsForExtent(vtkDataArray *array, int extent[6], vtkRectilinearGrid *input)
vtkMTimeType GetMTime() override
Because we delegate to vtkContourValues.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
vtkTypeBool GenerateTriangles
double * GetValues()
Get a pointer to an array of contour values.
double GetValue(int i)
Get the ith contour value.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkRectilinearSynchronizedTemplates()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkRectilinearSynchronizedTemplates() override
void GetValues(double *contourValues)
Fill a supplied list with contour values.
static vtkRectilinearSynchronizedTemplates * New()
void SetValue(int i, double value)
Set a particular contour value at contour number i.
vtkTypeBool ComputeGradients
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
vtkTypeBool ComputeNormals
void ComputeSpacing(vtkRectilinearGrid *data, int i, int j, int k, int extent[6], double spacing[6])
Compute the spacing between this point and its 6 neighbors.
vtkTypeBool ComputeScalars
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_1[]
int VTK_RECTILINEAR_SYNCHONIZED_TEMPLATES_TABLE_2[]
vtkTypeUInt32 vtkMTimeType