Trace::Tracer class reference
[Core module]
Declaration
#include <Goptical/Trace/Tracer>
namespace Goptical {
namespace Trace {
class Tracer;
};
};
This class is a member of the Trace namespace.
Description
This class handle light propagation in an optical system.
Propagation result is stored in a Result object. Propagation parameters are stored in a Params object.
See also Performing light propagation section.
Members
See also the full member list section for this class.
Functions
- Tracer(const const_ref<Sys::System> &system)
- ~Tracer()
- const Params & get_params() const
- Params & get_params()
- const Sys::System & get_system() const
- Result & get_trace_result() const
- Result & set_default_trace_result()
- void set_params(const Params ¶ms)
- void set_trace_result(Result &res)
- void trace()
Members detail
Create a new Light porpagator object
No documentation available
const Params & get_params() const
get tracer parameters
Params & get_params()
get tracer parameters
const Sys::System & get_system() const
Get attached system
Result & get_trace_result() const
No documentation available
Result & set_default_trace_result()
Undefine user defined Result object. Next ray trace operation will allocate a new internal trace result object
void set_params(const Params ¶ms)
replace all tracer parameters
void set_trace_result(Result &res)
Set the Result object which must be used to store ray tracing data. a new Result object will be allocated on first ray trace operation if none were defined.
Launch ray tracing operation