VTK  9.2.6
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 919 of file vtkCellArray.h.

Member Typedef Documentation

◆ ArrayType

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

Definition at line 921 of file vtkCellArray.h.

◆ ValueType

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

Definition at line 922 of file vtkCellArray.h.

◆ CellRangeType

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

Definition at line 923 of file vtkCellArray.h.

Constructor & Destructor Documentation

◆ VisitState()

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

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

◆ GetOffsets() [2/2]

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

Definition at line 934 of file vtkCellArray.h.

◆ GetConnectivity() [1/2]

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

Definition at line 936 of file vtkCellArray.h.

◆ GetConnectivity() [2/2]

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

Definition at line 937 of file vtkCellArray.h.

◆ GetNumberOfCells()

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

Definition at line 1456 of file vtkCellArray.h.

◆ GetBeginOffset()

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

Definition at line 1462 of file vtkCellArray.h.

◆ GetEndOffset()

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

Definition at line 1468 of file vtkCellArray.h.

◆ GetCellSize()

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

Definition at line 1474 of file vtkCellArray.h.

◆ GetCellRange()

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

Definition at line 1481 of file vtkCellArray.h.

◆ operator new()

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

Definition at line 963 of file vtkCellArray.h.

◆ operator delete()

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

Definition at line 973 of file vtkCellArray.h.

Friends And Related Function Documentation

◆ vtkCellArray

template<typename ArrayT >
friend class vtkCellArray
friend

Definition at line 949 of file vtkCellArray.h.

Member Data Documentation

◆ ValueTypeIsSameAsIdType

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

Definition at line 930 of file vtkCellArray.h.

◆ Connectivity

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

Definition at line 990 of file vtkCellArray.h.

◆ Offsets

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

Definition at line 991 of file vtkCellArray.h.


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