#include <point.h>
Public Member Functions | |
Point (float _x=0, float _y=0, float _z=0) | |
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) 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 |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
Definition at line 34 of file core/geometry/point.h.
lux::Point::Point | ( | float | _x = 0 , |
|
float | _y = 0 , |
|||
float | _z = 0 | |||
) | [inline] |
Definition at line 38 of file core/geometry/point.h.
Referenced by operator*(), operator+(), operator-(), and operator/().
lux::Point::Point | ( | float | v[3] | ) | [inline] |
Definition at line 42 of file core/geometry/point.h.
Point lux::Point::operator* | ( | float | f | ) | const [inline] |
Point& lux::Point::operator*= | ( | float | f | ) | [inline] |
Definition at line 75 of file core/geometry/point.h.
Definition at line 45 of file core/geometry/point.h.
References Point(), lux::Vector::x, x, lux::Vector::y, y, lux::Vector::z, and z.
Definition at line 65 of file core/geometry/point.h.
Definition at line 49 of file core/geometry/point.h.
References lux::Vector::x, x, lux::Vector::y, y, lux::Vector::z, and z.
Definition at line 57 of file core/geometry/point.h.
References Point(), lux::Vector::x, x, lux::Vector::y, y, lux::Vector::z, and z.
Definition at line 53 of file core/geometry/point.h.
Definition at line 61 of file core/geometry/point.h.
References lux::Vector::x, x, lux::Vector::y, y, lux::Vector::z, and z.
Point lux::Point::operator/ | ( | float | f | ) | const [inline] |
Point& lux::Point::operator/= | ( | float | f | ) | [inline] |
Definition at line 83 of file core/geometry/point.h.
float& lux::Point::operator[] | ( | int | i | ) | [inline] |
Definition at line 89 of file core/geometry/point.h.
References x.
float lux::Point::operator[] | ( | int | i | ) | const [inline] |
Definition at line 88 of file core/geometry/point.h.
References x.
void lux::Point::serialize | ( | Archive & | ar, | |
const unsigned int | version | |||
) | [inline, private] |
Definition at line 95 of file core/geometry/point.h.
friend class boost::serialization::access [friend] |
Definition at line 35 of file core/geometry/point.h.
float lux::Point::x |
Definition at line 91 of file core/geometry/point.h.
Referenced by lux::Octree< NodeData, LookupProc >::addPrivate(), lux::LoopSubdiv::ApplyDisplacementMap(), lux::Hyperboloid::Area(), lux::PerspectiveCamera::AutoFocus(), lux::BBox::BBox(), lux::Cloud::Cloud(), lux::Cloud::CloudShape(), lux::DifferentialGeometry::ComputeDifferentials(), lux::SpotLight::CreateLight(), lux::PointLight::CreateLight(), lux::VolumeGrid::Density(), lux::LuxGLViewer::DrawRulers(), lux::MachineEpsilon::E(), lux::Checkerboard3D< T >::Evaluate(), lux::BrickTexture3D< T >::Evaluate(), lux::BlenderWoodTexture3D< T >::Evaluate(), lux::BlenderVoronoiTexture3D< T >::Evaluate(), lux::BlenderStucciTexture3D< T >::Evaluate(), lux::BlenderNoiseTexture3D< T >::Evaluate(), lux::BlenderMusgraveTexture3D< T >::Evaluate(), lux::BlenderMarbleTexture3D< T >::Evaluate(), lux::BlenderMagicTexture3D< T >::Evaluate(), lux::BlenderDistortedNoiseTexture3D< T >::Evaluate(), lux::BlenderCloudsTexture3D< T >::Evaluate(), lux::BlenderBlendTexture3D< T >::Evaluate(), PerspectiveBxDF::f(), lux::BVHAccel::FindBestSplit(), lux::Torus::FindIntersection(), lux::PerspectiveCamera::GenerateRay(), lux::OrthoCamera::GenerateRay(), lux::ProjectiveCamera::GenerateSample(), lux::PerspectiveCamera::GetSamplePosition(), lux::OrthoCamera::GetSamplePosition(), lux::MeshQuadrilateral::GetUVs(), lux::Hyperboloid::Hyperboloid(), lux::BBox::Inside(), lux::Torus::Intersect(), lux::Sphere::Intersect(), lux::Paraboloid::Intersect(), lux::MeshWaldTriangle::Intersect(), lux::LensComponent::Intersect(), lux::Hyperboloid::Intersect(), lux::Disk::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::Sphere::IntersectP(), lux::Paraboloid::IntersectP(), lux::MeshWaldTriangle::IntersectP(), lux::LensComponent::IntersectP(), lux::Hyperboloid::IntersectP(), lux::Disk::IntersectP(), lux::Cylinder::IntersectP(), lux::Cone::IntersectP(), lux::LuxGLViewer::InverseTransformPoint(), lux::Octree< NodeData, LookupProc >::lookupPrivate(), lux::MeshWaldTriangle::MeshWaldTriangle(), lux::LuxGLViewer::OnMouse(), lux::LuxGLViewer::OnSize(), lux::Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), lux::operator<<(), operator[](), lux::BBox::Overlaps(), PerspectiveBxDF::Pdf(), lux::ProjectionLight::Projection(), lux::NURBS::Refine(), lux::Heightfield::Refine(), lux::Sphere::Sample(), lux::Disk::Sample(), lux::Cylinder::Sample(), lux::Cone::Sample(), PerspectiveBxDF::Sample_f(), lux::PerspectiveCamera::Sample_W(), serialize(), lux::ParamSet::ToString(), lux::LuxGLViewer::TransformPoint(), lux::Cloud::Turbulence(), lux::Union(), and lux::VertexCB().
float lux::Point::y |
Definition at line 91 of file core/geometry/point.h.
Referenced by lux::Octree< NodeData, LookupProc >::addPrivate(), lux::LoopSubdiv::ApplyDisplacementMap(), lux::Hyperboloid::Area(), lux::PerspectiveCamera::AutoFocus(), lux::BBox::BBox(), lux::Cloud::Cloud(), lux::Cloud::CloudShape(), lux::DifferentialGeometry::ComputeDifferentials(), lux::SpotLight::CreateLight(), lux::PointLight::CreateLight(), lux::VolumeGrid::Density(), lux::LuxGLViewer::DrawRulers(), lux::MachineEpsilon::E(), lux::MarbleTexture::Evaluate(), lux::Checkerboard3D< T >::Evaluate(), lux::BrickTexture3D< T >::Evaluate(), PerspectiveBxDF::f(), lux::BVHAccel::FindBestSplit(), lux::Torus::FindIntersection(), lux::PerspectiveCamera::GenerateRay(), lux::OrthoCamera::GenerateRay(), lux::ProjectiveCamera::GenerateSample(), lux::PerspectiveCamera::GetSamplePosition(), lux::OrthoCamera::GetSamplePosition(), lux::MeshQuadrilateral::GetUVs(), lux::Hyperboloid::Hyperboloid(), lux::BBox::Inside(), lux::Torus::Intersect(), lux::Sphere::Intersect(), lux::Paraboloid::Intersect(), lux::MeshWaldTriangle::Intersect(), lux::LensComponent::Intersect(), lux::Hyperboloid::Intersect(), lux::Disk::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::Sphere::IntersectP(), lux::Paraboloid::IntersectP(), lux::MeshWaldTriangle::IntersectP(), lux::LensComponent::IntersectP(), lux::Hyperboloid::IntersectP(), lux::Disk::IntersectP(), lux::Cylinder::IntersectP(), lux::Cone::IntersectP(), lux::LuxGLViewer::InverseTransformPoint(), lux::Octree< NodeData, LookupProc >::lookupPrivate(), lux::MeshWaldTriangle::MeshWaldTriangle(), lux::LuxGLViewer::OnMouse(), lux::LuxGLViewer::OnSize(), lux::Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), lux::operator<<(), lux::BBox::Overlaps(), PerspectiveBxDF::Pdf(), lux::ProjectionLight::Projection(), lux::NURBS::Refine(), lux::Heightfield::Refine(), lux::Sphere::Sample(), lux::Disk::Sample(), lux::Cylinder::Sample(), lux::Cone::Sample(), PerspectiveBxDF::Sample_f(), lux::PerspectiveCamera::Sample_W(), serialize(), lux::ParamSet::ToString(), lux::LuxGLViewer::TransformPoint(), lux::Cloud::Turbulence(), lux::Union(), and lux::VertexCB().
float lux::Point::z |
Definition at line 91 of file core/geometry/point.h.
Referenced by lux::Octree< NodeData, LookupProc >::addPrivate(), lux::Hyperboloid::Area(), lux::PerspectiveCamera::AutoFocus(), lux::BBox::BBox(), lux::Cloud::Cloud(), lux::Cloud::CloudShape(), lux::DifferentialGeometry::ComputeDifferentials(), lux::SpotLight::CreateLight(), lux::PointLight::CreateLight(), lux::VolumeGrid::Density(), lux::MachineEpsilon::E(), lux::Checkerboard3D< T >::Evaluate(), lux::BrickTexture3D< T >::Evaluate(), PerspectiveBxDF::f(), lux::BVHAccel::FindBestSplit(), lux::Torus::FindIntersection(), lux::PerspectiveCamera::GenerateRay(), lux::Hyperboloid::Hyperboloid(), lux::BBox::Inside(), lux::Torus::Intersect(), lux::Sphere::Intersect(), lux::Paraboloid::Intersect(), lux::MeshWaldTriangle::Intersect(), lux::LensComponent::Intersect(), lux::Hyperboloid::Intersect(), lux::Disk::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::Sphere::IntersectP(), lux::Paraboloid::IntersectP(), lux::MeshWaldTriangle::IntersectP(), lux::LensComponent::IntersectP(), lux::Hyperboloid::IntersectP(), lux::Disk::IntersectP(), lux::Cylinder::IntersectP(), lux::Cone::IntersectP(), lux::Octree< NodeData, LookupProc >::lookupPrivate(), lux::MeshWaldTriangle::MeshWaldTriangle(), lux::Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), lux::operator<<(), lux::BBox::Overlaps(), PerspectiveBxDF::Pdf(), lux::NURBS::Refine(), lux::Heightfield::Refine(), lux::Sphere::Sample(), lux::Disk::Sample(), PerspectiveBxDF::Sample_f(), serialize(), lux::ParamSet::ToString(), lux::Cloud::Turbulence(), lux::Union(), and lux::VertexCB().