Analysis::Spot class reference
[Core module]
Declaration
#include <Goptical/Analysis/Spot>
namespace Goptical {
namespace Analysis {
class Spot;
};
};
This class is a member of the Analysis namespace.
Description
This class is designed to plot spot diagram and perform related analysis.
See also Plotting spot diagram section and Using the new model in optical design section.
Members
See also the full member list section for this class.
Functions
- Spot(Sys::System &system)
- void draw_diagram(Io::RendererViewport &renderer, bool centroid_origin = [...])
- void draw_spot(Io::RendererViewport &renderer)
- Math::Vector3 get_center()
- const Math::Vector3 & get_centroid()
- Io::RendererAxes & get_diagram_axes()
- double get_encircled_intensity(double radius)
- ref<Data::Plot> get_encircled_intensity_plot(int zones = [...])
- double get_max_radius()
- double get_rms_radius()
- double get_total_intensity()
- Trace::Tracer & get_tracer()
- const Trace::Tracer & get_tracer() const
- virtual void invalidate()
- void set_image(Sys::Image *image)
- void set_useful_radius(double radius)
Members detail
Spot(Sys::System &system)
No documentation available
void draw_diagram(Io::RendererViewport &renderer, bool centroid_origin = true)
draw the spot diagram
void draw_spot(Io::RendererViewport &renderer)
draw the rays intersection points only
Math::Vector3 get_center()
Get spot window center
const Math::Vector3 & get_centroid()
Get spot centroid
Io::RendererAxes & get_diagram_axes()
Get a reference to axes object rendered with spot diagram. Io::RendererAxes coordinates are updated on ray trace.
Get amount of light intensity which falls in given radius from spot center
Get encircled energy plot
Get spot maximum radius
Get spot root mean square radius
Get amount of light intensity in the whole spot
This virtual function implements the invalidate
pure function declared in the PointImage
base abstract class.
Documentation inherited from base class:
invalidate current analysis data
Set radius used for diagram drawing and encircled plots. Updated with spot max radius on ray trace