lux::Point Class Reference

#include <point.h>

Collaboration diagram for lux::Point:
[legend]

List of all members.

Public Member Functions

 Point (float _x=0, float _y=0, float _z=0)
 Point (float v[3])
Point operator+ (const Vector &v) const
Pointoperator+= (const Vector &v)
Vector operator- (const Point &p) const
Point operator- (const Vector &v) const
Pointoperator-= (const Vector &v)
Pointoperator+= (const Point &p)
Point operator+ (const Point &p) const
Point operator* (float f) const
Pointoperator*= (float f)
Point operator/ (float f) const
Pointoperator/= (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

Detailed Description

Definition at line 34 of file core/geometry/point.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

Point lux::Point::operator* ( float  f  )  const [inline]

Definition at line 72 of file core/geometry/point.h.

References Point(), x, y, and z.

Point& lux::Point::operator*= ( float  f  )  [inline]

Definition at line 75 of file core/geometry/point.h.

References x, y, and z.

Point lux::Point::operator+ ( const Point p  )  const [inline]

Definition at line 69 of file core/geometry/point.h.

References Point(), x, y, and z.

Point lux::Point::operator+ ( const Vector v  )  const [inline]

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.

Point& lux::Point::operator+= ( const Point p  )  [inline]

Definition at line 65 of file core/geometry/point.h.

References x, y, and z.

Point& lux::Point::operator+= ( const Vector v  )  [inline]

Definition at line 49 of file core/geometry/point.h.

References lux::Vector::x, x, lux::Vector::y, y, lux::Vector::z, and z.

Point lux::Point::operator- ( const Vector v  )  const [inline]

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.

Vector lux::Point::operator- ( const Point p  )  const [inline]

Definition at line 53 of file core/geometry/point.h.

References x, y, and z.

Point& lux::Point::operator-= ( const Vector v  )  [inline]

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]

Definition at line 79 of file core/geometry/point.h.

References Point(), x, y, and z.

Point& lux::Point::operator/= ( float  f  )  [inline]

Definition at line 83 of file core/geometry/point.h.

References x, y, and z.

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.

template<class Archive >
void lux::Point::serialize ( Archive &  ar,
const unsigned int  version 
) [inline, private]

Definition at line 95 of file core/geometry/point.h.

References x, y, and z.


Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Definition at line 35 of file core/geometry/point.h.


Member Data Documentation

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().

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().

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().


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208