SourceXtractorPlusPlus  0.8
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExtendedModel.h
Go to the documentation of this file.
1 
23 #ifndef MODELFITTING_EXTENDEDMODEL_H
24 #define MODELFITTING_EXTENDEDMODEL_H
25 
26 #include <vector>
27 #include <memory> // for std::unique_ptr
31 
32 namespace ModelFitting {
33 
35 
36 public:
37 
40  std::shared_ptr<BasicParameter> rotation_angle, double width, double height,
42 
44 
45  virtual ~ExtendedModel();
46 
47  double getValue(double x, double y) const;
48 
49  template <typename ImageType>
50  ImageType getRasterizedImage(double pixel_scale, std::size_t size_x, std::size_t size_y) const;
51 
52  double getWidth() const;
53 
54  double getHeight() const;
55 
56 protected:
58 
59 private:
60  double m_width;
61  double m_height;
62 
63 }; // end of class ExtendedModel
64 
65 } // end of namespace ModelFitting
66 
67 #include "_impl/ExtendedModel.icpp"
68 
69 #endif /* MODELFITTING_EXTENDEDMODEL_H */
70 
double getValue(double x, double y) const
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
ExtendedModel(std::vector< std::unique_ptr< ModelComponent >> &&component_list, std::shared_ptr< BasicParameter > x_scale, std::shared_ptr< BasicParameter > y_scale, std::shared_ptr< BasicParameter > rotation_angle, double width, double height, std::shared_ptr< BasicParameter > x, std::shared_ptr< BasicParameter > y)
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
std::vector< std::unique_ptr< ModelComponent > > m_component_list
Definition: ExtendedModel.h:57
ImageType getRasterizedImage(double pixel_scale, std::size_t size_x, std::size_t size_y) const
STL class.
STL class.
const double pixel_scale
Definition: TestImage.cpp:72