A ray that can be used for intersection testing. More...
Public Member Functions | |
Ray () | |
Constructs and empty ray object. More... | |
Ray (const Ray &other) | |
Copy constructor. More... | |
Ray & | operator= (const Ray &other) |
Assignment operator. More... | |
Vec3d | origin () const |
Returns the ray origin. More... | |
void | setOrigin (const Vec3d &orig) |
Sets the origin (starting point) of the ray. More... | |
Vec3d | direction () const |
Returns the ray direction. More... | |
void | setDirection (const Vec3d &dir) |
Sets the direction of the ray. More... | |
double | pointAndLineSizeInPixels () const |
Returns the point and line size in pixels. More... | |
void | setPointAndLineSizeInPixels (double sizeInPixels) |
Sets the point and line size (in pixels) More... | |
A ray that can be used for intersection testing.
cee::Ray::Ray | ( | ) |
Constructs and empty ray object.
cee::Ray::Ray | ( | const Ray & | other | ) |
Copy constructor.
Vec3d cee::Ray::direction | ( | ) | const |
Returns the ray direction.
Vec3d cee::Ray::origin | ( | ) | const |
Returns the ray origin.
double cee::Ray::pointAndLineSizeInPixels | ( | ) | const |
Returns the point and line size in pixels.
void cee::Ray::setDirection | ( | const Vec3d & | dir | ) |
Sets the direction of the ray.
void cee::Ray::setOrigin | ( | const Vec3d & | orig | ) |
Sets the origin (starting point) of the ray.
void cee::Ray::setPointAndLineSizeInPixels | ( | double | sizeInPixels | ) |
Sets the point and line size (in pixels)