43 #include "vtkFiltersCoreModule.h"
48 #define VTK_SORT_BY_VALUE 0
49 #define VTK_SORT_BY_CELL 1
51 VTK_ABI_NAMESPACE_BEGIN
76 void SetValue(
int i,
double value) { this->ContourValues->SetValue(i, value); }
81 double GetValue(
int i) {
return this->ContourValues->GetValue(i); }
87 double*
GetValues() {
return this->ContourValues->GetValues(); }
94 void GetValues(
double* contourValues) { this->ContourValues->GetValues(contourValues); }
114 this->ContourValues->GenerateValues(numContours, range);
123 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
190 vtkGetMacro(SortBy,
int);
193 const char* GetSortByAsString();
200 void CreateDefaultLocator();
207 static void GetCellTypeDimensions(
unsigned char* cellTypeDimensions);
215 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
216 vtkGetMacro(OutputPointsPrecision,
int);
228 void StructuredPointsCutter(
249 void operator=(
const vtkCutter&) =
delete;
259 return "SortByValue";
267 VTK_ABI_NAMESPACE_END
abstract interface for implicit functions
Cut vtkDataSet with user-specified implicit function.
vtkNew< vtkRectilinearSynchronizedTemplates > RectilinearSynchronizedTemplates
double GetValue(int i)
Get the ith contour value.
vtkTypeUInt32 vtkMTimeType
abstract class to specify dataset behavior
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
generate isosurface from structured grids
Abstract class in support of both point location and point insertion.
vtkNew< vtkGridSynchronizedTemplates3D > GridSynchronizedTemplates
vtkIncrementalPointLocator * Locator
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
vtkImplicitFunction * CutFunction
vtkTypeBool GenerateTriangles
generate cut surface from structured points
generate isosurface from structured points
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkNew< vtkPlaneCutter > PlaneCutter
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
cut any dataset with a plane and generate a polygonal cut surface
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetSortByToSortByCell()
Set the sorting order for the generated polydata.
vtkTypeBool GenerateCutScalars
vtkNew< vtkSynchronizedTemplates3D > SynchronizedTemplates3D
#define VTK_SORT_BY_VALUE
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
generate isosurface from rectilinear grid
void SetSortByToSortByValue()
Set the sorting order for the generated polydata.
void SetValue(int i, double value)
Set a particular contour value at contour number i.
const char * GetSortByAsString()
Return the sorting procedure as a descriptive character string.
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void GetValues(double *contourValues)
Fill a supplied list with contour values.
int OutputPointsPrecision
vtkNew< vtkContourValues > ContourValues
vtkNew< vtkSynchronizedTemplatesCutter3D > SynchronizedTemplatesCutter3D
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.