OpenMS
PoseClusteringAffineSuperimposer.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 
14 #include <OpenMS/KERNEL/Peak2D.h>
15 
16 namespace OpenMS
17 {
18 
40  class OPENMS_DLLAPI PoseClusteringAffineSuperimposer :
41  public BaseSuperimposer
42  {
43 public:
44 
47 
49 
51  {}
52 
72  void run(const ConsensusMap & map_model, const ConsensusMap & map_scene, TransformationDescription & transformation) override;
73 
75  virtual void run(const std::vector<Peak2D> & map_model, const std::vector<Peak2D> & map_scene, TransformationDescription & transformation);
76 
79  {
81  }
82 
84  static const String getProductName()
85  {
86  return "poseclustering_affine";
87  }
88 
89  };
90 } // namespace OpenMS
91 
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 affine transf...
Definition: PoseClusteringAffineSuperimposer.h:42
static BaseSuperimposer * create()
Returns an instance of this class.
Definition: PoseClusteringAffineSuperimposer.h:78
virtual void run(const std::vector< Peak2D > &map_model, const std::vector< Peak2D > &map_scene, TransformationDescription &transformation)
Perform alignment on vector of 1D peaks.
~PoseClusteringAffineSuperimposer() override
Destructor.
Definition: PoseClusteringAffineSuperimposer.h:50
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: PoseClusteringAffineSuperimposer.h:84
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