21#ifndef vtkGridSynchronizedTemplates3D_h
22#define vtkGridSynchronizedTemplates3D_h
25#include "vtkFiltersCoreModule.h"
28VTK_ABI_NAMESPACE_BEGIN
92 void SetValue(
int i,
double value) { this->ContourValues->SetValue(i, value); }
97 double GetValue(
int i) {
return this->ContourValues->GetValue(i); }
103 double*
GetValues() {
return this->ContourValues->GetValues(); }
110 void GetValues(
double* contourValues) { this->ContourValues->GetValues(contourValues); }
130 this->ContourValues->GenerateValues(numContours, range);
139 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
160 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
161 vtkGetMacro(OutputPointsPrecision,
int);
179 int MinimumPieceSize[3];
helper object to manage setting and generating contour values
generate isosurface from structured grids
void SetInputMemoryLimit(long limit)
This filter will initiate streaming so that no piece requested from the input will be larger than thi...
void ThreadedExecute(vtkStructuredGrid *input, vtkInformationVector **inputVector, vtkInformation *outInfo)
Main execution.
vtkTypeBool ComputeScalars
void GetValues(double *contourValues)
Fill a supplied list with contour values.
vtkContourValues * ContourValues
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
vtkMTimeType GetMTime() override
Because we delegate to vtkContourValues.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int OutputPointsPrecision
vtkGridSynchronizedTemplates3D()
~vtkGridSynchronizedTemplates3D() override
static vtkGridSynchronizedTemplates3D * New()
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
vtkTypeBool ComputeNormals
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
double * GetValues()
Get a pointer to an array of contour values.
void SetValue(int i, double value)
Set a particular contour value at contour number i.
vtkTypeBool ComputeGradients
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkTypeBool GenerateTriangles
double GetValue(int i)
Get the ith contour value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
topologically regular array of data
vtkTypeUInt32 vtkMTimeType