~ubuntu-branches/ubuntu/wily/openms/wily

« back to all changes in this revision

Viewing changes to source/EXAMPLES/Tutorial_MapAlignment.C

  • Committer: Package Import Robot
  • Author(s): Filippo Rusconi
  • Date: 2013-12-20 11:30:16 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20131220113016-wre5g9bteeheq6he
Tags: 1.11.1-3
* remove version number from libbost development package names;
* ensure that AUTHORS is correctly shipped in all packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <OpenMS/CONCEPT/Types.h>
2
 
 
3
 
#include <OpenMS/ANALYSIS/MAPMATCHING/MapAlignmentAlgorithmPoseClustering.h>
4
 
#include <OpenMS/FORMAT/FeatureXMLFile.h>
5
 
 
6
 
using namespace OpenMS;
7
 
using namespace std;
8
 
 
9
 
Int main()
10
 
{
11
 
  vector<FeatureMap<> > maps;
12
 
  maps.resize(2);
13
 
 
14
 
  FeatureXMLFile xml_file;
15
 
  xml_file.load("data/Tutorial_MapAlignment_1.featureXML",maps[0]);
16
 
  xml_file.load("data/Tutorial_MapAlignment_2.featureXML",maps[1]);
17
 
  MapAlignmentAlgorithmPoseClustering algorithm;
18
 
  // ... set parameters
19
 
  vector<TransformationDescription> transformations;
20
 
  algorithm.alignFeatureMaps(maps,transformations);
21
 
  xml_file.store("output/Tutorial_MapAlignment_1.featureXML",maps[0]);
22
 
  xml_file.store("output/Tutorial_MapAlignment_2.featureXML",maps[1]);
23
 
  
24
 
  return 0;
25
 
} //end of main