|  | OpenMS
    2.6.0
    | 
Representation of a feature in a hash grid. More...
#include <OpenMS/DATASTRUCTURES/GridFeature.h>
| Public Member Functions | |
| GridFeature (const BaseFeature &feature, Size map_index, Size feature_index) | |
| Detailed constructor.  More... | |
| const BaseFeature & | getFeature () const | 
| Returns the feature.  More... | |
| virtual | ~GridFeature () | 
| Destructor.  More... | |
| Size | getMapIndex () const | 
| Returns the map index.  More... | |
| Size | getFeatureIndex () const | 
| Returns the feature index.  More... | |
| Int | getID () const | 
| Returns the ID of the GridFeature (same as the feature index)  More... | |
| const std::set< AASequence > & | getAnnotations () const | 
| Returns the set of peptide sequences annotated to the cluster center.  More... | |
| double | getRT () const | 
| Returns the feature RT.  More... | |
| double | getMZ () const | 
| Returns the feature m/z.  More... | |
| Private Attributes | |
| const BaseFeature & | feature_ | 
| Reference to the contained feature.  More... | |
| Size | map_index_ | 
| Index of the feature map or consensus map.  More... | |
| Size | feature_index_ | 
| Index of the feature in the map.  More... | |
| std::set< AASequence > | annotations_ | 
| Set of peptide sequences annotated to the feature.  More... | |
Representation of a feature in a hash grid.
A GridFeature can be stored in a HashGrid and points to a BaseFeature (Feature or ConsensusFeature). Used for QT feature grouping (see QTClusterFinder).
| GridFeature | ( | const BaseFeature & | feature, | 
| Size | map_index, | ||
| Size | feature_index | ||
| ) | 
Detailed constructor.
| feature | Reference to the contained feature | 
| map_index | Index of the feature map or consensus map | 
| feature_index | Index of the feature in the map | 
| 
 | virtual | 
Destructor.
| const std::set<AASequence>& getAnnotations | ( | ) | const | 
Returns the set of peptide sequences annotated to the cluster center.
| const BaseFeature& getFeature | ( | ) | const | 
Returns the feature.
| Size getFeatureIndex | ( | ) | const | 
Returns the feature index.
| Int getID | ( | ) | const | 
Returns the ID of the GridFeature (same as the feature index)
| Size getMapIndex | ( | ) | const | 
Returns the map index.
| double getMZ | ( | ) | const | 
Returns the feature m/z.
| double getRT | ( | ) | const | 
Returns the feature RT.
| 
 | private | 
Set of peptide sequences annotated to the feature.
| 
 | private | 
Reference to the contained feature.
| 
 | private | 
Index of the feature in the map.
| 
 | private | 
Index of the feature map or consensus map.
 1.8.16
 1.8.16