VTK  9.0.20200927
Classes | Enumerations | Functions | Variables
vtkPolyData_detail Namespace Reference

Classes

class  CellMap
 
struct  TaggedCellId
 

Enumerations

enum  Target : vtkTypeUInt64 { Target::Verts = 0x0ull << 62, Target::Lines = 0x1ull << 62, Target::Polys = 0x2ull << 62, Target::Strips = 0x3ull << 62 }
 
enum  TypeVariant : vtkTypeUInt64 { TypeVariant::Dead = 0x0ull << 60, TypeVariant::Var1 = 0x1ull << 60, TypeVariant::Var2 = 0x2ull << 60, TypeVariant::Var3 = 0x3ull << 60 }
 

Functions

static constexpr unsigned char GenTargetVar (Target target, TypeVariant var) noexcept
 

Variables

static constexpr vtkTypeUInt64 CELLID_MASK = 0x0fffffffffffffffull
 
static constexpr vtkTypeUInt64 SHIFTED_TYPE_INDEX_MASK = 0xf000000000000000ull
 
static constexpr vtkTypeUInt64 TARGET_MASK = 0x3ull << 62
 
static constexpr vtkTypeUInt64 TYPE_VARIANT_MASK = 0x3ull << 60
 
static constexpr unsigned char TypeTable [16]
 
static constexpr unsigned char TargetVarTable [10]
 

Enumeration Type Documentation

◆ Target

enum vtkPolyData_detail::Target : vtkTypeUInt64
strong
Enumerator
Verts 
Lines 
Polys 
Strips 

Definition at line 80 of file vtkPolyDataInternals.h.

◆ TypeVariant

enum vtkPolyData_detail::TypeVariant : vtkTypeUInt64
strong
Enumerator
Dead 
Var1 
Var2 
Var3 

Definition at line 89 of file vtkPolyDataInternals.h.

Function Documentation

◆ GenTargetVar()

static constexpr unsigned char vtkPolyData_detail::GenTargetVar ( Target  target,
TypeVariant  var 
)
staticconstexprnoexcept

Definition at line 122 of file vtkPolyDataInternals.h.

Variable Documentation

◆ CELLID_MASK

constexpr vtkTypeUInt64 vtkPolyData_detail::CELLID_MASK = 0x0fffffffffffffffull
staticconstexpr

Definition at line 74 of file vtkPolyDataInternals.h.

◆ SHIFTED_TYPE_INDEX_MASK

constexpr vtkTypeUInt64 vtkPolyData_detail::SHIFTED_TYPE_INDEX_MASK = 0xf000000000000000ull
staticconstexpr

Definition at line 75 of file vtkPolyDataInternals.h.

◆ TARGET_MASK

constexpr vtkTypeUInt64 vtkPolyData_detail::TARGET_MASK = 0x3ull << 62
staticconstexpr

Definition at line 76 of file vtkPolyDataInternals.h.

◆ TYPE_VARIANT_MASK

constexpr vtkTypeUInt64 vtkPolyData_detail::TYPE_VARIANT_MASK = 0x3ull << 60
staticconstexpr

Definition at line 77 of file vtkPolyDataInternals.h.

◆ TypeTable

constexpr unsigned char vtkPolyData_detail::TypeTable[16]
staticconstexpr

◆ TargetVarTable

constexpr unsigned char vtkPolyData_detail::TargetVarTable[10]
staticconstexpr
Initial value:
= {
GenTargetVar(Target::Verts, TypeVariant::Dead),
GenTargetVar(Target::Verts, TypeVariant::Var1),
GenTargetVar(Target::Verts, TypeVariant::Var2),
GenTargetVar(Target::Lines, TypeVariant::Var1),
GenTargetVar(Target::Lines, TypeVariant::Var2),
GenTargetVar(Target::Polys, TypeVariant::Var1),
GenTargetVar(Target::Strips, TypeVariant::Var1),
GenTargetVar(Target::Polys, TypeVariant::Var3),
GenTargetVar(Target::Polys, TypeVariant::Var2),
GenTargetVar(Target::Polys, TypeVariant::Var2),
}

Definition at line 130 of file vtkPolyDataInternals.h.

vtkPolyData_detail::GenTargetVar
static constexpr unsigned char GenTargetVar(Target target, TypeVariant var) noexcept
Definition: vtkPolyDataInternals.h:122
VTK_TRIANGLE_STRIP
Definition: vtkCellType.h:52
VTK_LINE
Definition: vtkCellType.h:49
VTK_POLY_LINE
Definition: vtkCellType.h:50
VTK_QUAD
Definition: vtkCellType.h:55
VTK_EMPTY_CELL
Definition: vtkCellType.h:46
VTK_POLY_VERTEX
Definition: vtkCellType.h:48
VTK_POLYGON
Definition: vtkCellType.h:53
VTK_VERTEX
Definition: vtkCellType.h:47
VTK_TRIANGLE
Definition: vtkCellType.h:51