63 #ifndef __vtkGenericClip_h
64 #define __vtkGenericClip_h
66 #include "vtkFiltersGenericModule.h"
69 class vtkImplicitFunction;
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();
154 void CreateDefaultLocator();
157 unsigned long GetMTime();
162 vtkGetStringMacro(InputScalarsSelection);
164 {this->SetInputScalarsSelection(fieldName);}
171 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
185 vtkSetStringMacro(InputScalarsSelection);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
clip any dataset with an implicit function or scalar data
vtkIncrementalPointLocator * Locator
represent and manipulate cell attribute data
static vtkUnstructuredGridAlgorithm * New()
Abstract class in support of both point location and point insertion.
virtual int FillInputPortInformation(int port, vtkInformation *info)
void SelectInputScalars(const char *fieldName)
int GenerateClippedOutput
vtkPointData * SecondaryPD
char * InputScalarsSelection
void PrintSelf(ostream &os, vtkIndent indent)
vtkCellData * SecondaryCD
Superclass for algorithms that produce only unstructured grid as output.
vtkPointData * InternalPD
vtkImplicitFunction * ClipFunction