diff --git a/include/goptical/core/analysis/PointImage b/include/goptical/core/analysis/PointImage deleted file mode 100644 index a4645b0..0000000 --- a/include/goptical/core/analysis/PointImage +++ /dev/null @@ -1,10 +0,0 @@ - -#include "goptical/core/analysis/pointimage.hpp" -#include "goptical/core/analysis/pointimage.hxx" - -namespace goptical { - namespace analysis { - using _goptical::analysis::PointImage; - } -} - diff --git a/include/goptical/core/analysis/pointimage.hpp b/include/goptical/core/analysis/pointimage.hpp index d8ae8a2..3d8eb57 100644 --- a/include/goptical/core/analysis/pointimage.hpp +++ b/include/goptical/core/analysis/pointimage.hpp @@ -75,8 +75,32 @@ namespace _goptical private: }; + void PointImage::set_image(sys::Image *image) + { + _image = image; + } + + trace::Tracer & PointImage::get_tracer() + { + invalidate(); + return _tracer; + } + + /** return tracer object used for ray tracing */ + const trace::Tracer & PointImage::get_tracer() const + { + return _tracer; + } + } } +namespace goptical { + namespace analysis { + using _goptical::analysis::PointImage; + } +} + + #endif diff --git a/include/goptical/core/analysis/pointimage.hxx b/include/goptical/core/analysis/pointimage.hxx deleted file mode 100644 index 960f3b6..0000000 --- a/include/goptical/core/analysis/pointimage.hxx +++ /dev/null @@ -1,60 +0,0 @@ -/* - - This file is part of the #include -#include +#include +#include "goptical/core/sys/system.hxx" namespace _goptical {