#include <hyperboloid.h>
Public Member Functions | |
Hyperboloid (const Transform *o2w, const Transform *w2o, bool ro, const Point &point1, const Point &point2, float tm) | |
BBox | ObjectBound () const |
bool | Intersect (const Ray &ray, float *tHit, float *rayEpsilon, DifferentialGeometry *dg) const |
bool | IntersectP (const Ray &ray) const |
float | Area () const |
Protected Attributes | |
Point | p1 |
Point | p2 |
float | zmin |
float | zmax |
float | phiMax |
float | rmax |
float | a |
float | c |
Definition at line 35 of file hyperboloid.h.
float Hyperboloid::Area | ( | ) | const [virtual] |
bool Hyperboloid::Intersect | ( | const Ray & | ray, | |
float * | tHit, | |||
float * | rayEpsilon, | |||
DifferentialGeometry * | dg | |||
) | const [virtual] |
bool Hyperboloid::IntersectP | ( | const Ray & | ray | ) | const [virtual] |
BBox Hyperboloid::ObjectBound | ( | ) | const [virtual] |
float Hyperboloid::a [protected] |
Definition at line 52 of file hyperboloid.h.
Referenced by Hyperboloid(), Intersect(), and IntersectP().
float Hyperboloid::c [protected] |
Definition at line 52 of file hyperboloid.h.
Referenced by Hyperboloid(), Intersect(), and IntersectP().
Point Hyperboloid::p1 [protected] |
Definition at line 48 of file hyperboloid.h.
Referenced by Area(), Hyperboloid(), Intersect(), IntersectP(), and ObjectBound().
Point Hyperboloid::p2 [protected] |
Definition at line 48 of file hyperboloid.h.
Referenced by Area(), Hyperboloid(), Intersect(), IntersectP(), and ObjectBound().
float Hyperboloid::phiMax [protected] |
Definition at line 50 of file hyperboloid.h.
Referenced by Area(), Hyperboloid(), Intersect(), and IntersectP().
float Hyperboloid::rmax [protected] |
Definition at line 51 of file hyperboloid.h.
Referenced by Hyperboloid(), and ObjectBound().
float Hyperboloid::zmax [protected] |
Definition at line 49 of file hyperboloid.h.
Referenced by Hyperboloid(), Intersect(), IntersectP(), and ObjectBound().
float Hyperboloid::zmin [protected] |
Definition at line 49 of file hyperboloid.h.
Referenced by Hyperboloid(), Intersect(), IntersectP(), and ObjectBound().