|
Blender V4.3
|
#include <light_tree.h>
Public Types | |
| enum | empty_t { empty = 0 } |
Public Member Functions | |
| __forceinline | LightTreeMeasure ()=default |
| __forceinline | LightTreeMeasure (empty_t) |
| __forceinline | LightTreeMeasure (const BoundBox &bbox, const OrientationBounds &bcone, const float &energy) |
| __forceinline | LightTreeMeasure (const LightTreeMeasure &other) |
| __forceinline bool | is_zero () const |
| __forceinline void | add (const LightTreeMeasure &measure) |
| __forceinline float | calculate () |
| __forceinline void | reset () |
| bool | transform (const Transform &tfm) |
Public Attributes | |
| BoundBox | bbox = BoundBox::empty |
| OrientationBounds | bcone = OrientationBounds::empty |
| float | energy = 0.0f |
Definition at line 64 of file light_tree.h.
| Enumerator | |
|---|---|
| empty | |
Definition at line 69 of file light_tree.h.
|
default |
|
inline |
Definition at line 73 of file light_tree.h.
|
inline |
Definition at line 75 of file light_tree.h.
|
inline |
Definition at line 82 of file light_tree.h.
|
inline |
Definition at line 92 of file light_tree.h.
References bbox, bcone, energy, BoundBox::grow(), is_zero(), and merge().
Referenced by LightTreeBucket::add(), LightTreeNode::add(), LightTree::build(), light_tree_specialize_nodes_flatten(), and operator+().
|
inline |
Definition at line 102 of file light_tree.h.
References BoundBox::area(), bbox, bcone, OrientationBounds::calculate_measure(), energy, is_zero(), len, and BoundBox::size().
|
inline |
Definition at line 87 of file light_tree.h.
References energy.
Referenced by add(), and calculate().
|
inline |
Definition at line 113 of file light_tree.h.
Referenced by LightTree::build().
|
inline |
Definition at line 118 of file light_tree.h.
References OrientationBounds::axis, bbox, bcone, energy, inversesqrtf(), transform_direction(), transform_uniform_scale(), and BoundBox::transformed().
Referenced by LightTree::build().
| BoundBox LightTreeMeasure::bbox = BoundBox::empty |
Definition at line 65 of file light_tree.h.
Referenced by add(), calculate(), LightTreeEmitter::LightTreeEmitter(), and transform().
| OrientationBounds LightTreeMeasure::bcone = OrientationBounds::empty |
Definition at line 66 of file light_tree.h.
Referenced by add(), calculate(), light_tree_leaf_emitters_copy_and_flatten(), LightTreeEmitter::LightTreeEmitter(), and transform().
| float LightTreeMeasure::energy = 0.0f |
Definition at line 67 of file light_tree.h.
Referenced by add(), calculate(), is_zero(), light_tree_leaf_emitters_copy_and_flatten(), LightTreeEmitter::LightTreeEmitter(), and transform().