ML Reference
ml::TVector6DBase< CompIntType > Class Template Reference

TVector6DBase is the data container class for TVector providing specialized 6D container functionality for vectors of dimension MLMaxImageDimension. More...

#include <mlImageVector.h>

Inheritance diagram for ml::TVector6DBase< CompIntType >:
ml::TVector< TVector6DBase< CompIntType > > ml::TImageVector< CompIntType >

List of all members.

Public Types

enum  { NumberOfDimensions = MLMaxImageDimension }
 Enumerator defining the dimension of this class. More...
typedef CompIntType ComponentType
 Integer type used by this vector.

Public Attributes

union {
   struct {
      ComponentType   x
 X component of the vector.
      ComponentType   y
 Y component of the vector.
      ComponentType   z
 Z component of the vector.
      ComponentType   c
 Color component of the vector.
      ComponentType   t
 Time component of the vector.
      ComponentType   u
 Unit/Modality/User component of the vector.
   } 
   ComponentType   array [NumberOfDimensions]
 Provides public access to all members as an array; the caller must guarantee that indexes are within [0,...,MLMaxImageDimension-1].
}; 

Protected Member Functions

 TVector6DBase ()
 Do not allow a direct creation of this class as object, because this container does not initialize itself, it must be done only by derived classes for performance reasons.

Detailed Description

template<typename CompIntType>
class ml::TVector6DBase< CompIntType >

TVector6DBase is the data container class for TVector providing specialized 6D container functionality for vectors of dimension MLMaxImageDimension.

Parameters:
CompIntTypeis the integer type used as component member type; only signed integer types are tested/recommended.

Definition at line 36 of file mlImageVector.h.


Member Typedef Documentation

template<typename CompIntType>
typedef CompIntType ml::TVector6DBase< CompIntType >::ComponentType

Member Enumeration Documentation

template<typename CompIntType>
anonymous enum

Enumerator defining the dimension of this class.

Enumerator:
NumberOfDimensions 

Definition at line 44 of file mlImageVector.h.


Constructor & Destructor Documentation

template<typename CompIntType>
ml::TVector6DBase< CompIntType >::TVector6DBase ( ) [inline, protected]

Do not allow a direct creation of this class as object, because this container does not initialize itself, it must be done only by derived classes for performance reasons.

Definition at line 80 of file mlImageVector.h.


Member Data Documentation

union { ... }
template<typename CompIntType>
ComponentType ml::TVector6DBase< CompIntType >::array[NumberOfDimensions]

Provides public access to all members as an array; the caller must guarantee that indexes are within [0,...,MLMaxImageDimension-1].

Definition at line 72 of file mlImageVector.h.

template<typename CompIntType>
ComponentType ml::TVector6DBase< CompIntType >::c

Color component of the vector.

Definition at line 62 of file mlImageVector.h.

Referenced by ml::TSubImageBox< intT >::correct(), and ml::TImageVector< intT >::iterate().

template<typename CompIntType>
ComponentType ml::TVector6DBase< CompIntType >::t

Time component of the vector.

Definition at line 64 of file mlImageVector.h.

Referenced by ml::TSubImageBox< intT >::correct(), and ml::TImageVector< intT >::iterate().

template<typename CompIntType>
ComponentType ml::TVector6DBase< CompIntType >::u

Unit/Modality/User component of the vector.

Definition at line 66 of file mlImageVector.h.

Referenced by ml::TSubImageBox< intT >::correct(), and ml::TImageVector< intT >::iterate().

template<typename CompIntType>
ComponentType ml::TVector6DBase< CompIntType >::x
template<typename CompIntType>
ComponentType ml::TVector6DBase< CompIntType >::y
template<typename CompIntType>
ComponentType ml::TVector6DBase< CompIntType >::z

The documentation for this class was generated from the following file: