PixelMetadata Class Reference
[Datasets]

The abstract interface for arbitrary metadata. More...

#include <pixel_metadata.h>

Inherits Metadata.

Inheritance diagram for PixelMetadata:

Inheritance graph
[legend]
Collaboration diagram for PixelMetadata:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PixelMetadata (unsigned char num_dimensions, dataset_position_type size, spacings_type spacings, unsigned char num_bytes_per_pixel)
virtual ~PixelMetadata ()
unsigned char getNumDimensions () const
dataset_position_type const & getSize () const
spacings_type const & getSpacings () const
unsigned char getNumBytesPerPixel () const

Detailed Description

The abstract interface for arbitrary metadata.

Author:
Tobias Gross (tobias.gross@imedgine.org)

Christian Koerner (christian.koerner@imedgine.org)

Alexander Lex (alexander.lex@imedgine.org)

Marc Streit (marc.streit@imedgine.org)

Martin Reininger (martin.reininger@imedgine.org)

See also:
Metadata

Definition at line 37 of file pixel_metadata.h.


Constructor & Destructor Documentation

PixelMetadata unsigned char  num_dimensions,
dataset_position_type  size,
spacings_type  spacings,
unsigned char  num_bytes_per_pixel
 

Constructor

Definition at line 20 of file pixel_metadata.cpp.

~PixelMetadata  )  [virtual]
 

Destructor

Definition at line 32 of file pixel_metadata.cpp.


Member Function Documentation

unsigned char getNumBytesPerPixel  )  const
 

Returns the number of bytes used to store one pixel of the dataset

Returns:
The pixel stride of the dataset

Definition at line 52 of file pixel_metadata.cpp.

Referenced by ThresholdConfigWidget::showConfiguration().

unsigned char getNumDimensions  )  const
 

Return the number of dimensions of the dataset (2 for images, 3 form volumes)

Returns:
The number of dimensions

dataset_position_type const & getSize  )  const
 

Returns the size (number of pixels) in every dimension of the dataset

Returns:
The size of the dataset

Definition at line 38 of file pixel_metadata.cpp.

spacings_type const & getSpacings  )  const
 

Returns the pixel spacing in every dimension of the the dataset

Returns:
The pixel spacings

Definition at line 45 of file pixel_metadata.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Aug 13 18:20:02 2006 for iMEDgine by  doxygen 1.4.6