 |
VTK
9.0.1
|
Go to the documentation of this file.
40 #ifndef vtkHyperTreeGridPlaneCutter_h
41 #define vtkHyperTreeGridPlaneCutter_h
43 #include "vtkFiltersHyperTreeModule.h"
65 void SetPlane(
double a,
double b,
double c,
double d);
66 vtkGetVector4Macro(Plane,
double);
74 vtkGetMacro(AxisAlignment,
int);
90 vtkSetMacro(Dual,
int);
91 vtkGetMacro(Dual,
int);
92 vtkBooleanMacro(Dual,
int);
102 virtual void Reset();
132 bool CheckIntersection(
double[8][3],
double[8]);
136 bool CheckIntersection(
double[8][3]);
141 void PlaneCut(
int,
int,
double[8][3],
int&,
double[][3]);
146 void ReorderCutPoints(
int,
double[][3]);
represent and manipulate 3D points
int Dual
Decide whether output mesh should be a computed on dual grid.
Objects for traversal a HyperTreeGrid.
cut an hyper tree grid volume with a plane and generate a polygonal cut surface.
Objects for traversal a HyperTreeGrid.
Cut vtkDataSet with user-specified implicit function.
vtkCellArray * Cells
Storage for cells of output unstructured mesh.
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool IsPlaneOrthogonalToXAxis()
Returns true if plane's normal is aligned with the corresponding axis, false elsewise.
vtkPoints * Centers
Storage for dual vertices at center of primal cells.
a simple class to control print indentation
vtkPoints * Points
Storage for points of output unstructured mesh.
object to represent cell connectivity
list of point or cell ids
static vtkAlgorithm * New()
vtkIdList * Leaves
Storage for dual vertex indices.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
bool IsPlaneOrthogonalToZAxis()
vtkBitArray * InMask
material Mask
vtkCutter * Cutter
Cutter to be used on dual cells.
dynamic, self-adjusting array of bits
int AxisAlignment
Flag computed at plane creation to know wether it is aligned with x, y or z axis.
vtkBitArray * SelectedCells
Storage for pre-selected cells to be processed in dual mode.
general representation of visualization data
Superclass for algorithms that produce a hyper tree grid as output.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
bool IsPlaneOrthogonalToYAxis()