Go to the documentation of this file.
49 #ifndef vtkGenericCutter_h
50 #define vtkGenericCutter_h
52 #include "vtkFiltersGenericModule.h"
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
represent and manipulate point attribute data
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.
cut a vtkGenericDataSet with an implicit function or scalar data
void SetLocator(vtkIncrementalPointLocator *locator)
Specify a spatial locator for merging points.
abstract interface for implicit functions
vtkImplicitFunction * CutFunction
helper object to manage setting and generating contour values
void SetValue(int i, double value)
Set a particular contour value at contour number i.
represent and manipulate cell attribute data
a simple class to control print indentation
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Actual implementation of the cutter operation.
vtkPointData * SecondaryPD
Abstract class in support of both point location and point insertion.
vtkIncrementalPointLocator * Locator
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
~vtkGenericCutter() override
vtkTypeBool GenerateCutScalars
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.
vtkCellData * SecondaryCD
vtkGenericCutter(vtkImplicitFunction *cf=nullptr)
vtkMTimeType GetMTime() override
Override GetMTime because we delegate to vtkContourValues and refer to vtkImplicitFunction.
double * GetValues()
Get a pointer to an array of contour values.
vtkPointData * InternalPD
virtual void SetCutFunction(vtkImplicitFunction *)
Specify the implicit function to perform the cutting.
static vtkGenericCutter * New()
Construct with user-specified implicit function; initial value of 0.0; and generating cut scalars tur...
void CreateDefaultLocator()
Create default locator.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkTypeUInt32 vtkMTimeType
vtkContourValues * ContourValues
Superclass for algorithms that produce only polydata as output.