| 
    VTK
    9.5.20251103
    
   | 
 
Records describing the source arrays for cells or cell-sides. More...
#include <vtkDGCell.h>
Public Member Functions | |
| Source ()=default | |
| Source (const Source &)=default | |
| Source (vtkDataArray *conn, vtkIdType off, bool blank, Shape shape, int sideType) | |
| Source (vtkDataArray *conn, vtkIdType off, bool blank, Shape shape, int sideType, int selnType, vtkDataArray *nodalGhostMarks) | |
| Source & | operator= (const Source &)=default | 
| virtual | ~Source ()=default | 
| Override the destructor to de-reference Connectivity, NodalGhostMarks.   | |
Public Attributes | |
| vtkDataArray * | Connectivity { nullptr } | 
| An array holding cell connectivity or (cell-id, side-id) tuples.   | |
| vtkDataArray * | NodalGhostMarks { nullptr } | 
| An array holding per-point "ghost" information (or null).   | |
| vtkIdType | Offset { 0 } | 
| Offset (start ID; used for picking) of the first cell or side in Connectivity.   | |
| bool | Blanked { false } | 
| True when the cells/sides should be omitted from processing.   | |
| Shape | SourceShape { Shape::None } | 
| The shape of this type of cell/side.   | |
| int | SideType { -1 } | 
| The type of the side (for calling GetSideRangeForType).   | |
| int | SelectionType { -1 } | 
| If SideType >= 0, this determines what should be selected.   | |
Friends | |
| ostream & | operator<< (ostream &os, const Source &source) | 
Records describing the source arrays for cells or cell-sides.
Definition at line 89 of file vtkDGCell.h.
      
  | 
  default | 
      
  | 
  default | 
| vtkDGCell::Source::Source | ( | vtkDataArray * | conn, | 
| vtkIdType | off, | ||
| bool | blank, | ||
| Shape | shape, | ||
| int | sideType | ||
| ) | 
| vtkDGCell::Source::Source | ( | vtkDataArray * | conn, | 
| vtkIdType | off, | ||
| bool | blank, | ||
| Shape | shape, | ||
| int | sideType, | ||
| int | selnType, | ||
| vtkDataArray * | nodalGhostMarks | ||
| ) | 
      
  | 
  virtualdefault | 
Override the destructor to de-reference Connectivity, NodalGhostMarks.
      
  | 
  friend | 
Definition at line 100 of file vtkDGCell.h.
| vtkDataArray* vtkDGCell::Source::Connectivity { nullptr } | 
An array holding cell connectivity or (cell-id, side-id) tuples.
If the array is cell connectivity, then each component is a point ID and the number of components matches the number of corners for each cell. If the array is side connectivity, then each tuple consists of a cell ID for component 0 and a side ID for component 1.
Definition at line 120 of file vtkDGCell.h.
| vtkDataArray* vtkDGCell::Source::NodalGhostMarks { nullptr } | 
An array holding per-point "ghost" information (or null).
If this array is non-null, then the mesh is distributed across multiple vtkCellGrid instances and this array has a mark for each point that is either 0 or from vtkDataSetAttributes::PointGhostTypes.
Definition at line 127 of file vtkDGCell.h.
| vtkIdType vtkDGCell::Source::Offset { 0 } | 
Offset (start ID; used for picking) of the first cell or side in Connectivity.
Definition at line 130 of file vtkDGCell.h.
| bool vtkDGCell::Source::Blanked { false } | 
True when the cells/sides should be omitted from processing.
Definition at line 133 of file vtkDGCell.h.
| Shape vtkDGCell::Source::SourceShape { Shape::None } | 
The shape of this type of cell/side.
Definition at line 136 of file vtkDGCell.h.
| int vtkDGCell::Source::SideType { -1 } | 
The type of the side (for calling GetSideRangeForType).
The default of -1 indicates the that the source is the cell-type itself, not any side.
Definition at line 140 of file vtkDGCell.h.
| int vtkDGCell::Source::SelectionType { -1 } | 
If SideType >= 0, this determines what should be selected.
A value of -1 indicates the parent cell (whatever its dimension) should be chosen when a side in this Source is selected. Other values indicate a side should be extracted, but for now this should be -1 or SideType.
Definition at line 147 of file vtkDGCell.h.