VTK  9.6.20260402
vtkMarchingCellsClipCases< true > Class Reference

#include <vtkMarchingCellsClipCases.h>

Inheritance diagram for vtkMarchingCellsClipCases< true >:
[legend]
Collaboration diagram for vtkMarchingCellsClipCases< true >:
[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 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 vtkMarchingCellsClipCasesBase
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 Public Attributes

static constexpr uint8_t DISCARDED_CELL_CASE = 255
 
- Static Public Attributes inherited from vtkMarchingCellsClipCasesBase
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
 

Additional Inherited Members

- Public Types inherited from vtkMarchingCellsClipCasesBase
using EDGEIDXS = uint8_t[2]
 
- Static Protected Attributes inherited from vtkMarchingCellsClipCasesBase
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 4825 of file vtkMarchingCellsClipCases.h.

Member Function Documentation

◆ IsCellKept()

static VTK_ALWAYS_INLINE constexpr bool vtkMarchingCellsClipCases< true >::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 9118 of file vtkMarchingCellsClipCases.h.

◆ IsCellDiscarded()

static VTK_ALWAYS_INLINE constexpr bool vtkMarchingCellsClipCases< true >::IsCellDiscarded ( vtkIdType numberOfPoints,
uint8_t caseIndex )
inlinestaticconstexpr

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

Definition at line 9127 of file vtkMarchingCellsClipCases.h.

◆ GetCellCase()

static VTK_ALWAYS_INLINE uint8_t * vtkMarchingCellsClipCases< true >::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 9140 of file vtkMarchingCellsClipCases.h.

Member Data Documentation

◆ DISCARDED_CELL_CASE

uint8_t vtkMarchingCellsClipCases< true >::DISCARDED_CELL_CASE = 255
staticconstexpr

Definition at line 4828 of file vtkMarchingCellsClipCases.h.


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