53 #include "vtkFiltersCoreModule.h"
58 #define VTK_SORT_BY_VALUE 0
59 #define VTK_SORT_BY_CELL 1
61 class vtkImplicitFunction;
72 void PrintSelf(ostream& os, vtkIndent indent);
82 {this->ContourValues->SetValue(i,value);}
88 {
return this->ContourValues->GetValue(i);}
95 {
return this->ContourValues->GetValues();}
103 {this->ContourValues->GetValues(contourValues);}
111 {this->ContourValues->SetNumberOfContours(number);}
117 {
return this->ContourValues->GetNumberOfContours();}
124 {this->ContourValues->GenerateValues(numContours, range);}
131 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
136 unsigned long GetMTime();
140 virtual void SetCutFunction(vtkImplicitFunction*);
141 vtkGetObjectMacro(CutFunction,vtkImplicitFunction);
148 vtkSetMacro(GenerateCutScalars,
int);
149 vtkGetMacro(GenerateCutScalars,
int);
150 vtkBooleanMacro(GenerateCutScalars,
int);
158 vtkSetMacro(GenerateTriangles,
int);
159 vtkGetMacro(GenerateTriangles,
int);
160 vtkBooleanMacro(GenerateTriangles,
int);
182 vtkGetMacro(SortBy,
int);
187 const char *GetSortByAsString();
192 void CreateDefaultLocator();
198 static void GetCellTypeDimensions(
unsigned char* cellTypeDimensions);
204 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
205 vtkGetMacro(OutputPointsPrecision,
int);
215 vtkInformationVector**,
216 vtkInformationVector*);
219 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
220 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
222 void UnstructuredGridCutter(vtkDataSet *input,
vtkPolyData *output);
223 void DataSetCutter(vtkDataSet *input,
vtkPolyData *output);
224 void StructuredPointsCutter(vtkDataSet *,
vtkPolyData *,
225 vtkInformation *, vtkInformationVector **,
226 vtkInformationVector *);
227 void StructuredGridCutter(vtkDataSet *,
vtkPolyData *);
228 void RectilinearGridCutter(vtkDataSet *,
vtkPolyData *);
253 return "SortByValue";
Cut vtkDataSet with user-specified implicit function.
helper object to manage setting and generating contour values
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
generate isosurface from structured grids
vtkRectilinearSynchronizedTemplates * RectilinearSynchronizedTemplates
Abstract class in support of both point location and point insertion.
vtkIncrementalPointLocator * Locator
vtkGridSynchronizedTemplates3D * GridSynchronizedTemplates
void GenerateValues(int numContours, double range[2])
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkImplicitFunction * CutFunction
generate cut surface from structured points
generate isosurface from structured points
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Superclass for algorithms that produce only polydata as output.
vtkSynchronizedTemplatesCutter3D * SynchronizedTemplatesCutter3D
void SetSortByToSortByCell()
#define VTK_SORT_BY_VALUE
void SetNumberOfContours(int number)
int GetNumberOfContours()
generate isosurface from rectilinear grid
vtkContourValues * ContourValues
void SetSortByToSortByValue()
void SetValue(int i, double value)
const char * GetSortByAsString()
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
void GetValues(double *contourValues)
int OutputPointsPrecision
vtkSynchronizedTemplates3D * SynchronizedTemplates3D