50 #ifndef __vtkBoxClipDataSet_h
51 #define __vtkBoxClipDataSet_h
53 #include "vtkFiltersGeneralModule.h"
60 class vtkDataSetAttributes;
71 void PrintSelf(ostream& os, vtkIndent indent);
82 void SetBoxClip(
double xmin,
double xmax,
83 double ymin,
double ymax,
84 double zmin,
double zmax);
85 void SetBoxClip(
const double *n0,
const double *o0,
86 const double *n1,
const double *o1,
87 const double *n2,
const double *o2,
88 const double *n3,
const double *o3,
89 const double *n4,
const double *o4,
90 const double *n5,
const double *o5);
97 vtkSetMacro(GenerateClipScalars,
int);
98 vtkGetMacro(GenerateClipScalars,
int);
99 vtkBooleanMacro(GenerateClipScalars,
int);
105 vtkSetMacro(GenerateClippedOutput,
int);
106 vtkGetMacro(GenerateClippedOutput,
int);
107 vtkBooleanMacro(GenerateClippedOutput,
int);
119 vtkUnstructuredGrid *GetClippedOutput();
120 virtual int GetNumberOfOutputs();
132 void CreateDefaultLocator();
135 unsigned long GetMTime();
140 vtkGetMacro(Orientation,
unsigned int);
141 vtkSetMacro(Orientation,
unsigned int);
145 static void InterpolateEdge(vtkDataSetAttributes *attributes,
147 vtkIdType fromId1, vtkIdType fromId2,
150 void MinEdgeF(
const unsigned int *id_v,
const vtkIdType *cellIds,
151 unsigned int *edgF );
152 void PyramidToTetra(
const vtkIdType *pyramId,
const vtkIdType *cellIds,
154 void WedgeToTetra(
const vtkIdType *wedgeId,
const vtkIdType *cellIds,
156 void CellGrid(vtkIdType typeobj, vtkIdType npts,
const vtkIdType *cellIds,
158 void CreateTetra(vtkIdType npts,
const vtkIdType *cellIds,
162 vtkPointData *outPD,
vtkCellData *inCD,vtkIdType cellId,
166 vtkPointData *inPD, vtkPointData *outPD,
170 vtkPointData *inPD, vtkPointData *outPD,
172 void ClipHexahedronInOut(vtkPoints *newPoints,
vtkGenericCell *cell,
174 vtkPointData *inPD, vtkPointData *outPD,
180 vtkPointData *inPD, vtkPointData *outPD,
vtkCellData *inCD,
184 vtkPointData *inPD, vtkPointData *outPD,
188 vtkPointData *inPD, vtkPointData *outPD,
191 void ClipHexahedronInOut2D(vtkPoints *newPoints,
vtkGenericCell *cell,
193 vtkPointData *inPD, vtkPointData *outPD,
199 vtkPointData *inPD, vtkPointData *outPD,
vtkCellData *inCD,
203 vtkPointData *inPD, vtkPointData *outPD,
207 vtkPointData *inPD, vtkPointData *outPD,
210 void ClipHexahedronInOut1D(vtkPoints *newPoints,
vtkGenericCell *cell,
212 vtkPointData *inPD, vtkPointData *outPD,
218 vtkPointData *inPD, vtkPointData *outPD,
vtkCellData *inCD,
222 vtkPointData *inPD, vtkPointData *outPD,
227 vtkPointData *inPD, vtkPointData *outPD,
232 vtkPointData *inPD, vtkPointData *outPD,
239 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
249 double BoundBoxClip[3][2];
251 double PlaneNormal[6][3];
252 double PlanePoint[6][3];
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
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)
provides thread-safe access to cells
clip an unstructured grid
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only unstructured grid as output.
object to represent cell connectivity
vtkIncrementalPointLocator * Locator
int GenerateClippedOutput