33 #ifndef vtkGridSynchronizedTemplates3D_h
34 #define vtkGridSynchronizedTemplates3D_h
37 #include "vtkFiltersCoreModule.h"
103 void SetValue(
int i,
double value) { this->ContourValues->SetValue(i, value); }
108 double GetValue(
int i) {
return this->ContourValues->GetValue(i); }
114 double*
GetValues() {
return this->ContourValues->GetValues(); }
121 void GetValues(
double* contourValues) { this->ContourValues->GetValues(contourValues); }
141 this->ContourValues->GenerateValues(numContours, range);
150 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
156 void ThreadedExecute(
163 void SetInputMemoryLimit(
long limit);
171 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
172 vtkGetMacro(OutputPointsPrecision,
int);
190 int MinimumPieceSize[3];
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
helper object to manage setting and generating contour values
vtkTypeUInt32 vtkMTimeType
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
generate isosurface from structured grids
double GetValue(int i)
Get the ith contour value.
vtkTypeBool ComputeNormals
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
void GetValues(double *contourValues)
Fill a supplied list with contour values.
vtkTypeBool ComputeScalars
vtkTypeBool GenerateTriangles
vtkTypeBool ComputeGradients
void SetValue(int i, double value)
Set a particular contour value at contour number i.
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkContourValues * ContourValues
int OutputPointsPrecision
topologically regular array of data
double * GetValues()
Get a pointer to an array of contour values.
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.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.