Skip to content

Commit

Permalink
issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyendumajumdar committed May 8, 2020
1 parent c36e278 commit 3f49e79
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 72 deletions.
10 changes: 0 additions & 10 deletions include/goptical/core/analysis/PointImage

This file was deleted.

24 changes: 24 additions & 0 deletions include/goptical/core/analysis/pointimage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

60 changes: 0 additions & 60 deletions include/goptical/core/analysis/pointimage.hxx

This file was deleted.

2 changes: 1 addition & 1 deletion include/goptical/core/analysis/spot.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "goptical/core/math/vector.hxx"
#include "goptical/core/data/plot.hxx"

#include "goptical/core/analysis/pointimage.hxx"
#include "goptical/core/analysis/pointimage.hpp"

namespace _goptical
{
Expand Down
3 changes: 2 additions & 1 deletion src/core/analysis_pointimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
#include <goptical/core/sys/Image>
#include <goptical/core/sys/Surface>

#include <goptical/core/analysis/PointImage>
#include <goptical/core/analysis/pointimage.hpp>
#include "goptical/core/sys/system.hxx"

namespace _goptical
{
Expand Down

0 comments on commit 3f49e79

Please sign in to comment.