Normal Class Reference

#include <geometry.h>

List of all members.

Public Member Functions

 Normal (float _x=0, float _y=0, float _z=0)
Normal operator- () const
Normal operator+ (const Normal &v) const
Normaloperator+= (const Normal &v)
Normal operator- (const Normal &v) const
Normaloperator-= (const Normal &v)
Normal operator * (float f) const
Normaloperator *= (float f)
Normal operator/ (float f) const
Normaloperator/= (float f)
float LengthSquared () const
float Length () const
 Normal (const Vector &v)
float operator[] (int i) const
float & operator[] (int i)

Public Attributes

float x
float y
float z


Detailed Description

Definition at line 135 of file geometry.h.


Constructor & Destructor Documentation

Normal::Normal ( float  _x = 0,
float  _y = 0,
float  _z = 0 
) [inline]

Definition at line 138 of file geometry.h.

Normal::Normal ( const Vector v  )  [inline, explicit]

Definition at line 180 of file geometry.h.


Member Function Documentation

Normal Normal::operator- (  )  const [inline]

Definition at line 140 of file geometry.h.

Normal Normal::operator+ ( const Normal v  )  const [inline]

Definition at line 143 of file geometry.h.

References x, y, and z.

Normal& Normal::operator+= ( const Normal v  )  [inline]

Definition at line 147 of file geometry.h.

References x, y, and z.

Normal Normal::operator- ( const Normal v  )  const [inline]

Definition at line 151 of file geometry.h.

References x, y, and z.

Normal& Normal::operator-= ( const Normal v  )  [inline]

Definition at line 155 of file geometry.h.

References x, y, and z.

Normal Normal::operator * ( float  f  )  const [inline]

Definition at line 159 of file geometry.h.

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

Definition at line 163 of file geometry.h.

Normal Normal::operator/ ( float  f  )  const [inline]

Definition at line 167 of file geometry.h.

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

Definition at line 172 of file geometry.h.

float Normal::LengthSquared (  )  const [inline]

Definition at line 177 of file geometry.h.

float Normal::Length (  )  const [inline]

Definition at line 178 of file geometry.h.

Referenced by Normalize().

float Normal::operator[] ( int  i  )  const [inline]

Definition at line 182 of file geometry.h.

float& Normal::operator[] ( int  i  )  [inline]

Definition at line 183 of file geometry.h.


Member Data Documentation

float Normal::x

Definition at line 185 of file geometry.h.

Referenced by AbsDot(), DifferentialGeometry::ComputeDifferentials(), Cross(), Dot(), DebugIntegrator::Li(), operator *(), Transform::operator()(), operator+(), operator+=(), operator-(), operator-=(), operator<<(), InfiniteAreaLight::Sample_L(), and ParamSet::ToString().

float Normal::y

Definition at line 185 of file geometry.h.

Referenced by AbsDot(), DifferentialGeometry::ComputeDifferentials(), Cross(), Dot(), DebugIntegrator::Li(), operator *(), Transform::operator()(), operator+(), operator+=(), operator-(), operator-=(), operator<<(), InfiniteAreaLight::Sample_L(), and ParamSet::ToString().

float Normal::z

Definition at line 185 of file geometry.h.

Referenced by AbsDot(), DifferentialGeometry::ComputeDifferentials(), Cross(), Dot(), DebugIntegrator::Li(), operator *(), Transform::operator()(), operator+(), operator+=(), operator-(), operator-=(), operator<<(), InfiniteAreaLight::Sample_L(), and ParamSet::ToString().


The documentation for this class was generated from the following file:
Generated on Wed Sep 26 14:01:26 2007 for pbrt by  doxygen 1.5.1