VTK  9.4.20241108
Classes | Namespaces | Macros
vtkCellArray.h File Reference
#include "vtkAbstractCellArray.h"
#include "vtkCommonDataModelModule.h"
#include "vtkWrappingHints.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

namespace  vtkCellArray_detail
 

Macros

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

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);
int vtkIdType
Definition vtkType.h:315

Definition at line 279 of file vtkCellArray.h.