30#ifndef vtkGridSynchronizedTemplates3D_h
31#define vtkGridSynchronizedTemplates3D_h
33#include "vtkFiltersCoreModule.h"
59 vtkGetMacro(ComputeNormals,
int);
73 vtkGetMacro(ComputeGradients,
int);
82 vtkGetMacro(ComputeScalars,
int);
92 vtkGetMacro(GenerateTriangles,
int);
100 void SetValue(
int i,
double value) {this->ContourValues->SetValue(i,
value);}
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);
181 int ComputeGradients;
183 int GenerateTriangles;
187 int MinimumPieceSize[3];
188 int OutputPointsPrecision;
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 GetValues(double *contourValues)
Fill a supplied list with contour values.
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.
void ThreadedExecute(vtkStructuredGrid *input, vtkInformationVector **inVec, vtkInformation *outInfo)
Main execution.
vtkGridSynchronizedTemplates3D()
~vtkGridSynchronizedTemplates3D() override
int GetNumberOfContours()
Get the number of contours in the list of contour values.
static vtkGridSynchronizedTemplates3D * New()
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
double * GetValues()
Get a pointer to an array of contour values.
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType