|
| Array3dTypedAdaptor (const Array3dTypedAdaptor &adaptor) |
|
| Array3dTypedAdaptor (const Reader &eval=Reader(), const Writer &writer=Writer()) |
|
| Array3dTypedAdaptor (ContainerType *data, bool ownsData, const Reader &eval=Reader(), const Writer &writer=Writer()) |
|
| ~Array3dTypedAdaptor () |
|
qint64 | cacheKey () const override |
|
Array3dTypedAdaptor * | clone () const override |
|
unsigned | dimension (unsigned i) const override |
|
bool | empty () const override |
|
QVector3D | getCellSpacing () const override |
|
QVector3D | getOrigin () const override |
|
T | operator() (unsigned x, unsigned y, unsigned z=0) const override |
|
void | resize (unsigned x, unsigned y, unsigned z) override |
|
void | setCell (unsigned x, unsigned y, unsigned z, const T &value) override |
|
void | setCellSpacing (const QVector3D &size) override |
|
void | setData (ContainerType *d, bool ownsData) |
|
void | setOrigin (const QVector3D &origin) override |
|
void | setReader (const Reader &reader) |
|
void | setWriter (const Writer &writer) |
|
unsigned | size () const override |
|
| ~Array3dTyped () override=default |
|
Array3dTyped * | clone () const override=0 |
|
virtual T | getFillValue () const |
|
virtual bool | hasFillValue () const |
|
virtual T | operator() (unsigned x, unsigned y, unsigned z) const =0 |
|
virtual void | resize (unsigned x, unsigned y, unsigned z)=0 |
|
virtual void | setCell (unsigned x, unsigned y, unsigned z, const T &value)=0 |
|
| ~Array3d () override=default |
|
virtual qint64 | cacheKey () const =0 |
|
Array3d * | clone () const override=0 |
|
virtual unsigned | dimension (unsigned i) const =0 |
|
virtual bool | empty () const =0 |
|
virtual QVector3D | getCellSpacing () const |
|
virtual QVector3D | getOrigin () const |
|
virtual void | setCellSpacing (const QVector3D &size) |
|
virtual void | setOrigin (const QVector3D &origin) |
|
virtual unsigned | size () const =0 |
|
virtual | ~Clonable ()=default |
|
virtual Clonable * | clone () const =0 |
|
template<typename ContainerType, typename T, typename Reader = Array3dTypedReader<ContainerType, T>, typename Writer = Array3dTypedWriter<ContainerType, T>, typename DeepCopier = DeepCopy<ContainerType>>
class CSIRO::DataAnalysis::Array3dTypedAdaptor< ContainerType, T, Reader, Writer, DeepCopier >
Standard implementation of our Array3dTyped interface, which allows users to specify the type of container.
The container must implement the following functions:
See Array3dData for an example of a class that implements these functions.
- Template Parameters
-
ContainerType | The container that stores data in some format (does not need to be T) |
T | The type of data the adaptor will extract from its underlying container. |
Reader | The policy to be used to return the data from the container as an object of type T. |
Writer | The policy to be used to write an object of type T to to the container as the type ContainreType::value_type. |