VTK
9.4.20241217
|
vtkHyperTreeGridGeometry internal classes for 3D vtkHyperTreeGrid More...
#include <vtkHyperTreeGridGeometry3DImpl.h>
Public Member Functions | |
vtkHyperTreeGridGeometry3DImpl (bool mergePoints, vtkHyperTreeGrid *input, vtkPoints *outPoints, vtkCellArray *outCells, vtkDataSetAttributes *inCellDataAttributes, vtkDataSetAttributes *outCellDataAttributes, bool passThroughCellIds, const std::string &originalCellIdArrayName) | |
~vtkHyperTreeGridGeometry3DImpl () override | |
void | GenerateGeometry () override |
Generate the external surface of the input vtkHyperTreeGrid. | |
Public Member Functions inherited from vtkHyperTreeGridGeometryImpl | |
vtkHyperTreeGridGeometryImpl (vtkHyperTreeGrid *input, vtkPoints *outPoints, vtkCellArray *outCells, vtkDataSetAttributes *inCellDataAttributes, vtkDataSetAttributes *outCellDataAttributes, bool passThroughCellIds, const std::string &originalCellIdArrayName) | |
virtual | ~vtkHyperTreeGridGeometryImpl ()=default |
virtual void | GenerateGeometry ()=0 |
Generate the external surface of the input vtkHyperTreeGrid. | |
Protected Member Functions | |
void | RecursivelyProcessTree (vtkHyperTreeGridNonOrientedVonNeumannSuperCursor *cursor, unsigned char coarseCellFacesToBeTreated=0) |
Recursively browse the input HTG in order to generate the output surface. | |
Protected Member Functions inherited from vtkHyperTreeGridGeometryImpl | |
void | CreateNewCellAndCopyData (const std::vector< vtkIdType > &outPointIds, vtkIdType cellId) |
Insert a new output cell from a list of point ids in the output polydata and copy the data from the input HTG cell at cellId to the newly created surface cell. | |
bool | IsMaskedOrGhost (vtkIdType globalNodeId) const |
Returns true if the input HTG cell is masked or ghosted. | |
bool | ProbeForCellInterface (vtkIdType cellId, bool invert=true) |
Determine if the input HTG at cellId contains an valid interface and if yes, determine its characteristics, stored in the variables below. | |
double | ComputeDistanceToInterfaceA (const double *xyz) const |
Compute the value of the distance from the given point to the interface plane of the currently considered HTG cell. | |
double | ComputeDistanceToInterfaceB (const double *xyz) const |
Compute the value of the distance from the given point to the interface plane of the currently considered HTG cell. | |
Additional Inherited Members | |
Protected Attributes inherited from vtkHyperTreeGridGeometryImpl | |
vtkHyperTreeGrid * | Input |
Input parameters retrieved from constructor. | |
vtkPoints * | OutPoints |
vtkCellArray * | OutCells |
vtkDataSetAttributes * | InCellDataAttributes |
vtkDataSetAttributes * | OutCellDataAttributes |
vtkDataArray * | InIntercepts |
Retrieved from input for quick access. | |
vtkDataArray * | InNormals |
bool | HasInterface = false |
True if input HTG have an interface and if InIntercepts and InNormals are defined. | |
bool | HasInterfaceOnThisCell = false |
True if the current cell have a "valid" interface defined. | |
int | CellInterfaceType = 2 |
Categorize the current cell interface type. | |
vtkHyperTreeGridGeometry internal classes for 3D vtkHyperTreeGrid
This class is an internal class used in by the vtkHyperTreeGridGeometry filter to generate the HTG surface in the 3D case.
Definition at line 23 of file vtkHyperTreeGridGeometry3DImpl.h.
vtkHyperTreeGridGeometry3DImpl::vtkHyperTreeGridGeometry3DImpl | ( | bool | mergePoints, |
vtkHyperTreeGrid * | input, | ||
vtkPoints * | outPoints, | ||
vtkCellArray * | outCells, | ||
vtkDataSetAttributes * | inCellDataAttributes, | ||
vtkDataSetAttributes * | outCellDataAttributes, | ||
bool | passThroughCellIds, | ||
const std::string & | originalCellIdArrayName | ||
) |
|
override |
|
overridevirtual |
Generate the external surface of the input vtkHyperTreeGrid.
Implements vtkHyperTreeGridGeometryImpl.
|
protected |
Recursively browse the input HTG in order to generate the output surface.
This method is called by GenerateGeometry.
XXX: We need to determine a common interface for all cursors in order to define RecursivelyProcessTree as virtual in upper classes.