43 #ifndef vtkHyperTreeGridPlaneCutter_h
44 #define vtkHyperTreeGridPlaneCutter_h
46 #include "vtkFiltersHyperTreeModule.h"
68 void SetPlane(
double a,
double b,
double c,
double d);
69 vtkGetVector4Macro(Plane,
double);
77 vtkGetMacro(AxisAlignment,
int);
93 vtkSetMacro(Dual,
int);
94 vtkGetMacro(Dual,
int);
95 vtkBooleanMacro(Dual,
int);
105 virtual void Reset();
135 bool CheckIntersection(
double[8][3],
double[8]);
139 bool CheckIntersection(
double[8][3]);
144 void PlaneCut(
int,
int,
double[8][3],
int&,
double[][3]);
149 void ReorderCutPoints(
int,
double[][3]);
vtkIdList * Leaves
Storage for dual vertex indices.
bool IsPlaneOrthogonalToZAxis()
Returns true if plane's normal is aligned with the corresponding axis, false elsewise.
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.
Objects for traversal a HyperTreeGrid.
vtkPoints * Points
Storage for points of output unstructured mesh.
vtkPoints * Centers
Storage for dual vertices at center of primal cells.
bool IsPlaneOrthogonalToYAxis()
Returns true if plane's normal is aligned with the corresponding axis, false elsewise.
Objects for traversal a HyperTreeGrid.
vtkBitArray * InMask
material Mask
int AxisAlignment
Flag computed at plane creation to know wether it is aligned with x, y or z axis. ...
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
bool IsPlaneOrthogonalToXAxis()
Returns true if plane's normal is aligned with the corresponding axis, false elsewise.
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...