Sys::Source class reference
[Core module]
Declaration
#include <Goptical/Sys/Source>
namespace Goptical {
namespace Sys {
class Source;
};
};
This class is a member of the Sys namespace.
Inheritance
Description
This class is the base class for all light sources implementations.
Members
See also the full member list section for this class.
Inherited members
- 40 members inherited from Element
Type
- typedef [...] targets_t
Functions
- Source(const Math::VectorPair3 &position)
- void add_spectral_line(const Light::SpectralLine &l)
- void clear_spectrum()
- template void generate_rays(Trace::Result &result, const targets_t &entry) const
- double get_max_intensity() const
- double get_min_intensity() const
- void set_material(const const_ref<Material::Base> &m)
- void set_spectral_line(const Light::SpectralLine &l, int index = [...])
- void single_spectral_line(const Light::SpectralLine &l)
Members detail
Source(const Math::VectorPair3 &position)
Create a source at given position.
void add_spectral_line(const Light::SpectralLine &l)
Add a new wavelen for ray generation
Clear wavelen list
template <Trace::IntensityMode m> void generate_rays(Trace::Result &result, const targets_t &entry) const
Generate light rays from source
Get maximal spectral line intensity
Get minimal spectral line intensity
Set material where light rays are generated. system environment material is used by default.
void set_spectral_line(const Light::SpectralLine &l, int index = 0)
Set a wavelen in list for ray generation
void single_spectral_line(const Light::SpectralLine &l)
Clear ray wavelen list and set a single wavelen
typedef std::vector<const Sys::Element*> targets_t
No documentation available