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

#include <mlImageVector.h>

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

Public Types

enum  { NumberOfDimensions = MLMaxImageDimension }
 Enumerator that defines 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. More...
      ComponentType   y 
 Y component of the vector. More...
      ComponentType   z 
 Z component of the vector. More...
      ComponentType   c 
 Color component of the vector. More...
      ComponentType   t 
 Time component of the vector. More...
      ComponentType   u 
 Unit/Modality/User component of the vector. More...
   } 
   ComponentType   array [NumberOfDimensions
}; 

Protected Member Functions

 TVector6DBase ()

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
CompIntTypeThe integer type used as component member type; only signed integer types are tested/recommended.

Definition at line 39 of file mlImageVector.h.

Member Typedef Documentation

◆ ComponentType

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

Integer type used by this vector.

Definition at line 44 of file mlImageVector.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename CompIntType>
anonymous enum

Enumerator that defines the dimension of this class.

Enumerator
NumberOfDimensions 

Definition at line 47 of file mlImageVector.h.

Constructor & Destructor Documentation

◆ TVector6DBase()

template<typename CompIntType>
ml::TVector6DBase< CompIntType >::TVector6DBase ( )
inlineprotected

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

Definition at line 83 of file mlImageVector.h.

Member Data Documentation

◆ [union]

union { ... } ml::TVector6DBase< CompIntType >

◆ array

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 75 of file mlImageVector.h.

Referenced by ml::TVector< TVector6DBase< CompIntType > >::allBiggerZero(), ml::TVector< TVector6DBase< CompIntType > >::fillEqualComps(), ml::TVector< TVector6DBase< CompIntType > >::fillGreaterComps(), ml::TVector< TVector6DBase< CompIntType > >::fillSmallerComps(), ml::TVector< TVector6DBase< CompIntType > >::getMax(), ml::TVector< TVector6DBase< CompIntType > >::getMaxIdx(), ml::TVector< TVector6DBase< CompIntType > >::getMin(), ml::TVector< TVector6DBase< CompIntType > >::getMinIdx(), ml::TVector< TVector6DBase< CompIntType > >::hasNegativeComp(), ml::TVector< TVector6DBase< CompIntType > >::operator&=(), ml::TVector< TVector6DBase< CompIntType > >::operator&=(), ml::TVector< TVector6DBase< CompIntType > >::operator*=(), ml::TVector< TVector6DBase< CompIntType > >::operator+=(), ml::TVector< TVector6DBase< CompIntType > >::operator-=(), ml::TVector< TVector6DBase< CompIntType > >::operator/=(), ml::TVector< TVector6DBase< CompIntType > >::operator<(), ml::TVector< TVector6DBase< CompIntType > >::operator<<=(), ml::TVector< TVector6DBase< CompIntType > >::operator<=(), ml::TVector< TVector6DBase< CompIntType > >::operator=(), ml::TVector< TVector6DBase< CompIntType > >::operator==(), ml::TVector< TVector6DBase< CompIntType > >::operator>(), ml::TVector< TVector6DBase< CompIntType > >::operator>=(), ml::TVector< TVector6DBase< CompIntType > >::operator[](), ml::TVector< TVector6DBase< CompIntType > >::operator[](), ml::TVector< TVector6DBase< CompIntType > >::operator^=(), ml::TVector< TVector6DBase< CompIntType > >::operator^=(), ml::TVector< TVector6DBase< CompIntType > >::operator|=(), ml::TVector< TVector6DBase< CompIntType > >::operator|=(), ml::TVector< TVector6DBase< CompIntType > >::sanityCheckNumberOfVoxels(), ml::TVector< TVector6DBase< CompIntType > >::set(), ml::TVector< TVector6DBase< CompIntType > >::set(), ml::TVector< TVector6DBase< CompIntType > >::TVector(), ml::TVector< TVector6DBase< CompIntType > >::TVector(), ml::TVector< TVector6DBase< CompIntType > >::TVector(), and ml::TVector< TVector6DBase< CompIntType > >::TVector().

◆ c

◆ t

◆ u

◆ x

◆ y

◆ z


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