OpenMS
PoseClusteringShiftSuperimposer.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Timo Sachsenberg $
6 // $Authors: Eva Lange, Clemens Groepl $
7 // --------------------------------------------------------------------------
8 
9 
10 #pragma once
11 
13 
14 namespace OpenMS
15 {
16 
38  class OPENMS_DLLAPI PoseClusteringShiftSuperimposer :
39  public BaseSuperimposer
40  {
41 public:
42 
45 
48  {}
49 
64  void run(const ConsensusMap & map_model, const ConsensusMap & map_scene, TransformationDescription & transformation) override;
65 
68  {
70  }
71 
73  static const String getProductName()
74  {
75  return "poseclustering_shift";
76  }
77 
78  };
79 } // namespace OpenMS
80 
The base class of all superimposer algorithms.
Definition: BaseSuperimposer.h:33
A container for consensus elements.
Definition: ConsensusMap.h:66
A superimposer that uses a voting scheme, also known as pose clustering, to find a good shift transfo...
Definition: PoseClusteringShiftSuperimposer.h:40
static BaseSuperimposer * create()
Returns an instance of this class.
Definition: PoseClusteringShiftSuperimposer.h:67
~PoseClusteringShiftSuperimposer() override
Destructor.
Definition: PoseClusteringShiftSuperimposer.h:47
void run(const ConsensusMap &map_model, const ConsensusMap &map_scene, TransformationDescription &transformation) override
Estimates the transformation and fills the given mapping function. (Has a precondition!...
static const String getProductName()
Returns the name of this module.
Definition: PoseClusteringShiftSuperimposer.h:73
A more convenient string class.
Definition: String.h:34
Generic description of a coordinate transformation.
Definition: TransformationDescription.h:37
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22