VTK  9.3.0
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
 
voidoperator 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 806 of file vtkCellArray.h.

Member Typedef Documentation

◆ ArrayType

Definition at line 808 of file vtkCellArray.h.

◆ ValueType

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

Definition at line 809 of file vtkCellArray.h.

◆ CellRangeType

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

Definition at line 810 of file vtkCellArray.h.

Constructor & Destructor Documentation

◆ VisitState()

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

Definition at line 839 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 820 of file vtkCellArray.h.

◆ GetOffsets() [2/2]

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

Definition at line 821 of file vtkCellArray.h.

◆ GetConnectivity() [1/2]

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

Definition at line 823 of file vtkCellArray.h.

◆ GetConnectivity() [2/2]

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

Definition at line 824 of file vtkCellArray.h.

◆ GetNumberOfCells()

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

Definition at line 1343 of file vtkCellArray.h.

◆ GetBeginOffset()

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

Definition at line 1349 of file vtkCellArray.h.

◆ GetEndOffset()

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

Definition at line 1355 of file vtkCellArray.h.

◆ GetCellSize()

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

Definition at line 1361 of file vtkCellArray.h.

◆ GetCellRange()

Definition at line 1368 of file vtkCellArray.h.

◆ operator new()

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

Definition at line 850 of file vtkCellArray.h.

◆ operator delete()

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

Definition at line 860 of file vtkCellArray.h.

Friends And Related Symbol Documentation

◆ vtkCellArray

Definition at line 836 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 817 of file vtkCellArray.h.

◆ Connectivity

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

Definition at line 877 of file vtkCellArray.h.

◆ Offsets

Definition at line 878 of file vtkCellArray.h.


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