NodeWrapper Class Reference
#include <NodeWrapper.h>
List of all members.
Public Member Functions |
| | NodeWrapper (LeafNode &inNode) |
| | NodeWrapper (NodeWrapper &pLeft, NodeWrapper &pRight, vector< double > *coordArr, vector< ClusterNode * > &tempClusterArr) |
| | ~NodeWrapper () |
| AbstractNode & | getLight () const |
| double | getLocationX () const |
| double | getLocationY () const |
| double | getLocationZ () const |
| double | getConeCosine () const |
| double | getHalfSizeX () const |
| double | getHalfSizeY () const |
| double | getHalfSizeZ () const |
| const Point3 & | getLocation () 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 |
| AbstractNode & | light |
| 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 |
( |
|
) |
[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.
| 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] |
| const Point3& NodeWrapper::getLocation |
( |
|
) |
const [inline] |
| double NodeWrapper::getLocationX |
( |
|
) |
const [inline] |
| double NodeWrapper::getLocationY |
( |
|
) |
const [inline] |
| double NodeWrapper::getLocationZ |
( |
|
) |
const [inline] |
Friends And Related Function Documentation
| ostream& operator<< |
( |
ostream & |
s, |
|
|
const NodeWrapper & |
node | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: