VTK  9.1.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
 
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 885 of file vtkCellArray.h.

Member Typedef Documentation

◆ ArrayType

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

Definition at line 887 of file vtkCellArray.h.

◆ ValueType

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

Definition at line 888 of file vtkCellArray.h.

◆ CellRangeType

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

Definition at line 889 of file vtkCellArray.h.

Constructor & Destructor Documentation

◆ VisitState()

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

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

◆ GetOffsets() [2/2]

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

Definition at line 900 of file vtkCellArray.h.

◆ GetConnectivity() [1/2]

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

Definition at line 902 of file vtkCellArray.h.

◆ GetConnectivity() [2/2]

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

Definition at line 903 of file vtkCellArray.h.

◆ GetNumberOfCells()

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

Definition at line 1422 of file vtkCellArray.h.

◆ GetBeginOffset()

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

Definition at line 1428 of file vtkCellArray.h.

◆ GetEndOffset()

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

Definition at line 1434 of file vtkCellArray.h.

◆ GetCellSize()

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

Definition at line 1440 of file vtkCellArray.h.

◆ GetCellRange()

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

Definition at line 1447 of file vtkCellArray.h.

◆ operator new()

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

Definition at line 929 of file vtkCellArray.h.

◆ operator delete()

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

Definition at line 939 of file vtkCellArray.h.

Friends And Related Function Documentation

◆ vtkCellArray

template<typename ArrayT >
friend class vtkCellArray
friend

Definition at line 915 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
Definition: vtkCellArray.h:888
int vtkIdType
Definition: vtkType.h:332

Definition at line 896 of file vtkCellArray.h.

◆ Connectivity

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

Definition at line 956 of file vtkCellArray.h.

◆ Offsets

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

Definition at line 957 of file vtkCellArray.h.


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