VTK  9.3.20240907
Static Public Member Functions | Static Public Attributes | List of all members
vtkTableBasedClipCases< false > Class Reference

#include <vtkTableBasedClipCases.h>

Inheritance diagram for vtkTableBasedClipCases< false >:
[legend]
Collaboration diagram for vtkTableBasedClipCases< false >:
[legend]

Static Public Member Functions

static VTK_ALWAYS_INLINE constexpr bool IsCellKept (vtkIdType numberOfPoints, uint8_t caseIndex)
 Given the number of points and a case index, return if the cell is kept.
 
static VTK_ALWAYS_INLINE constexpr bool IsCellDiscarded (vtkIdType vtkNotUsed(numberOfPoints), uint8_t caseIndex)
 Given the number of points and a case index, return if the cell is discarded.
 
static VTK_ALWAYS_INLINE uint8_t * GetCellCase (int cellType, uint8_t caseIndex)
 Given a cell type and a case index, return the case in the form of number of output cells,.
 
- Static Public Member Functions inherited from vtkTableBasedClipCasesBase
static VTK_ALWAYS_INLINE constexpr bool IsCellTypeSupported (int cellType)
 Given a cell type return if it's supported by this class.
 
static VTK_ALWAYS_INLINE constexpr EDGEIDXSGetCellEdges (int cellType)
 Given a cell type, return the edges of the cell.
 
static VTK_ALWAYS_INLINE constexpr uint8_t GetCellType (uint8_t shapeType)
 Given a shape type, return the VTK cell type.
 

Static Public Attributes

static constexpr uint8_t DISCARDED_CELL_CASE = 0
 
- Static Public Attributes inherited from vtkTableBasedClipCasesBase
static constexpr uint8_t P0 = 0
 
static constexpr uint8_t P1 = 1
 
static constexpr uint8_t P2 = 2
 
static constexpr uint8_t P3 = 3
 
static constexpr uint8_t P4 = 4
 
static constexpr uint8_t P5 = 5
 
static constexpr uint8_t P6 = 6
 
static constexpr uint8_t P7 = 7
 
static constexpr uint8_t EA = 8
 
static constexpr uint8_t EB = 9
 
static constexpr uint8_t EC = 10
 
static constexpr uint8_t ED = 11
 
static constexpr uint8_t EE = 12
 
static constexpr uint8_t EF = 13
 
static constexpr uint8_t EG = 14
 
static constexpr uint8_t EH = 15
 
static constexpr uint8_t EI = 16
 
static constexpr uint8_t EJ = 17
 
static constexpr uint8_t EK = 18
 
static constexpr uint8_t EL = 19
 
static constexpr uint8_t N0 = 20
 
static constexpr uint8_t ST_VTX = 32 + VTK_VERTEX
 
static constexpr uint8_t ST_LIN = 32 + VTK_LINE
 
static constexpr uint8_t ST_TRI = 32 + VTK_TRIANGLE
 
static constexpr uint8_t ST_QUA = 32 + VTK_QUAD
 
static constexpr uint8_t ST_TET = 32 + VTK_TETRA
 
static constexpr uint8_t ST_HEX = 32 + VTK_HEXAHEDRON
 
static constexpr uint8_t ST_PYR = 32 + VTK_PYRAMID
 
static constexpr uint8_t ST_WDG = 32 + VTK_WEDGE
 
static constexpr uint8_t ST_PNT = 32 + VTK_EMPTY_CELL
 

Additional Inherited Members

- Public Types inherited from vtkTableBasedClipCasesBase
using EDGEIDXS = uint8_t[2]
 
- Static Protected Attributes inherited from vtkTableBasedClipCasesBase
static constexpr bool F = false
 
static constexpr bool T = true
 
static constexpr bool SupportedCellTypes [VTK_NUMBER_OF_CELL_TYPES]
 
static constexpr uint8_t CellMaxCase [9] = { 0, 1, 3, 7, 15, 31, 63, 127, 255 }
 
static constexpr uint8_t NUM_CELL_TYPES = 17
 
static constexpr uint8_t N = 255
 
static constexpr uint8_t MAX_NUM_EDGES = 12
 
static constexpr uint8_t CellEdges [NUM_CELL_TYPES][MAX_NUM_EDGES][2]
 
static constexpr int16_t CellCasesStartIndexLookUp [NUM_CELL_TYPES]
 

Detailed Description

Definition at line 189 of file vtkTableBasedClipCases.h.

Member Function Documentation

◆ IsCellKept()

static VTK_ALWAYS_INLINE constexpr bool vtkTableBasedClipCases< false >::IsCellKept ( vtkIdType  numberOfPoints,
uint8_t  caseIndex 
)
inlinestaticconstexpr

Given the number of points and a case index, return if the cell is kept.

Definition at line 4820 of file vtkTableBasedClipCases.h.

◆ IsCellDiscarded()

static VTK_ALWAYS_INLINE constexpr bool vtkTableBasedClipCases< false >::IsCellDiscarded ( vtkIdType   vtkNotUsednumberOfPoints,
uint8_t  caseIndex 
)
inlinestaticconstexpr

Given the number of points and a case index, return if the cell is discarded.

Definition at line 4828 of file vtkTableBasedClipCases.h.

◆ GetCellCase()

static VTK_ALWAYS_INLINE uint8_t * vtkTableBasedClipCases< false >::GetCellCase ( int  cellType,
uint8_t  caseIndex 
)
inlinestatic

Given a cell type and a case index, return the case in the form of number of output cells,.

  1. shape type, number of points, and point ids p0, p1, p2, ...
  2. shape type, number of points, and point ids p0, p1, p2, ... ...

Definition at line 4841 of file vtkTableBasedClipCases.h.

Member Data Documentation

◆ DISCARDED_CELL_CASE

constexpr uint8_t vtkTableBasedClipCases< false >::DISCARDED_CELL_CASE = 0
staticconstexpr

Definition at line 192 of file vtkTableBasedClipCases.h.


The documentation for this class was generated from the following file: