Go to the documentation of this file.
30 #ifndef vtkGridSynchronizedTemplates3D_h
31 #define vtkGridSynchronizedTemplates3D_h
33 #include "vtkFiltersCoreModule.h"
105 double GetValue(
int i) {
return this->ContourValues->GetValue(i);}
111 double *
GetValues() {
return this->ContourValues->GetValues();}
119 this->ContourValues->GetValues(contourValues);}
127 this->ContourValues->SetNumberOfContours(number);}
133 return this->ContourValues->GetNumberOfContours();}
140 this->ContourValues->GenerateValues(numContours,
range);}
147 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
168 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
169 vtkGetMacro(OutputPointsPrecision,
int);
187 int MinimumPieceSize[3];
vtkTypeBool ComputeNormals
vtkContourValues * ContourValues
vtkGridSynchronizedTemplates3D()
vtkTypeBool ComputeScalars
topologically regular array of data
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
double * GetValues()
Get a pointer to an array of contour values.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
generate isosurface from structured grids
~vtkGridSynchronizedTemplates3D() override
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
double GetValue(int i)
Get the ith contour value.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
helper object to manage setting and generating contour values
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
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
void SetInputMemoryLimit(long limit)
This filter will initiate streaming so that no piece requested from the input will be larger than thi...
vtkMTimeType GetMTime() override
Because we delegate to vtkContourValues.
int OutputPointsPrecision
vtkTypeBool GenerateTriangles
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkGridSynchronizedTemplates3D * New()
vtkTypeBool ComputeGradients
void GetValues(double *contourValues)
Fill a supplied list with contour values.
void ThreadedExecute(vtkStructuredGrid *input, vtkInformationVector **inVec, vtkInformation *outInfo)
Main execution.
void SetValue(int i, double value)
Set a particular contour value at contour number i.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.