Midterm: Team Cyber
 All Classes Files Functions Variables Typedefs Pages
Static Public Member Functions | Public Attributes | List of all members
RayTracer::Photon Class Reference

The abstraction of a Photon class that stores the origin, direction and power of a photon three methods implemented to use the PointKDTree data structre. More...

#include <RayTracer.h>

Static Public Member Functions

static bool equals (const Photon &p, const Photon &q)
 
static void getPosition (const Photon &p, Vector3 &pos)
 
static size_t hashCode (const Photon &key)
 

Public Attributes

Vector3 direction
 
Point3 origin
 
Power3 power
 

Detailed Description

The abstraction of a Photon class that stores the origin, direction and power of a photon three methods implemented to use the PointKDTree data structre.

Member Function Documentation

bool RayTracer::Photon::equals ( const Photon p,
const Photon q 
)
static
void RayTracer::Photon::getPosition ( const Photon p,
Vector3 &  pos 
)
static
size_t RayTracer::Photon::hashCode ( const Photon key)
static

Member Data Documentation

Vector3 RayTracer::Photon::direction
Point3 RayTracer::Photon::origin
Power3 RayTracer::Photon::power

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