#include <PointEnv.h>
Public Types | |
enum | NormalOrientation { OUTWARDS_NORMAL, INWARDS_NORMAL, RANDOM_NORMAL } |
Public Member Functions | |
PointEnv () | |
virtual | ~PointEnv () |
Public Attributes | |
Color3f | energy |
energy at PoI | |
Vector3 | intersection |
space coordinates of PoI | |
Vector2 | uvCoord |
UV coordinates of PoI. | |
Vector3 | normal |
normal vector at PoI | |
SceneGraphObject * | pVisitableObj |
primtive object associated with PoI | |
int | mask |
what is set | |
NormalOrientation | normalOrientation |
orientation of normal at PoI | |
Matrix4 | trMat |
transformation matrix of PoI | |
Vector3 | viewerDir |
normalized vector from PoI to viewer | |
double | distance |
distance between PoI and ray's origin | |
double | nd |
normal dot direction | |
double | no |
normal dot origin | |
Cache * | pCache |
cache of precomputed values |
Definition at line 72 of file PointEnv.h.
|
Definition at line 78 of file PointEnv.h. |
|
Constructor Definition at line 103 of file PointEnv.h. |
|
Destructor Definition at line 115 of file PointEnv.h. |
|
distance between PoI and ray's origin
Definition at line 94 of file PointEnv.h. Referenced by Intersector::processCandidate(), Surface::rayIntersection(), Sphere::rayIntersection(), Polygon::rayIntersection(), Point3D::rayIntersection(), Hemisphere::rayIntersection(), and Cylinder::rayIntersection(). |
|
energy at PoI
Definition at line 85 of file PointEnv.h. |
|
space coordinates of PoI
Definition at line 86 of file PointEnv.h. Referenced by Geometry::randomDirection(), Triangle::randomSample(), Sphere::randomSample(), Rectangle::randomSample(), Point3D::randomSample(), Hemisphere::randomSample(), Surface::rayIntersection(), Sphere::rayIntersection(), Polygon::rayIntersection(), Point3D::rayIntersection(), OSGAdapter::rayIntersection(), Hemisphere::rayIntersection(), Cylinder::rayIntersection(), and PointEmittance::stochasticEmission(). |
|
|
normal dot direction
Definition at line 95 of file PointEnv.h. Referenced by Surface::rayIntersection(), and Polygon::rayIntersection(). |
|
normal dot origin
Definition at line 96 of file PointEnv.h. Referenced by Surface::rayIntersection(), and Polygon::rayIntersection(). |
|
normal vector at PoI
Definition at line 88 of file PointEnv.h. Referenced by Triangle::randomSample(), Sphere::randomSample(), Rectangle::randomSample(), Hemisphere::randomSample(), Surface::rayIntersection(), Sphere::rayIntersection(), Polygon::rayIntersection(), OSGAdapter::rayIntersection(), Hemisphere::rayIntersection(), and Cylinder::rayIntersection(). |
|
orientation of normal at PoI
Definition at line 91 of file PointEnv.h. Referenced by Triangle::randomSample(), Sphere::randomSample(), Rectangle::randomSample(), Hemisphere::randomSample(), Surface::rayIntersection(), Sphere::rayIntersection(), Polygon::rayIntersection(), Hemisphere::rayIntersection(), and Cylinder::rayIntersection(). |
|
cache of precomputed values
Definition at line 97 of file PointEnv.h. Referenced by IteratorSDS::initRayIntersection(), and FDH::rayIntersection(). |
|
primtive object associated with PoI
Definition at line 89 of file PointEnv.h. Referenced by Intersector::processCandidate(). |
|
transformation matrix of PoI
Definition at line 92 of file PointEnv.h. Referenced by RayIntExplorer::result(). |
|
UV coordinates of PoI.
Definition at line 87 of file PointEnv.h. Referenced by Triangle::randomSample(), Sphere::randomSample(), Rectangle::randomSample(), Point3D::randomSample(), Hemisphere::randomSample(), Sphere::rayIntersection(), Polygon::rayIntersection(), Point3D::rayIntersection(), and Hemisphere::rayIntersection(). |
|
normalized vector from PoI to viewer
Definition at line 93 of file PointEnv.h. |