Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

GridCell Class Reference

#include <OpenMS/ANALYSIS/MAPMATCHING/GridCell.h>

Inheritance diagram for GridCell:

DRange< 2 > DIntervalBase

List of all members.


Detailed Description

2-dimensional grid cell over a map.

Public Types

enum  { DIMENSION = 2 }
typedef DoubleReal CoordinateType
 Coordinate type of the positions.
typedef DPosition< 2 > PositionType
 Position type.
typedef std::vector
< LinearMapping
MappingVector

Public Member Functions

GridCelloperator= (const GridCell &rhs)
 assignment operator
Constructors and Destructor
 GridCell ()
 Default constructor.
 GridCell (CoordinateType i, CoordinateType j, CoordinateType k, CoordinateType l)
 "Convenience contructor"
 GridCell (const GridCell &gc)
 Copy constructor.
virtual ~GridCell ()
 Destructor.
Accesssor methods
void setMappings (const MappingVector &m)
 Set transform.
MappingVectorgetMappings ()
 Mutable get transform.
const MappingVectorgetMappings () const
 Get transform (non-mutable).

Protected Attributes

MappingVector mappings_

Member Typedef Documentation

typedef DoubleReal CoordinateType

Coordinate type of the positions.

Reimplemented from DRange< 2 >.

typedef DPosition<2> PositionType

Position type.

Reimplemented from DRange< 2 >.

typedef std::vector<LinearMapping> MappingVector


Member Enumeration Documentation

anonymous enum

Enumerator:
DIMENSION 


Constructor & Destructor Documentation

GridCell (  )  [inline]

Default constructor.

GridCell ( CoordinateType  i,
CoordinateType  j,
CoordinateType  k,
CoordinateType  l 
) [inline]

"Convenience contructor"

GridCell ( const GridCell gc  )  [inline]

Copy constructor.

virtual ~GridCell (  )  [inline, virtual]

Destructor.


Member Function Documentation

GridCell& operator= ( const GridCell rhs  ) 

assignment operator

void setMappings ( const MappingVector m  )  [inline]

Set transform.

MappingVector& getMappings (  )  [inline]

Mutable get transform.

const MappingVector& getMappings (  )  const [inline]

Get transform (non-mutable).


Member Data Documentation

MappingVector mappings_ [protected]

We estimate a different mapping for each coordinate and therefore store a vector of transformations


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:41 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1