10#ifndef vtkDGArrayOutputAccessor_h
11#define vtkDGArrayOutputAccessor_h
14#include "vtkFiltersCellGridModule.h"
19VTK_ABI_NAMESPACE_BEGIN
45 assert(ii < this->
Size);
46 return this->
Data[ii];
48 const double*
data()
const {
return this->
Data; }
53 operator bool()
const {
return !!this->
Data && this->
Size > 0; }
73 vtkTypeUInt64
Key{ 0 };
vtkTypeUInt64 operator++(int)
~vtkDGArrayOutputAccessor()
vtkDGArrayOutputAccessor & operator+=(vtkTypeUInt64 count)
vtkTypeUInt64 GetKey() const
vtkDGArrayOutputAccessor(vtkDoubleArray *result)
vtkTypeUInt64 operator++()
vtkDGArrayOutputAccessor & operator=(const vtkDGArrayOutputAccessor &other)
Tuple operator[](vtkTypeUInt64 tupleId)
vtkDGArrayOutputAccessor(const vtkDGArrayOutputAccessor &other)
dynamic, self-adjusting array of double
Expose a tuple in a vtkDoubleArray as an object with a size() method to satisfy requirements of the o...
double & operator[](int ii)
Tuple(const Tuple &)=default
Tuple(double *data, int size)
Tuple & operator=(const Tuple &)=default
const double * data() const