54 #include "vtkFiltersCoreModule.h"
59 #define VTK_SORT_BY_VALUE 0
60 #define VTK_SORT_BY_CELL 1
86 {this->ContourValues->SetValue(i,value);}
92 {
return this->ContourValues->GetValue(i);}
99 {
return this->ContourValues->GetValues();}
107 {this->ContourValues->GetValues(contourValues);}
115 {this->ContourValues->SetNumberOfContours(number);}
121 {
return this->ContourValues->GetNumberOfContours();}
128 {this->ContourValues->GenerateValues(numContours, range);}
135 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
148 vtkGetObjectMacro(CutFunction,vtkImplicitFunction);
158 vtkGetMacro(GenerateCutScalars,
int);
171 vtkGetMacro(GenerateTriangles,
int);
201 vtkGetMacro(SortBy,
int);
202 void SetSortByToSortByValue()
203 {this->SetSortBy(VTK_SORT_BY_VALUE);}
206 const char *GetSortByAsString();
213 void CreateDefaultLocator();
220 static void GetCellTypeDimensions(
unsigned char* cellTypeDimensions);
228 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
229 vtkGetMacro(OutputPointsPrecision,
int);
237 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
238 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
242 vtkInformation *, vtkInformationVector **,
243 vtkInformationVector *);
244 void StructuredGridCutter(vtkDataSet *, vtkPolyData *);
245 void RectilinearGridCutter(vtkDataSet *, vtkPolyData *);
247 int GenerateTriangles;
257 int GenerateCutScalars;
258 int OutputPointsPrecision;
261 void operator=(const
vtkCutter&) VTK_DELETE_FUNCTION;
272 return "SortByValue";
abstract interface for implicit functions
Cut vtkDataSet with user-specified implicit function.
helper object to manage setting and generating contour values
double GetValue(int i)
Get the ith contour value.
abstract class to specify dataset behavior
generate isosurface from structured grids
Abstract class in support of both point location and point insertion.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTypeUInt64 vtkMTimeType
generate cut surface from structured points
generate isosurface from structured points
static vtkPolyDataAlgorithm * New()
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.
void SetSortByToSortByCell()
Set the sorting order for the generated polydata.
#define VTK_SORT_BY_VALUE
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
generate isosurface from rectilinear grid
void SetValue(int i, double value)
Set a particular contour value at contour number i.
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double * GetValues()
Get a pointer to an array of contour values.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.