Interface for reading from and writing to a 3d array of some type.
#include <DataAnalysis/DataStructures/array3dtyped.h>
◆ value_type
◆ ~Array3dTyped()
◆ clone()
- Returns
- A clone of this object.
- Note
- Subclasses would normally return their own type rather than the Clonable type. The C++ language rules allow a more derived type to be returned from a virtual function and the compiler will still treat it as a valid override.
Implements Array3d.
Implemented in Array3dNullTyped< T >, Array3dTypedAdaptor< ContainerType, T, Reader, Writer, DeepCopier >, Array3dTypedAdaptor< CSIRO::DataAnalysis::Array3dTyped, double >, Array3dTypedAdaptor< CSIRO::DataAnalysis::Array3dData< CSIRO::Rendering::WSGLSparseOctree::Cell >, QRgb >, Array3dTypedAdaptor< Array3dScalar, QRgb, ImageReader, ImageWriter >, and NdTo3dAdaptor.
◆ getFillValue()
virtual T getFillValue |
( |
| ) |
const |
|
inlinevirtual |
- Returns
- the fill (empty) value of the dataset. Will return the default constructed value of T if the dataset does not have a fill value.
- Note
- should not be used if the dataset does not have a fill value, as the return value will be misleading.
Reimplemented in NdTo3dAdaptor.
◆ hasFillValue()
virtual bool hasFillValue |
( |
| ) |
const |
|
inlinevirtual |
- Returns
- true if a particular value of the array is used to indicate that the cell is "empty". False (default) otherwise.
Reimplemented in NdTo3dAdaptor.
◆ operator()()
virtual T operator() |
( |
unsigned |
x, |
|
|
unsigned |
y, |
|
|
unsigned |
z |
|
) |
| const |
|
pure virtual |
Implemented in Array3dTypedAdaptor< ContainerType, T, Reader, Writer, DeepCopier >, Array3dTypedAdaptor< CSIRO::DataAnalysis::Array3dTyped, double >, Array3dTypedAdaptor< CSIRO::DataAnalysis::Array3dData< CSIRO::Rendering::WSGLSparseOctree::Cell >, QRgb >, Array3dTypedAdaptor< Array3dScalar, QRgb, ImageReader, ImageWriter >, NdTo3dAdaptor, and Array3dNullTyped< T >.
◆ resize()
virtual void resize |
( |
unsigned |
x, |
|
|
unsigned |
y, |
|
|
unsigned |
z |
|
) |
| |
|
pure virtual |
Implemented in Array3dNullTyped< T >, Array3dTypedAdaptor< ContainerType, T, Reader, Writer, DeepCopier >, Array3dTypedAdaptor< CSIRO::DataAnalysis::Array3dTyped, double >, Array3dTypedAdaptor< CSIRO::DataAnalysis::Array3dData< CSIRO::Rendering::WSGLSparseOctree::Cell >, QRgb >, Array3dTypedAdaptor< Array3dScalar, QRgb, ImageReader, ImageWriter >, and NdTo3dAdaptor.
◆ setCell()
virtual void setCell |
( |
unsigned |
x, |
|
|
unsigned |
y, |
|
|
unsigned |
z, |
|
|
const T & |
value |
|
) |
| |
|
pure virtual |