VTK  9.4.20241108
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkCellArray::VisitState< ArrayT > Struct Template Reference

#include <vtkCellArray.h>

Inheritance diagram for vtkCellArray::VisitState< ArrayT >:
[legend]
Collaboration diagram for vtkCellArray::VisitState< ArrayT >:
[legend]

Public Types

using ArrayType = ArrayT
 
using ValueType = typename ArrayType::ValueType
 
using CellRangeType = decltype(vtk::DataArrayValueRange< 1 >(std::declval< ArrayType >()))
 

Public Member Functions

ArrayTypeGetOffsets ()
 
const ArrayTypeGetOffsets () const
 
ArrayTypeGetConnectivity ()
 
const ArrayTypeGetConnectivity () const
 
vtkIdType GetNumberOfCells () const
 
vtkIdType GetBeginOffset (vtkIdType cellId) const
 
vtkIdType GetEndOffset (vtkIdType cellId) const
 
vtkIdType GetCellSize (vtkIdType cellId) const
 
CellRangeType GetCellRange (vtkIdType cellId)
 

Static Public Attributes

static constexpr bool ValueTypeIsSameAsIdType
 

Protected Member Functions

 VisitState ()
 
 ~VisitState ()=default
 
void * operator new (size_t nSize)
 
void operator delete (void *p)
 

Protected Attributes

vtkSmartPointer< ArrayTypeConnectivity
 
vtkSmartPointer< ArrayTypeOffsets
 

Friends

class vtkCellArray
 

Detailed Description

template<typename ArrayT>
struct vtkCellArray::VisitState< ArrayT >

Definition at line 914 of file vtkCellArray.h.

Member Typedef Documentation

◆ ArrayType

template<typename ArrayT >
using vtkCellArray::VisitState< ArrayT >::ArrayType = ArrayT

Definition at line 916 of file vtkCellArray.h.

◆ ValueType

template<typename ArrayT >
using vtkCellArray::VisitState< ArrayT >::ValueType = typename ArrayType::ValueType

Definition at line 917 of file vtkCellArray.h.

◆ CellRangeType

template<typename ArrayT >
using vtkCellArray::VisitState< ArrayT >::CellRangeType = decltype(vtk::DataArrayValueRange<1>(std::declval<ArrayType>()))

Definition at line 918 of file vtkCellArray.h.

Constructor & Destructor Documentation

◆ VisitState()

template<typename ArrayT >
vtkCellArray::VisitState< ArrayT >::VisitState ( )
inlineprotected

Definition at line 947 of file vtkCellArray.h.

◆ ~VisitState()

template<typename ArrayT >
vtkCellArray::VisitState< ArrayT >::~VisitState ( )
protecteddefault

Member Function Documentation

◆ GetOffsets() [1/2]

template<typename ArrayT >
ArrayType * vtkCellArray::VisitState< ArrayT >::GetOffsets ( )
inline

Definition at line 928 of file vtkCellArray.h.

◆ GetOffsets() [2/2]

template<typename ArrayT >
const ArrayType * vtkCellArray::VisitState< ArrayT >::GetOffsets ( ) const
inline

Definition at line 929 of file vtkCellArray.h.

◆ GetConnectivity() [1/2]

template<typename ArrayT >
ArrayType * vtkCellArray::VisitState< ArrayT >::GetConnectivity ( )
inline

Definition at line 931 of file vtkCellArray.h.

◆ GetConnectivity() [2/2]

template<typename ArrayT >
const ArrayType * vtkCellArray::VisitState< ArrayT >::GetConnectivity ( ) const
inline

Definition at line 932 of file vtkCellArray.h.

◆ GetNumberOfCells()

template<typename ArrayT >
vtkIdType vtkCellArray::VisitState< ArrayT >::GetNumberOfCells ( ) const

Definition at line 1463 of file vtkCellArray.h.

◆ GetBeginOffset()

template<typename ArrayT >
vtkIdType vtkCellArray::VisitState< ArrayT >::GetBeginOffset ( vtkIdType  cellId) const

Definition at line 1469 of file vtkCellArray.h.

◆ GetEndOffset()

template<typename ArrayT >
vtkIdType vtkCellArray::VisitState< ArrayT >::GetEndOffset ( vtkIdType  cellId) const

Definition at line 1475 of file vtkCellArray.h.

◆ GetCellSize()

template<typename ArrayT >
vtkIdType vtkCellArray::VisitState< ArrayT >::GetCellSize ( vtkIdType  cellId) const

Definition at line 1481 of file vtkCellArray.h.

◆ GetCellRange()

template<typename ArrayT >
vtkCellArray::VisitState< ArrayT >::CellRangeType vtkCellArray::VisitState< ArrayT >::GetCellRange ( vtkIdType  cellId)

Definition at line 1488 of file vtkCellArray.h.

◆ operator new()

template<typename ArrayT >
void * vtkCellArray::VisitState< ArrayT >::operator new ( size_t  nSize)
inlineprotected

Definition at line 958 of file vtkCellArray.h.

◆ operator delete()

template<typename ArrayT >
void vtkCellArray::VisitState< ArrayT >::operator delete ( void *  p)
inlineprotected

Definition at line 968 of file vtkCellArray.h.

Friends And Related Symbol Documentation

◆ vtkCellArray

template<typename ArrayT >
friend class vtkCellArray
friend

Definition at line 944 of file vtkCellArray.h.

Member Data Documentation

◆ ValueTypeIsSameAsIdType

template<typename ArrayT >
constexpr bool vtkCellArray::VisitState< ArrayT >::ValueTypeIsSameAsIdType
staticconstexpr
Initial value:
= std::is_integral<ValueType>::value &&
std::is_signed<ValueType>::value && (sizeof(ValueType) == sizeof(vtkIdType))
typename ArrayType::ValueType ValueType
int vtkIdType
Definition vtkType.h:315

Definition at line 925 of file vtkCellArray.h.

◆ Connectivity

template<typename ArrayT >
vtkSmartPointer<ArrayType> vtkCellArray::VisitState< ArrayT >::Connectivity
protected

Definition at line 985 of file vtkCellArray.h.

◆ Offsets

template<typename ArrayT >
vtkSmartPointer<ArrayType> vtkCellArray::VisitState< ArrayT >::Offsets
protected

Definition at line 986 of file vtkCellArray.h.


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