lux::Point Class Reference

#include <point.h>

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 32 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 36 of file core/geometry/point.h.

Referenced by operator*(), operator+(), operator-(), and operator/().

lux::Point::Point ( float  v[3]  )  [inline]

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


Member Function Documentation

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

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

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

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

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

References x, y, and z.

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

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

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

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

Definition at line 43 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 63 of file core/geometry/point.h.

References x, y, and z.

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

Definition at line 47 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 55 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 51 of file core/geometry/point.h.

References x, y, and z.

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

Definition at line 59 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 77 of file core/geometry/point.h.

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

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

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

References x, y, and z.

float& lux::Point::operator[] ( int  i  )  [inline]

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

References x.

float lux::Point::operator[] ( int  i  )  const [inline]

Definition at line 86 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 93 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 33 of file core/geometry/point.h.


Member Data Documentation

Definition at line 89 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::DifferentialGeometry::ComputeDifferentials(), lux::SpotLight::CreateLight(), lux::PointLight::CreateLight(), lux::VolumeGrid::Density(), lux::Checkerboard3D< 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(), lux::PerspectiveCamera::GenerateRay(), lux::OrthoCamera::GenerateRay(), lux::ProjectiveCamera::GenerateSample(), lux::PerspectiveCamera::GetSamplePosition(), lux::WaldTriangle::GetUVs(), lux::BaryTriangle::GetUVs(), lux::Hyperboloid::Hyperboloid(), lux::BBox::Inside(), lux::WaldTriangle::Intersect(), lux::Sphere::Intersect(), lux::Paraboloid::Intersect(), lux::LensComponent::Intersect(), lux::Hyperboloid::Intersect(), lux::Disk::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::WaldTriangle::IntersectP(), lux::Sphere::IntersectP(), lux::Paraboloid::IntersectP(), lux::LensComponent::IntersectP(), lux::Hyperboloid::IntersectP(), lux::Disk::IntersectP(), lux::Cylinder::IntersectP(), lux::Cone::IntersectP(), lux::ExPhotonIntegrator::LiInternal(), lux::LookAt(), lux::Octree< NodeData, LookupProc >::lookupPrivate(), lux::Noise(), lux::Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), lux::operator<<(), operator[](), lux::BBox::Overlaps(), PerspectiveBxDF::Pdf(), lux::PlyMesh::PlyMesh(), lux::ProjectionLight::Projection(), lux::NURBS::Refine(), lux::Heightfield::Refine(), lux::Sphere::Sample(), lux::Disk::Sample(), lux::Cylinder::Sample(), PerspectiveBxDF::Sample_f(), lux::PerspectiveCamera::Sample_W(), lux::PerspectiveCamera::SamplePosition(), serialize(), lux::TaBRecKdTreeAccel::TaBRecKdTreeAccel(), lux::Union(), lux::VertexCB(), and lux::WaldTriangle::WaldTriangle().

Definition at line 89 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::DifferentialGeometry::ComputeDifferentials(), lux::SpotLight::CreateLight(), lux::PointLight::CreateLight(), lux::VolumeGrid::Density(), lux::MarbleTexture::Evaluate(), lux::Checkerboard3D< T >::Evaluate(), lux::PerspectiveCamera::GenerateRay(), lux::OrthoCamera::GenerateRay(), lux::ProjectiveCamera::GenerateSample(), lux::PerspectiveCamera::GetSamplePosition(), lux::WaldTriangle::GetUVs(), lux::BaryTriangle::GetUVs(), lux::Hyperboloid::Hyperboloid(), lux::BBox::Inside(), lux::WaldTriangle::Intersect(), lux::Sphere::Intersect(), lux::Paraboloid::Intersect(), lux::LensComponent::Intersect(), lux::Hyperboloid::Intersect(), lux::Disk::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::WaldTriangle::IntersectP(), lux::Sphere::IntersectP(), lux::Paraboloid::IntersectP(), lux::LensComponent::IntersectP(), lux::Hyperboloid::IntersectP(), lux::Disk::IntersectP(), lux::Cylinder::IntersectP(), lux::Cone::IntersectP(), lux::ExPhotonIntegrator::LiInternal(), lux::LookAt(), lux::Octree< NodeData, LookupProc >::lookupPrivate(), lux::Noise(), lux::Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), lux::operator<<(), lux::BBox::Overlaps(), PerspectiveBxDF::Pdf(), lux::PlyMesh::PlyMesh(), lux::ProjectionLight::Projection(), lux::NURBS::Refine(), lux::Heightfield::Refine(), lux::Sphere::Sample(), lux::Disk::Sample(), lux::Cylinder::Sample(), PerspectiveBxDF::Sample_f(), lux::PerspectiveCamera::Sample_W(), lux::PerspectiveCamera::SamplePosition(), serialize(), lux::TaBRecKdTreeAccel::TaBRecKdTreeAccel(), lux::Union(), lux::VertexCB(), and lux::WaldTriangle::WaldTriangle().

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

Referenced by lux::Octree< NodeData, LookupProc >::addPrivate(), lux::Hyperboloid::Area(), lux::PerspectiveCamera::AutoFocus(), lux::BBox::BBox(), lux::DifferentialGeometry::ComputeDifferentials(), lux::SpotLight::CreateLight(), lux::PointLight::CreateLight(), lux::VolumeGrid::Density(), lux::Checkerboard3D< T >::Evaluate(), lux::PerspectiveCamera::GenerateRay(), lux::Hyperboloid::Hyperboloid(), lux::BBox::Inside(), lux::WaldTriangle::Intersect(), lux::Sphere::Intersect(), lux::Paraboloid::Intersect(), lux::LensComponent::Intersect(), lux::Hyperboloid::Intersect(), lux::Disk::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::WaldTriangle::IntersectP(), lux::Sphere::IntersectP(), lux::Paraboloid::IntersectP(), lux::LensComponent::IntersectP(), lux::Hyperboloid::IntersectP(), lux::Disk::IntersectP(), lux::Cylinder::IntersectP(), lux::Cone::IntersectP(), lux::ExPhotonIntegrator::LiInternal(), lux::LookAt(), lux::Octree< NodeData, LookupProc >::lookupPrivate(), lux::Noise(), lux::Transform::operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), lux::operator<<(), lux::BBox::Overlaps(), PerspectiveBxDF::Pdf(), lux::PlyMesh::PlyMesh(), lux::NURBS::Refine(), lux::Heightfield::Refine(), lux::Sphere::Sample(), lux::Disk::Sample(), PerspectiveBxDF::Sample_f(), lux::PerspectiveCamera::SamplePosition(), serialize(), lux::TaBRecKdTreeAccel::TaBRecKdTreeAccel(), lux::Union(), lux::VertexCB(), and lux::WaldTriangle::WaldTriangle().


The documentation for this class was generated from the following file:

Generated on Mon May 18 07:14:54 2009 for lux by  doxygen 1.5.7.1