Data Class Reference

Abstract base class for data. More...

#include <data.hh>

Inherits ost::img::ConstData.

Inherited by ImageHandle, and NullData.

Public Member Functions

Initialization and Deconstruction



 Data ()
virtual ~Data ()
Properties



virtual void SetSpatialOrigin (const Point &o)=0

Sampling interface



void SetPixelSampling (const Vec3 &)
void SetPixelSampling (Real d)
void SetSpatialSampling (const Vec3 &)
void SetSpatialSampling (Real d)
virtual void Apply (NonModAlgorithm &a) const =0
virtual void ApplyIP (NonModAlgorithm &a) const =0
 Data (const Data &d)
Dataoperator= (const Data &d)

Detailed Description

Abstract base class for data.

The non-const Data class is expanded slightly in functionality, as it offers some modification routines, namely

It servers mainly as the base class for ImageHandle.

Definition at line 253 of file data.hh.


Constructor & Destructor Documentation

Data (  ) 
virtual ~Data (  )  [virtual]
Data ( const Data d  )  [protected]

Member Function Documentation

virtual void Apply ( NonModAlgorithm a  )  const [pure virtual]

Algorithm interface: NonModAlgorithm.

Implements ConstData.

Implemented in ImageHandle, and NullData.

virtual void ApplyIP ( NonModAlgorithm a  )  const [pure virtual]

Implements ConstData.

Implemented in ImageHandle, and NullData.

Data& operator= ( const Data d  )  [protected]

Reimplemented from ConstData.

Reimplemented in ImageHandle.

void SetPixelSampling ( Real  d  )  [inline]

Set uniform pixel dimensions of the current domain.

Definition at line 276 of file data.hh.

void SetPixelSampling ( const Vec3 &   ) 
virtual void SetSpatialOrigin ( const Point o  )  [pure virtual]

Set the spatial origin.

Implemented in ImageHandle, and NullData.

void SetSpatialSampling ( Real  d  )  [inline]

set spatial pixel dimensions (uniform)

Definition at line 280 of file data.hh.

void SetSpatialSampling ( const Vec3 &   ) 

set spatial pixel dimensions (non-uniform)


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1