Xmipp  v3.23.11-Nereus
precompute_sampling.h
Go to the documentation of this file.
1 /***************************************************************************
2  *
3  * Authors: Roberto Marabini
4  *
5  * Unidad de Bioinformatica of Centro Nacional de Biotecnologia , CSIC
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20  * 02111-1307 USA
21  *
22  * All comments concerning this program package may be sent to the
23  * e-mail address 'xmipp@cnb.csic.es'
24  ***************************************************************************/
25 #ifndef _PRECOMPUTE_SAMPLING_H
26 #define _PRECOMPUTE_SAMPLING_H
27 
28 #include <data/sampling.h>
29 #include <core/symmetries.h>
30 #include <core/args.h>
31 #include <fstream>
32 #include <iostream>
33 #include <string>
34 
38 /* PDB Phantom Program Parameters ------------------------------------------ */
41 {
42 public:
45 
47  double sampling;
48 
50  double neighborhood;
51 
52 
54  std::string sampling_file_root;
55 
62 
64  int symmetry;
65 
67  int sym_order;
68 
70  // std::vector <Matrix1D<double> > symmetry_vectors;
71 
74 
77 
78 
79 public:
82 
87  void read(int argc, const char **argv);
88 
91  void usage();
92 
94  void show();
95 
97  void run();
98 
100  void get_sym_vectors(std::vector< Matrix1D<double > > &sym_points);
101 
102 };
104 #endif
void get_sym_vectors(std::vector< Matrix1D< double > > &sym_points)
void read(int argc, const char **argv)