VTK  9.4.20250114
Public Types | Static Public Member Functions | Static Public Attributes | Static Protected Attributes | List of all members
vtkTableBasedClipCasesBase Class Reference

#include <vtkTableBasedClipCases.h>

Inheritance diagram for vtkTableBasedClipCasesBase:
[legend]

Public Types

using EDGEIDXS = uint8_t[2]
 

Static Public Member Functions

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 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
 

Static Protected Attributes

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 17 of file vtkTableBasedClipCases.h.

Member Typedef Documentation

◆ EDGEIDXS

Definition at line 62 of file vtkTableBasedClipCases.h.

Member Function Documentation

◆ IsCellTypeSupported()

static VTK_ALWAYS_INLINE constexpr bool vtkTableBasedClipCasesBase::IsCellTypeSupported ( int  cellType)
inlinestaticconstexpr

Given a cell type return if it's supported by this class.

Definition at line 159 of file vtkTableBasedClipCases.h.

◆ GetCellEdges()

static VTK_ALWAYS_INLINE constexpr EDGEIDXS * vtkTableBasedClipCasesBase::GetCellEdges ( int  cellType)
inlinestaticconstexpr

Given a cell type, return the edges of the cell.

This is used in correspondence with GetShapeCase.

Definition at line 169 of file vtkTableBasedClipCases.h.

◆ GetCellType()

static VTK_ALWAYS_INLINE constexpr uint8_t vtkTableBasedClipCasesBase::GetCellType ( uint8_t  shapeType)
inlinestaticconstexpr

Given a shape type, return the VTK cell type.

Definition at line 177 of file vtkTableBasedClipCases.h.

Member Data Documentation

◆ P0

constexpr uint8_t vtkTableBasedClipCasesBase::P0 = 0
staticconstexpr

Definition at line 23 of file vtkTableBasedClipCases.h.

◆ P1

constexpr uint8_t vtkTableBasedClipCasesBase::P1 = 1
staticconstexpr

Definition at line 24 of file vtkTableBasedClipCases.h.

◆ P2

constexpr uint8_t vtkTableBasedClipCasesBase::P2 = 2
staticconstexpr

Definition at line 25 of file vtkTableBasedClipCases.h.

◆ P3

constexpr uint8_t vtkTableBasedClipCasesBase::P3 = 3
staticconstexpr

Definition at line 26 of file vtkTableBasedClipCases.h.

◆ P4

constexpr uint8_t vtkTableBasedClipCasesBase::P4 = 4
staticconstexpr

Definition at line 27 of file vtkTableBasedClipCases.h.

◆ P5

constexpr uint8_t vtkTableBasedClipCasesBase::P5 = 5
staticconstexpr

Definition at line 28 of file vtkTableBasedClipCases.h.

◆ P6

constexpr uint8_t vtkTableBasedClipCasesBase::P6 = 6
staticconstexpr

Definition at line 29 of file vtkTableBasedClipCases.h.

◆ P7

constexpr uint8_t vtkTableBasedClipCasesBase::P7 = 7
staticconstexpr

Definition at line 30 of file vtkTableBasedClipCases.h.

◆ EA

constexpr uint8_t vtkTableBasedClipCasesBase::EA = 8
staticconstexpr

Definition at line 34 of file vtkTableBasedClipCases.h.

◆ EB

constexpr uint8_t vtkTableBasedClipCasesBase::EB = 9
staticconstexpr

Definition at line 35 of file vtkTableBasedClipCases.h.

◆ EC

constexpr uint8_t vtkTableBasedClipCasesBase::EC = 10
staticconstexpr

Definition at line 36 of file vtkTableBasedClipCases.h.

◆ ED

constexpr uint8_t vtkTableBasedClipCasesBase::ED = 11
staticconstexpr

Definition at line 37 of file vtkTableBasedClipCases.h.

◆ EE

constexpr uint8_t vtkTableBasedClipCasesBase::EE = 12
staticconstexpr

Definition at line 38 of file vtkTableBasedClipCases.h.

◆ EF

constexpr uint8_t vtkTableBasedClipCasesBase::EF = 13
staticconstexpr

Definition at line 39 of file vtkTableBasedClipCases.h.

◆ EG

constexpr uint8_t vtkTableBasedClipCasesBase::EG = 14
staticconstexpr

Definition at line 40 of file vtkTableBasedClipCases.h.

◆ EH

constexpr uint8_t vtkTableBasedClipCasesBase::EH = 15
staticconstexpr

Definition at line 41 of file vtkTableBasedClipCases.h.

◆ EI

constexpr uint8_t vtkTableBasedClipCasesBase::EI = 16
staticconstexpr

Definition at line 42 of file vtkTableBasedClipCases.h.

◆ EJ

constexpr uint8_t vtkTableBasedClipCasesBase::EJ = 17
staticconstexpr

Definition at line 43 of file vtkTableBasedClipCases.h.

◆ EK

constexpr uint8_t vtkTableBasedClipCasesBase::EK = 18
staticconstexpr

Definition at line 44 of file vtkTableBasedClipCases.h.

◆ EL

constexpr uint8_t vtkTableBasedClipCasesBase::EL = 19
staticconstexpr

Definition at line 45 of file vtkTableBasedClipCases.h.

◆ N0

constexpr uint8_t vtkTableBasedClipCasesBase::N0 = 20
staticconstexpr

