NodeWrapper Class Reference

#include <NodeWrapper.h>

Inheritance diagram for NodeWrapper:
Box3d

List of all members.

Public Member Functions

 NodeWrapper (LeafNode &inNode)
 NodeWrapper (NodeWrapper &pLeft, NodeWrapper &pRight, vector< double > *coordArr, vector< ClusterNode * > &tempClusterArr)
 ~NodeWrapper ()
AbstractNodegetLight () const
double getLocationX () const
double getLocationY () const
double getLocationZ () const
double getConeCosine () const
double getHalfSizeX () const
double getHalfSizeY () const
double getHalfSizeZ () const
const Point3getLocation () const
bool equals (const NodeWrapper &other)

Static Public Member Functions

static double computeCone (const NodeWrapper &a, const NodeWrapper &b, ClusterNode &cluster)
static double computeCone (const NodeWrapper &a, const NodeWrapper &b)
static double potentialClusterSize (const NodeWrapper &a, NodeWrapper &b)
static double clusterSizeMetric (Point3 &size, double cosSemiAngle, double intensity)
 Compute a measure of the size of a light cluster.

Static Public Attributes

static const int CONE_RECURSE_SIZE = 4
static const double GLOBAL_SCENE_DIAGONAL = 2.0

Private Attributes

AbstractNodelight
Box3d direction
double coneCosine
Point3 location
Point3 coneDirection
const int descendents
vector< ClusterNode * > coneClusters
const bool cleanLight
NodeWrapper_l
NodeWrapper_r

Friends

ostream & operator<< (ostream &s, const NodeWrapper &node)

Constructor & Destructor Documentation

NodeWrapper::NodeWrapper ( LeafNode inNode  )  [inline]
NodeWrapper::NodeWrapper ( NodeWrapper pLeft,
NodeWrapper pRight,
vector< double > *  coordArr,
vector< ClusterNode * > &  tempClusterArr 
) [inline]
NodeWrapper::~NodeWrapper (  )  [inline]

Member Function Documentation

static double NodeWrapper::clusterSizeMetric ( Point3 size,
double  cosSemiAngle,
double  intensity 
) [inline, static]

Compute a measure of the size of a light cluster.

static double NodeWrapper::computeCone ( const NodeWrapper a,
const NodeWrapper b 
) [inline, static]
static double NodeWrapper::computeCone ( const NodeWrapper a,
const NodeWrapper b,
ClusterNode cluster 
) [inline, static]
bool NodeWrapper::equals ( const NodeWrapper other  )  [inline]
double NodeWrapper::getConeCosine (  )  const [inline]
double NodeWrapper::getHalfSizeX (  )  const [inline]
double NodeWrapper::getHalfSizeY (  )  const [inline]
double NodeWrapper::getHalfSizeZ (  )  const [inline]
AbstractNode& NodeWrapper::getLight (  )  const [inline]
const Point3& NodeWrapper::getLocation (  )  const [inline]
double NodeWrapper::getLocationX (  )  const [inline]
double NodeWrapper::getLocationY (  )  const [inline]
double NodeWrapper::getLocationZ (  )  const [inline]
static double NodeWrapper::potentialClusterSize ( const NodeWrapper a,
NodeWrapper b 
) [inline, static]

Friends And Related Function Documentation

ostream& operator<< ( ostream &  s,
const NodeWrapper node 
) [friend]

Member Data Documentation

const bool NodeWrapper::cleanLight [private]
const int NodeWrapper::CONE_RECURSE_SIZE = 4 [static]
double NodeWrapper::coneCosine [private]
const int NodeWrapper::descendents [private]
const double NodeWrapper::GLOBAL_SCENE_DIAGONAL = 2.0 [static]

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:27 2011 for Galois by  doxygen 1.6.3