 |
VTK
9.1.0
|
Go to the documentation of this file.
147 #include "vtkFiltersCoreModule.h"
152 #define VTK_SORT_BY_VALUE 0
153 #define VTK_SORT_BY_CELL 1
183 double GetValue(
int i) {
return this->ContourValues->GetValue(i); }
189 double*
GetValues() {
return this->ContourValues->GetValues(); }
196 void GetValues(
double* contourValues) { this->ContourValues->GetValues(contourValues); }
216 this->ContourValues->GenerateValues(numContours,
range);
225 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
292 vtkGetMacro(SortBy,
int);
295 const char* GetSortByAsString();
317 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
318 vtkGetMacro(OutputPointsPrecision,
int);
350 void operator=(
const vtkCutter&) =
delete;
360 return "SortByValue";
double GetValue(int i)
Get the ith contour value.
generate cut surface from structured points
vtkContourValues * ContourValues
int OutputPointsPrecision
vtkRectilinearSynchronizedTemplates * RectilinearSynchronizedTemplates
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
void UnstructuredGridCutter(vtkDataSet *input, vtkPolyData *output)
vtkIncrementalPointLocator * Locator
Cut vtkDataSet with user-specified implicit function.
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...
static vtkCutter * New()
Construct with user-specified implicit function; initial value of 0.0; and generating cut scalars tur...
vtkSynchronizedTemplates3D * SynchronizedTemplates3D
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
void DataSetCutter(vtkDataSet *input, vtkPolyData *output)
#define VTK_SORT_BY_VALUE
virtual void SetCutFunction(vtkImplicitFunction *)
Specify the implicit function to perform the cutting.
vtkSynchronizedTemplatesCutter3D * SynchronizedTemplatesCutter3D
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void StructuredPointsCutter(vtkDataSet *, vtkPolyData *, vtkInformation *, vtkInformationVector **, vtkInformationVector *)
generate isosurface from structured grids
void RectilinearGridCutter(vtkDataSet *, vtkPolyData *)
void SetSortByToSortByCell()
Set the sorting order for the generated polydata.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool GenerateCutScalars
void SetSortByToSortByValue()
Set the sorting order for the generated polydata.
abstract interface for implicit functions
generate isosurface from rectilinear grid
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool GenerateTriangles
helper object to manage setting and generating contour values
double * GetValues()
Get a pointer to an array of contour values.
a simple class to control print indentation
vtkMTimeType GetMTime() override
Override GetMTime because we delegate to vtkContourValues and refer to vtkImplicitFunction.
vtkCutter(vtkImplicitFunction *cf=nullptr)
Abstract class in support of both point location and point insertion.
void GetValues(double *contourValues)
Fill a supplied list with contour values.
void CreateDefaultLocator()
Create default locator.
const char * GetSortByAsString()
Return the sorting procedure as a descriptive character string.
abstract class to specify dataset behavior
vtkGridSynchronizedTemplates3D * GridSynchronizedTemplates
void SetLocator(vtkIncrementalPointLocator *locator)
Specify a spatial locator for merging points.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
generate isosurface from structured points
vtkImplicitFunction * CutFunction
void StructuredGridCutter(vtkDataSet *, vtkPolyData *)
void SetValue(int i, double value)
Set a particular contour value at contour number i.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.