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
 
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 815 of file vtkCellArray.h.

Member Typedef Documentation

◆ ArrayType

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

Definition at line 817 of file vtkCellArray.h.

◆ ValueType

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

Definition at line 818 of file vtkCellArray.h.

◆ CellRangeType

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

Definition at line 819 of file vtkCellArray.h.

Constructor & Destructor Documentation

◆ VisitState()

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

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

◆ GetOffsets() [2/2]

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

Definition at line 830 of file vtkCellArray.h.

◆ GetConnectivity() [1/2]

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

Definition at line 832 of file vtkCellArray.h.

◆ GetConnectivity() [2/2]

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

Definition at line 833 of file vtkCellArray.h.

◆ GetNumberOfCells()

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

Definition at line 1352 of file vtkCellArray.h.

◆ GetBeginOffset()

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

Definition at line 1358 of file vtkCellArray.h.

◆ GetEndOffset()

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

Definition at line 1364 of file vtkCellArray.h.

◆ GetCellSize()

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

Definition at line 1370 of file vtkCellArray.h.

◆ GetCellRange()

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

Definition at line 1377 of file vtkCellArray.h.

◆ operator new()

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

Definition at line 859 of file vtkCellArray.h.

◆ operator delete()

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

Definition at line 869 of file vtkCellArray.h.

Friends And Related Function Documentation

◆ vtkCellArray

template<typename ArrayT >
friend class vtkCellArray
friend

Definition at line 845 of file vtkCellArray.h.

Member Data Documentation

◆ ValueTypeIsSameAsIdType

template<typename ArrayT >
constexpr bool vtkCellArray::VisitState< ArrayT >::ValueTypeIsSameAsIdType
staticconstexpr
Initial value:
@ value
Definition: vtkX3D.h:220
typename ArrayType::ValueType ValueType
Definition: vtkCellArray.h:818
int vtkIdType
Definition: vtkType.h:315

Definition at line 826 of file vtkCellArray.h.

◆ Connectivity

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

Definition at line 886 of file vtkCellArray.h.

◆ Offsets

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

Definition at line 887 of file vtkCellArray.h.


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