63 #ifndef __vtkGenericClip_h
64 #define __vtkGenericClip_h
66 #include "vtkFiltersGenericModule.h"
67 #include "vtkUnstructuredGridAlgorithm.h"
69 class vtkImplicitFunction;
73 class vtkIncrementalPointLocator;
75 class VTKFILTERSGENERIC_EXPORT
vtkGenericClip :
public vtkUnstructuredGridAlgorithm
79 void PrintSelf(ostream& os, vtkIndent indent);
89 vtkSetMacro(Value,
double);
90 vtkGetMacro(Value,
double);
99 vtkSetMacro(InsideOut,
int);
100 vtkGetMacro(InsideOut,
int);
101 vtkBooleanMacro(InsideOut,
int);
108 virtual void SetClipFunction(vtkImplicitFunction*);
109 vtkGetObjectMacro(ClipFunction,vtkImplicitFunction);
117 vtkSetMacro(GenerateClipScalars,
int);
118 vtkGetMacro(GenerateClipScalars,
int);
119 vtkBooleanMacro(GenerateClipScalars,
int);
125 vtkSetMacro(GenerateClippedOutput,
int);
126 vtkGetMacro(GenerateClippedOutput,
int);
127 vtkBooleanMacro(GenerateClippedOutput,
int);
135 vtkSetClampMacro(MergeTolerance,
double,0.0001,0.25);
136 vtkGetMacro(MergeTolerance,
double);
141 vtkUnstructuredGrid *GetClippedOutput();
142 virtual int GetNumberOfOutputs();
148 void SetLocator(vtkIncrementalPointLocator *locator);
149 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
154 void CreateDefaultLocator();
157 unsigned long GetMTime();
162 vtkGetStringMacro(InputScalarsSelection);
164 {this->SetInputScalarsSelection(fieldName);}
171 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
172 int FillInputPortInformation(
int, vtkInformation*);
185 vtkSetStringMacro(InputScalarsSelection);
clip any dataset with an implicit function or scalar data
vtkIncrementalPointLocator * Locator
void SelectInputScalars(const char *fieldName)
int GenerateClippedOutput
vtkPointData * SecondaryPD
char * InputScalarsSelection
vtkCellData * SecondaryCD
vtkPointData * InternalPD
vtkImplicitFunction * ClipFunction