Interface for all vtkHyperTreeGridGeometry internal classes.
More...
#include <vtkHyperTreeGridGeometryImpl.h>
|
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.
|
|
Interface for all vtkHyperTreeGridGeometry internal classes.
This class defines the common interface of all vtkHyperTreeGridGeometry internal classes. The role of these classes is to perform the actual generation of the external surface (geometry) of the input vtkHyperTreeGrid.
The code is split into specific internal classes depending on the dimension of the input HTG. Each class implement the pure virtual GenerateGeometry
method, that achieve the construction of the HTG surface.
Definition at line 31 of file vtkHyperTreeGridGeometryImpl.h.
◆ vtkHyperTreeGridGeometryImpl()
◆ ~vtkHyperTreeGridGeometryImpl()
virtual vtkHyperTreeGridGeometryImpl::~vtkHyperTreeGridGeometryImpl |
( |
| ) |
|
|
virtualdefault |
◆ GenerateGeometry()
virtual void vtkHyperTreeGridGeometryImpl::GenerateGeometry |
( |
| ) |
|
|
pure virtual |
◆ ComputeDistanceToInterfaceA()
double vtkHyperTreeGridGeometryImpl::ComputeDistanceToInterfaceA |
( |
const double * |
xyz | ) |
const |
|
protected |
Compute the value of the distance from the given point to the interface plane of the currently considered HTG cell.
A and B refers to the two interfaces that can cut the HTG cell.
XXX: The value returned by this function depends on the actual values of CellIntercepts and CellNormals.
◆ ComputeDistanceToInterfaceB()
double vtkHyperTreeGridGeometryImpl::ComputeDistanceToInterfaceB |
( |
const double * |
xyz | ) |
const |
|
protected |
Compute the value of the distance from the given point to the interface plane of the currently considered HTG cell.
A and B refers to the two interfaces that can cut the HTG cell.
XXX: The value returned by this function depends on the actual values of CellIntercepts and CellNormals.
◆ CreateNewCellAndCopyData()
void vtkHyperTreeGridGeometryImpl::CreateNewCellAndCopyData |
( |
const std::vector< vtkIdType > & |
outPointIds, |
|
|
vtkIdType |
cellId |
|
) |
| |
|
protected |
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.
◆ IsMaskedOrGhost()
bool vtkHyperTreeGridGeometryImpl::IsMaskedOrGhost |
( |
vtkIdType |
globalNodeId | ) |
const |
|
protected |
Returns true if the input HTG cell is masked or ghosted.
◆ ProbeForCellInterface()
bool vtkHyperTreeGridGeometryImpl::ProbeForCellInterface |
( |
vtkIdType |
cellId, |
|
|
bool |
invert = true |
|
) |
| |
|
protected |
Determine if the input HTG at cellId contains an valid interface and if yes, determine its characteristics, stored in the variables below.
Returns true in case of a "valid" interface description.
XXX: Populates:
- HasInterfaceOnThisCell
- CellInterfaceType
- CellNormals
- CellIntercepts
◆ Input
◆ OutPoints
vtkPoints* vtkHyperTreeGridGeometryImpl::OutPoints = nullptr |
|
protected |
◆ OutCells
vtkCellArray* vtkHyperTreeGridGeometryImpl::OutCells = nullptr |
|
protected |
◆ InCellDataAttributes
◆ OutCellDataAttributes
◆ FillMaterial
bool vtkHyperTreeGridGeometryImpl::FillMaterial = true |
|
protected |
◆ InIntercepts
vtkDataArray* vtkHyperTreeGridGeometryImpl::InIntercepts = nullptr |
|
protected |
◆ InNormals
vtkDataArray* vtkHyperTreeGridGeometryImpl::InNormals = nullptr |
|
protected |
◆ HasInterface
bool vtkHyperTreeGridGeometryImpl::HasInterface = false |
|
protected |
◆ HasInterfaceOnThisCell
bool vtkHyperTreeGridGeometryImpl::HasInterfaceOnThisCell = false |
|
protected |
True if the current cell have a "valid" interface defined.
XXX: cache for the "current" cell XXX: depends on HasInterface, CellIntercepts and CellNormals
Definition at line 117 of file vtkHyperTreeGridGeometryImpl.h.
◆ CellInterfaceType
int vtkHyperTreeGridGeometryImpl::CellInterfaceType = 2 |
|
protected |
Categorize the current cell interface type.
Possible values are: -1 : mixed cell with an interface normal points to the "inside" of the cell 0 : mixed cell with double interface 1 : mixed cell with an interface normal points to the "outside" of the cell
XXX: cache for the "current" cell XXX: retrieved from CellIntercepts[2]
Definition at line 131 of file vtkHyperTreeGridGeometryImpl.h.
The documentation for this class was generated from the following file: