62 #ifndef __vtkClipHyperOctree_h
63 #define __vtkClipHyperOctree_h
65 #include "vtkFiltersHyperTreeModule.h"
66 #include "vtkUnstructuredGridAlgorithm.h"
68 class vtkImplicitFunction;
69 class vtkIncrementalPointLocator;
70 class vtkHyperOctreeCursor;
72 class vtkUnsignedCharArray;
77 class vtkOrderedTriangulator;
88 void PrintSelf(ostream& os, vtkIndent indent);
98 vtkSetMacro(Value,
double);
99 vtkGetMacro(Value,
double);
108 vtkSetMacro(InsideOut,
int);
109 vtkGetMacro(InsideOut,
int);
110 vtkBooleanMacro(InsideOut,
int);
117 virtual void SetClipFunction(vtkImplicitFunction*);
118 vtkGetObjectMacro(ClipFunction,vtkImplicitFunction);
126 vtkSetMacro(GenerateClipScalars,
int);
127 vtkGetMacro(GenerateClipScalars,
int);
128 vtkBooleanMacro(GenerateClipScalars,
int);
134 vtkSetMacro(GenerateClippedOutput,
int);
135 vtkGetMacro(GenerateClippedOutput,
int);
136 vtkBooleanMacro(GenerateClippedOutput,
int);
140 vtkUnstructuredGrid *GetClippedOutput();
145 void SetLocator(vtkIncrementalPointLocator *locator);
146 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
151 void CreateDefaultLocator();
154 unsigned long GetMTime();
160 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
165 void ClipNode(vtkHyperOctreeCursor *cursor,
170 virtual int FillInputPortInformation(
int port, vtkInformation *info);
186 vtkUnsignedCharArray *Types[2];
187 vtkIdTypeArray *Locs[2];
188 vtkCellArray *Conn[2];
190 vtkCellData *OutCD[2];
191 vtkPointData *OutPD[2];
203 vtkIdType CellTypeCounter[65536];
vtkImplicitFunction * ClipFunction
vtkHyperOctreeCursor * Sibling
int GenerateClippedOutput
vtkDoubleArray * CellScalars
vtkOrderedTriangulator * Triangulator
vtkDoubleArray * TetScalars
A concrete implementation of vtkHyperOctreePointsGrabber used by vtkClipHyperOctree and vtkHyperOctre...
vtkIncrementalPointLocator * Locator
vtkHyperOctreeClipCutPointsGrabber * Grabber
vtkIdType TemplateCounter
vtkIncrementalPointLocator * Locator2
vtkUnstructuredGrid * ClippedOutput
vtkUnstructuredGrid * Output
clip an hyperoctree with user-specified implicit function or input scalar data