Sys::Stop class reference
[Core module]
Declaration
#include <Goptical/Sys/Stop>
namespace Goptical {
namespace Sys {
class Stop;
};
};
This class is a member of the Sys namespace.
Inheritance
Description
This class implements an aperture stop surface.
This surface will block all rays which fall outside the surface shape and inside the external radius. (All rays which pass at a distance from the axis greater than the external radius are not affected.)
Rays which fall inside the surface shape may either be intercepted and reemited or unaffected. Rays are always intercepted in sequential raytrace mode. In non-sequential mode this can be changed with set_intercept_reemit; default is disabled.
Members
See also the full member list section for this class.
Inherited members
- 48 members inherited from Surface
Functions
- Stop(const Math::VectorPair3 &p, const const_ref<Shape::Base> &shape)
- Stop(const Math::VectorPair3 &p, double radius)
- double get_external_radius() const
- bool get_intercept_reemit() const
- void set_external_radius(double external_radius)
- void set_intercept_reemit(bool intercept_reemit)
Members detail
Stop(const Math::VectorPair3 &p, const const_ref<Shape::Base> &shape)
Create an aperture stop surface. External radius is set to twice the shape max radius.
Stop(const Math::VectorPair3 &p, double radius)
Create a circular aperture stop surface with given radius. External radius is set to twice the shape max radius.
Get stop external radius. .
See also set_external_radius function and Stop class.
Get intercept and reemit enabled. .
See also set_intercept_reemit function and Stop class.
Set stop external radius. .
See also get_external_radius function and Stop class.
Set intercept and reemit enabled. .
See also get_intercept_reemit function and Stop class.