62 #ifndef __vtkClipDataSet_h
63 #define __vtkClipDataSet_h
65 #include "vtkFiltersGeneralModule.h"
68 class vtkCallbackCommand;
69 class vtkImplicitFunction;
76 void PrintSelf(ostream& os, vtkIndent indent);
87 vtkSetMacro(Value,
double);
88 vtkGetMacro(Value,
double);
95 vtkSetMacro(UseValueAsOffset,
bool);
96 vtkGetMacro(UseValueAsOffset,
bool);
97 vtkBooleanMacro(UseValueAsOffset,
bool);
106 vtkSetMacro(InsideOut,
int);
107 vtkGetMacro(InsideOut,
int);
108 vtkBooleanMacro(InsideOut,
int);
115 virtual void SetClipFunction(vtkImplicitFunction*);
116 vtkGetObjectMacro(ClipFunction,vtkImplicitFunction);
124 vtkSetMacro(GenerateClipScalars,
int);
125 vtkGetMacro(GenerateClipScalars,
int);
126 vtkBooleanMacro(GenerateClipScalars,
int);
132 vtkSetMacro(GenerateClippedOutput,
int);
133 vtkGetMacro(GenerateClippedOutput,
int);
134 vtkBooleanMacro(GenerateClippedOutput,
int);
142 vtkSetClampMacro(MergeTolerance,
double,0.0001,0.25);
143 vtkGetMacro(MergeTolerance,
double);
147 vtkUnstructuredGrid *GetClippedOutput();
158 void CreateDefaultLocator();
161 unsigned long GetMTime();
167 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
168 vtkGetMacro(OutputPointsPrecision,
int);
178 vtkInformationVector**,
179 vtkInformationVector*);
182 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
195 static void InternalProgressCallbackFunction(vtkObject*,
unsigned long,
196 void* clientdata,
void*);
202 void ClipVolume(vtkDataSet *input, vtkUnstructuredGrid *output);
204 int ClipPoints(vtkDataSet* input, vtkUnstructuredGrid* output,
205 vtkInformationVector** inputVector);
vtkIncrementalPointLocator * Locator
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkUnstructuredGridAlgorithm * New()
Abstract class in support of both point location and point insertion.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Superclass for all sources, filters, and sinks in VTK.
vtkImplicitFunction * ClipFunction
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only unstructured grid as output.
vtkCallbackCommand * InternalProgressObserver
int GenerateClippedOutput
clip any dataset with user-specified implicit function or input scalar data
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int OutputPointsPrecision