VTK: Common/DataModel/vtkCellArray.h File Reference

| VTK 9.3.1

Classes | Namespaces | Macros
vtkCellArray.h File Reference
`#include "vtkCommonDataModelModule.h"`
`#include "vtkObject.h"`
`#include "vtkAOSDataArrayTemplate.h"`
`#include "vtkCell.h"`
`#include "vtkDataArrayRange.h"`
`#include "vtkFeatures.h"`
`#include "vtkSmartPointer.h"`
`#include "vtkTypeInt32Array.h"`
`#include "vtkTypeInt64Array.h"`
`#include "vtkTypeList.h"`
`#include <cassert>`
`#include <initializer_list>`
`#include <type_traits>`
`#include <utility>`
Include dependency graph for vtkCellArray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | vtkCellArray
| object to represent cell connectivity More...
struct | vtkCellArray::VisitState< ArrayT >
struct | vtkCellArray::Storage
union | vtkCellArray::Storage::ArraySwitch
struct | vtkCellArray_detail::InsertNextCellImpl
struct | vtkCellArray_detail::UpdateCellCountImpl
struct | vtkCellArray_detail::GetCellSizeImpl
struct | vtkCellArray_detail::GetCellAtIdImpl
struct | vtkCellArray_detail::GetCellAtIdImpl::CanShareConnPtr< CellStateT >
struct | vtkCellArray_detail::ResetImpl

## Namespaces
| vtkCellArray_detail

## Macros
#define | VTK_CELL_ARRAY_V2
| This preprocessor definition indicates that the updated vtkCellArray is being used. More...

## Macro Definition Documentation

## ◆ VTK_CELL_ARRAY_V2

#define VTK_CELL_ARRAY_V2

This preprocessor definition indicates that the updated vtkCellArray is being used.

It may be used to conditionally switch between old and new API when both must be supported.

For example:

vtkIdType npts;
#ifdef VTK_CELL_ARRAY_V2
const vtkIdType *pts;
#else // VTK_CELL_ARRAY_V2
vtkIdType *pts'
#endif // VTK_CELL_ARRAY_V2
cellArray->GetCell(legacyLocation, npts, pts);
vtkIdType
int vtkIdType
Definition: vtkType.h:315

Definition at line 178 of file vtkCellArray.h.