Table of contents Introduction Tutorial Main classes
Top Previous Up Next

Light::Ray class reference
[Core module]

Declaration

#include <Goptical/Light/Ray>

namespace Goptical {
namespace Light {
class Ray;
};
};

This class is a member of the Light namespace.

Inheritance

Math::VectorPair<3>






Trace::Ray

Description

This class is used to describe a ray of light. It contains geometrical and physical informations about a light ray.

Members

See also the full member list section for this class.

Inherited members

Functions

Members detail

Ray()

No documentation available

Ray(const Math::VectorPair3 &ray, double intensity = 1, double wavelen = 550)

Create a ray of light with specified properties

double get_intensity() const

Get light ray intensity

double get_wavelen() const

Set light ray wavelen

void set_intensity(double intensity)

Set light ray intensity

void set_wavelen(double wavelen)

Get light ray wavelen

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:24 2012 using MkDoc

AltStyle によって変換されたページ (->オリジナル) /