40 #ifndef vtkHyperTreeGridPlaneCutter_h 41 #define vtkHyperTreeGridPlaneCutter_h 43 #include "vtkFiltersHyperTreeModule.h" 64 vtkSetVector4Macro(Plane,
double);
65 vtkGetVector4Macro(Plane,
double);
72 vtkSetMacro(Dual,
int);
73 vtkGetMacro(Dual,
int);
74 vtkBooleanMacro(Dual,
int);
109 bool CheckIntersection(
double[8][3],
double[8] );
113 bool CheckIntersection(
double[8][3] );
118 void PlaneCut(
int,
int,
double[8][3],
int&,
double[][3] );
123 void ReorderCutPoints(
int,
double[][3] );
vtkIdList * Leaves
Storage for dual vertex indices.
Cut vtkDataSet with user-specified implicit function.
vtkBitArray * SelectedCells
Storage for pre-selected cells to be processed in dual mode.
cut an hyper tree grid volume with a plane and generate a polygonal cut surface.
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
vtkCutter * Cutter
Cutter to be used on dual cells.
vtkPoints * Points
Storage for points of output unstructured mesh.
vtkPoints * Centers
Storage for dual vertices at center of primal cells.
Objects for depth-first traversal HyperTreeGrids.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
list of point or cell ids
int Dual
Decide whether output mesh should be a computed on dual grid.
object to represent cell connectivity
dynamic, self-adjusting array of bits
Superclass for algorithms that produce a hyper tree grid as output.
vtkCellArray * Cells
Storage for cells of output unstructured mesh.
static vtkAlgorithm * New()
general representation of visualization data
represent and manipulate 3D points
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...