#include <point.h>
Public Member Functions | |
| Point (float _x=0.f, float _y=0.f, float _z=0.f) | |
| Point (float v[3]) | |
| Point | operator+ (const Vector &v) const |
| Point & | operator+= (const Vector &v) |
| Vector | operator- (const Point &p) const |
| Point | operator- (const Vector &v) const |
| Point & | operator-= (const Vector &v) |
| Point & | operator+= (const Point &p) |
| Point & | operator-= (const Point &p) |
| Point | operator+ (const Point &p) const |
| Point | operator* (float f) const |
| Point & | operator*= (float f) |
| Point | operator/ (float f) const |
| Point & | operator/= (float f) |
| float | operator[] (int i) const |
| float & | operator[] (int i) |
Public Attributes | |
| float | x |
| float | y |
| float | z |
Definition at line 29 of file point.h.
| luxrays::Point::Point | ( | float | _x = 0.f, |
|
| float | _y = 0.f, |
|||
| float | _z = 0.f | |||
| ) | [inline] |
Definition at line 33 of file point.h.
Referenced by operator*(), operator+(), operator-(), and operator/().
| Point luxrays::Point::operator* | ( | float | f | ) | const [inline] |
| Point& luxrays::Point::operator*= | ( | float | f | ) | [inline] |
Definition at line 40 of file point.h.
References Point(), luxrays::Vector::x, x, luxrays::Vector::y, y, luxrays::Vector::z, and z.
Definition at line 44 of file point.h.
References luxrays::Vector::x, x, luxrays::Vector::y, y, luxrays::Vector::z, and z.
Definition at line 55 of file point.h.
References Point(), luxrays::Vector::x, x, luxrays::Vector::y, y, luxrays::Vector::z, and z.
Definition at line 59 of file point.h.
References luxrays::Vector::x, x, luxrays::Vector::y, y, luxrays::Vector::z, and z.
| Point luxrays::Point::operator/ | ( | float | f | ) | const [inline] |
| Point& luxrays::Point::operator/= | ( | float | f | ) | [inline] |
| float& luxrays::Point::operator[] | ( | int | i | ) | [inline] |
| float luxrays::Point::operator[] | ( | int | i | ) | const [inline] |
| float luxrays::Point::x |
Definition at line 117 of file point.h.
Referenced by luxrays::BBox::BBox(), bvh_ltf_x(), luxrays::BVHAccel::FindBestSplit(), luxrays::sdl::PerspectiveCamera::GenerateRay(), luxrays::BBox::Inside(), luxrays::LookAt(), luxrays::Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), luxrays::operator<<(), operator[](), luxrays::BBox::Overlaps(), luxrays::QuadRay::QuadRay(), luxrays::QuadTriangle::QuadTriangle(), luxrays::Union(), and VertexCB().
| float luxrays::Point::y |
Definition at line 117 of file point.h.
Referenced by luxrays::BBox::BBox(), bvh_ltf_y(), luxrays::BVHAccel::FindBestSplit(), luxrays::sdl::PerspectiveCamera::GenerateRay(), luxrays::BBox::Inside(), luxrays::LookAt(), luxrays::Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), luxrays::operator<<(), luxrays::BBox::Overlaps(), luxrays::QuadRay::QuadRay(), luxrays::QuadTriangle::QuadTriangle(), luxrays::Union(), and VertexCB().
| float luxrays::Point::z |
Definition at line 117 of file point.h.
Referenced by luxrays::BBox::BBox(), bvh_ltf_z(), luxrays::BVHAccel::FindBestSplit(), luxrays::sdl::PerspectiveCamera::GenerateRay(), luxrays::BBox::Inside(), luxrays::LookAt(), luxrays::Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), luxrays::operator<<(), luxrays::BBox::Overlaps(), luxrays::QuadRay::QuadRay(), luxrays::QuadTriangle::QuadTriangle(), luxrays::Union(), and VertexCB().
1.6.3