43 #ifndef vtkHyperTreeGridPlaneCutter_h 44 #define vtkHyperTreeGridPlaneCutter_h 46 #include "vtkFiltersHyperTreeModule.h" 70 vtkSetVector4Macro(Plane,
double);
71 vtkGetVector4Macro(Plane,
double);
83 vtkGetObjectMacro(PlaneObj,
vtkPlane)
89 vtkSetMacro(Dual,
int);
90 vtkGetMacro(Dual,
int);
91 vtkBooleanMacro(Dual,
int);
128 bool CheckIntersection(
double[8][3],
double[8] );
132 bool CheckIntersection(
double[8][3] );
137 void PlaneCut(
int,
int,
double[8][3],
int&,
double[][3] );
142 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.
void SetPlane(vtkPlane *plane)
Set the plane by specifying a vtkPlane object.
cut a 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.
vtkTypeUInt32 vtkMTimeType
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
virtual vtkMTimeType GetMTime()
Return this object's modified time.
perform various plane computations
int Dual
Decide whether output mesh should be a computed on dual grid.
object to represent cell connectivity
vtkPlane * PlaneObj
Plane object used to hold plane state.
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...