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);}
158 vtkGetMacro(GenerateCutScalars,
int);
171 vtkGetMacro(GenerateTriangles,
int);
201 vtkGetMacro(SortBy,
int);
202 void SetSortByToSortByValue()
206 const char *GetSortByAsString();
228 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
229 vtkGetMacro(OutputPointsPrecision,
int);
247 int GenerateTriangles;
257 int GenerateCutScalars;
258 int OutputPointsPrecision;
261 void operator=(const
vtkCutter&) VTK_DELETE_FUNCTION;
272 return "SortByValue";
helper object to manage setting and generating contour values
Cut vtkDataSet with user-specified implicit function.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
void GetValues(double *contourValues)
Fill a supplied list with contour values.
void CreateDefaultLocator()
Create default locator.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
vtkMTimeType GetMTime() override
Override GetMTime because we delegate to vtkContourValues and refer to vtkImplicitFunction.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetSortByToSortByCell()
double * GetValues()
Get a pointer to an array of contour values.
static vtkCutter * New()
Construct with user-specified implicit function; initial value of 0.0; and generating cut scalars tur...
void SetValue(int i, double value)
Set a particular contour value at contour number i.
vtkCutter(vtkImplicitFunction *cf=NULL)
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
static void GetCellTypeDimensions(unsigned char *cellTypeDimensions)
Normally I would put this in a different class, but since This is a temporary fix until we convert th...
double GetValue(int i)
Get the ith contour value.
abstract class to specify dataset behavior
generate isosurface from structured grids
abstract interface for implicit functions
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
generate isosurface from rectilinear grid
generate isosurface from structured points
generate cut surface from structured points
#define VTK_SORT_BY_VALUE
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType