ReflectionsInRangeFinder.h 583 Bytes
Newer Older
1
2
#pragma once

3
4
5
#include <pinkIndexer/BadInputException.h>
#include <pinkIndexer/ExperimentSettings.h>
#include <pinkIndexer/eigenSTLContainers.h>
6

7
namespace pinkIndexer
8
{
9
10
11
12
    class ReflectionsInRangeFinder
    {
      public:
        ReflectionsInRangeFinder(const Lattice& lattice);
13

14
        void getReflectionsInRanges(EigenSTL::vector_Matrix3Xf& candidateReflectionsDirections, const Eigen::Array2Xf& ranges);
15

16
17
18
19
20
      private:
        Eigen::Matrix3Xf reflectionsDirections_sorted;
        std::vector<float> norms_sorted;
        float maxRadius;
    };
21
} // namespace pinkIndexer