Definition at line 48 of file vtkTableBasedClipCases.h.

◆ ST_VTX

constexpr uint8_t vtkTableBasedClipCasesBase::ST_VTX = 32 + VTK_VERTEX
staticconstexpr

Definition at line 51 of file vtkTableBasedClipCases.h.

◆ ST_LIN

constexpr uint8_t vtkTableBasedClipCasesBase::ST_LIN = 32 + VTK_LINE
staticconstexpr

Definition at line 52 of file vtkTableBasedClipCases.h.

◆ ST_TRI

constexpr uint8_t vtkTableBasedClipCasesBase::ST_TRI = 32 + VTK_TRIANGLE
staticconstexpr

Definition at line 53 of file vtkTableBasedClipCases.h.

◆ ST_QUA

constexpr uint8_t vtkTableBasedClipCasesBase::ST_QUA = 32 + VTK_QUAD
staticconstexpr

Definition at line 54 of file vtkTableBasedClipCases.h.

◆ ST_TET

constexpr uint8_t vtkTableBasedClipCasesBase::ST_TET = 32 + VTK_TETRA
staticconstexpr

Definition at line 55 of file vtkTableBasedClipCases.h.

◆ ST_HEX

constexpr uint8_t vtkTableBasedClipCasesBase::ST_HEX = 32 + VTK_HEXAHEDRON
staticconstexpr

Definition at line 56 of file vtkTableBasedClipCases.h.

◆ ST_PYR

constexpr uint8_t vtkTableBasedClipCasesBase::ST_PYR = 32 + VTK_PYRAMID
staticconstexpr

Definition at line 57 of file vtkTableBasedClipCases.h.

◆ ST_WDG

constexpr uint8_t vtkTableBasedClipCasesBase::ST_WDG = 32 + VTK_WEDGE
staticconstexpr

Definition at line 58 of file vtkTableBasedClipCases.h.

◆ ST_PNT

constexpr uint8_t vtkTableBasedClipCasesBase::ST_PNT = 32 + VTK_EMPTY_CELL
staticconstexpr

Definition at line 60 of file vtkTableBasedClipCases.h.

◆ F

constexpr bool vtkTableBasedClipCasesBase::F = false
staticconstexprprotected

Definition at line 65 of file vtkTableBasedClipCases.h.

◆ T

constexpr bool vtkTableBasedClipCasesBase::T = true
staticconstexprprotected

Definition at line 66 of file vtkTableBasedClipCases.h.

◆ SupportedCellTypes

constexpr bool vtkTableBasedClipCasesBase::SupportedCellTypes[VTK_NUMBER_OF_CELL_TYPES]
staticconstexprprotected
Initial value:
= { F, T, F,
T, F, T, F, F, T, T, T,
T, T, T, T, F, F, F, F, F, F, F,
F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F }

Definition at line 68 of file vtkTableBasedClipCases.h.

◆ CellMaxCase

constexpr uint8_t vtkTableBasedClipCasesBase::CellMaxCase[9] = { 0, 1, 3, 7, 15, 31, 63, 127, 255 }
staticconstexprprotected

Definition at line 75 of file vtkTableBasedClipCases.h.

◆ NUM_CELL_TYPES

constexpr uint8_t vtkTableBasedClipCasesBase::NUM_CELL_TYPES = 17
staticconstexprprotected

Definition at line 77 of file vtkTableBasedClipCases.h.

◆ N

constexpr uint8_t vtkTableBasedClipCasesBase::N = 255
staticconstexprprotected

Definition at line 78 of file vtkTableBasedClipCases.h.

◆ MAX_NUM_EDGES

constexpr uint8_t vtkTableBasedClipCasesBase::MAX_NUM_EDGES = 12
staticconstexprprotected

Definition at line 79 of file vtkTableBasedClipCases.h.

◆ CellEdges

constexpr uint8_t vtkTableBasedClipCasesBase::CellEdges[NUM_CELL_TYPES][MAX_NUM_EDGES][2]
staticconstexprprotected

Definition at line 82 of file vtkTableBasedClipCases.h.

◆ CellCasesStartIndexLookUp

constexpr int16_t vtkTableBasedClipCasesBase::CellCasesStartIndexLookUp[NUM_CELL_TYPES]
staticconstexprprotected
Initial value:
= {
VTK_CLIP_CAST(int16_t, -1),
VTK_CLIP_CAST(int16_t, 0),
VTK_CLIP_CAST(int16_t, -1),
VTK_CLIP_CAST(int16_t, 2),
VTK_CLIP_CAST(int16_t, -1),
VTK_CLIP_CAST(int16_t, 6),
VTK_CLIP_CAST(int16_t, -1),
VTK_CLIP_CAST(int16_t, -1),
VTK_CLIP_CAST(int16_t, 14),
VTK_CLIP_CAST(int16_t, 30),
VTK_CLIP_CAST(int16_t, 46),
VTK_CLIP_CAST(int16_t, 62),
VTK_CLIP_CAST(int16_t, 318),
VTK_CLIP_CAST(int16_t, 574),
VTK_CLIP_CAST(int16_t, 638),
VTK_CLIP_CAST(int16_t, -1),
VTK_CLIP_CAST(int16_t, -1),
}
#define VTK_CLIP_CAST(type, value)

Definition at line 131 of file vtkTableBasedClipCases.h.


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