48 #ifndef __vtkGenericCutter_h
49 #define __vtkGenericCutter_h
51 #include "vtkFiltersGenericModule.h"
52 #include "vtkPolyDataAlgorithm.h"
54 class vtkContourValues;
56 class vtkImplicitFunction;
57 class vtkIncrementalPointLocator;
65 void PrintSelf(ostream& os, vtkIndent indent);
73 void SetValue(
int i,
double value);
76 double GetValue(
int i);
85 void GetValues(
double *contourValues);
90 void SetNumberOfContours(
int number);
93 int GetNumberOfContours();
97 void GenerateValues(
int numContours,
double range[2]);
101 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
105 unsigned long GetMTime();
109 virtual void SetCutFunction(vtkImplicitFunction*);
110 vtkGetObjectMacro(CutFunction,vtkImplicitFunction);
117 vtkSetMacro(GenerateCutScalars,
int);
118 vtkGetMacro(GenerateCutScalars,
int);
119 vtkBooleanMacro(GenerateCutScalars,
int);
125 void SetLocator(vtkIncrementalPointLocator *locator);
126 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
131 void CreateDefaultLocator();
139 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
140 int FillInputPortInformation(
int, vtkInformation*);
cut a vtkGenericDataSet with an implicit function or scalar data
vtkCellData * SecondaryCD
vtkImplicitFunction * CutFunction
vtkContourValues * ContourValues
vtkPointData * InternalPD
vtkIncrementalPointLocator * Locator
vtkPointData * SecondaryPD