lux::Paraboloid Class Reference

#include <paraboloid.h>

Inheritance diagram for lux::Paraboloid:
lux::Shape

List of all members.

Public Member Functions

 Paraboloid (const Transform &o2w, bool ro, float rad, float z0, float z1, float tm)
BBox ObjectBound () const
bool Intersect (const Ray &ray, float *tHit, DifferentialGeometry *dg) const
bool IntersectP (const Ray &ray) const
float Area () const

Static Public Member Functions

static ShapeCreateShape (const Transform &o2w, bool reverseOrientation, const ParamSet &params)

Protected Attributes

float radius
float zmin
float zmax
float phiMax

Detailed Description

Definition at line 30 of file paraboloid.h.


Constructor & Destructor Documentation

Paraboloid::Paraboloid ( const Transform o2w,
bool  ro,
float  rad,
float  z0,
float  z1,
float  tm 
)

Definition at line 30 of file paraboloid.cpp.

References Clamp(), cimg_library::cimg::max(), cimg_library::cimg::min(), phiMax, Radians(), radius, zmax, and zmin.

Referenced by CreateShape().


Member Function Documentation

float Paraboloid::Area (  )  const [virtual]

Reimplemented from lux::Shape.

Definition at line 173 of file paraboloid.cpp.

References phiMax, zmax, and zmin.

Shape * Paraboloid::CreateShape ( const Transform o2w,
bool  reverseOrientation,
const ParamSet params 
) [static]

Definition at line 177 of file paraboloid.cpp.

References lux::ParamSet::FindOneFloat(), Paraboloid(), radius, zmax, and zmin.

Referenced by lux::MakeShape().

bool Paraboloid::Intersect ( const Ray ray,
float *  tHit,
DifferentialGeometry dg 
) const [virtual]
bool Paraboloid::IntersectP ( const Ray ray  )  const [virtual]
BBox Paraboloid::ObjectBound (  )  const [virtual]

Implements lux::Shape.

Definition at line 39 of file paraboloid.cpp.

References radius, zmax, and zmin.


Member Data Documentation

float lux::Paraboloid::phiMax [protected]

Definition at line 46 of file paraboloid.h.

Referenced by Area(), Intersect(), IntersectP(), and Paraboloid().

float lux::Paraboloid::radius [protected]

Definition at line 44 of file paraboloid.h.

Referenced by CreateShape(), Intersect(), IntersectP(), ObjectBound(), and Paraboloid().

float lux::Paraboloid::zmax [protected]

Definition at line 45 of file paraboloid.h.

Referenced by Area(), CreateShape(), Intersect(), IntersectP(), ObjectBound(), and Paraboloid().

float lux::Paraboloid::zmin [protected]

Definition at line 45 of file paraboloid.h.

Referenced by Area(), CreateShape(), Intersect(), IntersectP(), ObjectBound(), and Paraboloid().


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

Generated on 22 Jan 2010 for lux by  doxygen 1.6.1