VTK  9.6.20260402
vtkMarchingCellsClipCasesBase Class Reference

#include <vtkMarchingCellsClipCases.h>

Inheritance diagram for vtkMarchingCellsClipCasesBase:
[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 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 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 16 of file vtkMarchingCellsClipCases.h.

Member Typedef Documentation

◆ EDGEIDXS

Definition at line 60 of file vtkMarchingCellsClipCases.h.

Member Function Documentation

◆ IsCellTypeSupported()

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

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

Definition at line 142 of file vtkMarchingCellsClipCases.h.

◆ GetCellEdges()

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

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

This is used in correspondence with GetShapeCase.

Definition at line 152 of file vtkMarchingCellsClipCases.h.

Member Data Documentation

◆ P0

uint8_t vtkMarchingCellsClipCasesBase::P0 = 0
staticconstexpr

Definition at line 22 of file vtkMarchingCellsClipCases.h.

◆ P1

uint8_t vtkMarchingCellsClipCasesBase::P1 = 1
staticconstexpr

Definition at line 23 of file vtkMarchingCellsClipCases.h.

◆ P2

uint8_t vtkMarchingCellsClipCasesBase::P2 = 2
staticconstexpr

Definition at line 24 of file vtkMarchingCellsClipCases.h.

◆ P3

uint8_t vtkMarchingCellsClipCasesBase::P3 = 3
staticconstexpr

Definition at line 25 of file vtkMarchingCellsClipCases.h.

◆ P4

uint8_t vtkMarchingCellsClipCasesBase::P4 = 4
staticconstexpr

Definition at line 26 of file vtkMarchingCellsClipCases.h.

◆ P5

uint8_t vtkMarchingCellsClipCasesBase::P5 = 5
staticconstexpr

Definition at line 27 of file vtkMarchingCellsClipCases.h.

◆ P6

uint8_t vtkMarchingCellsClipCasesBase::P6 = 6
staticconstexpr

Definition at line 28 of file vtkMarchingCellsClipCases.h.

◆ P7

uint8_t vtkMarchingCellsClipCasesBase::P7 = 7
staticconstexpr

Definition at line 29 of file vtkMarchingCellsClipCases.h.

◆ EA

uint8_t vtkMarchingCellsClipCasesBase::EA = 8
staticconstexpr

Definition at line 33 of file vtkMarchingCellsClipCases.h.

◆ EB

uint8_t vtkMarchingCellsClipCasesBase::EB = 9
staticconstexpr

Definition at line 34 of file vtkMarchingCellsClipCases.h.

◆ EC

uint8_t vtkMarchingCellsClipCasesBase::EC = 10
staticconstexpr

Definition at line 35 of file vtkMarchingCellsClipCases.h.

◆ ED

uint8_t vtkMarchingCellsClipCasesBase::ED = 11
staticconstexpr

Definition at line 36 of file vtkMarchingCellsClipCases.h.

◆ EE

uint8_t vtkMarchingCellsClipCasesBase::EE = 12
staticconstexpr

Definition at line 37 of file vtkMarchingCellsClipCases.h.

◆ EF

uint8_t vtkMarchingCellsClipCasesBase::EF = 13
staticconstexpr

Definition at line 38 of file vtkMarchingCellsClipCases.h.

◆ EG

uint8_t vtkMarchingCellsClipCasesBase::EG = 14
staticconstexpr

Definition at line 39 of file vtkMarchingCellsClipCases.h.

◆ EH

uint8_t vtkMarchingCellsClipCasesBase::EH = 15
staticconstexpr

Definition at line 40 of file vtkMarchingCellsClipCases.h.

◆ EI

uint8_t vtkMarchingCellsClipCasesBase::EI = 16
staticconstexpr

Definition at line 41 of file vtkMarchingCellsClipCases.h.

◆ EJ

uint8_t vtkMarchingCellsClipCasesBase::EJ = 17
staticconstexpr

Definition at line 42 of file vtkMarchingCellsClipCases.h.

◆ EK

uint8_t vtkMarchingCellsClipCasesBase::EK = 18
staticconstexpr

Definition at line 43 of file vtkMarchingCellsClipCases.h.

◆ EL

uint8_t vtkMarchingCellsClipCasesBase::EL = 19
staticconstexpr

Definition at line 44 of file vtkMarchingCellsClipCases.h.

◆ N0

uint8_t vtkMarchingCellsClipCasesBase::N0 = 20
staticconstexpr

Definition at line 47 of file vtkMarchingCellsClipCases.h.

◆ F

bool vtkMarchingCellsClipCasesBase::F = false
staticconstexprprotected

Definition at line 63 of file vtkMarchingCellsClipCases.h.

◆ T

bool vtkMarchingCellsClipCasesBase::T = true
staticconstexprprotected

Definition at line 64 of file vtkMarchingCellsClipCases.h.

◆ SupportedCellTypes

bool vtkMarchingCellsClipCasesBase::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 66 of file vtkMarchingCellsClipCases.h.

◆ CellMaxCase

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

Definition at line 73 of file vtkMarchingCellsClipCases.h.

◆ NUM_CELL_TYPES

uint8_t vtkMarchingCellsClipCasesBase::NUM_CELL_TYPES = 17
staticconstexprprotected

Definition at line 75 of file vtkMarchingCellsClipCases.h.

◆ N

uint8_t vtkMarchingCellsClipCasesBase::N = 255
staticconstexprprotected

Definition at line 76 of file vtkMarchingCellsClipCases.h.

◆ MAX_NUM_EDGES

uint8_t vtkMarchingCellsClipCasesBase::MAX_NUM_EDGES = 12
staticconstexprprotected

Definition at line 77 of file vtkMarchingCellsClipCases.h.

◆ CellEdges

uint8_t vtkMarchingCellsClipCasesBase::CellEdges[NUM_CELL_TYPES][MAX_NUM_EDGES][2]
staticconstexprprotected

Definition at line 80 of file vtkMarchingCellsClipCases.h.

◆ CellCasesStartIndexLookUp

int16_t vtkMarchingCellsClipCasesBase::CellCasesStartIndexLookUp[NUM_CELL_TYPES]
staticconstexprprotected
Initial value:
= {
static_cast<int16_t>(-1),
static_cast<int16_t>(0),
static_cast<int16_t>(-1),
static_cast<int16_t>(2),
static_cast<int16_t>(-1),
static_cast<int16_t>(6),
static_cast<int16_t>(-1),
static_cast<int16_t>(-1),
static_cast<int16_t>(14),
static_cast<int16_t>(30),
static_cast<int16_t>(46),
static_cast<int16_t>(62),
static_cast<int16_t>(318),
static_cast<int16_t>(574),
static_cast<int16_t>(638),
static_cast<int16_t>(-1),
static_cast<int16_t>(-1),
}

Definition at line 118 of file vtkMarchingCellsClipCases.h.


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