|
Blender V5.0
|
#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)=default |
| __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 |
References __forceinline.
Referenced by add(), and LightTreeMeasure().
|
inline |
Definition at line 73 of file light_tree.h.
References __forceinline.
|
inline |
Definition at line 75 of file light_tree.h.
References __forceinline, bbox, bcone, and energy.
|
default |
References __forceinline, and LightTreeMeasure().
|
inline |
Definition at line 91 of file light_tree.h.
References __forceinline, bbox, bcone, energy, is_zero(), LightTreeMeasure(), and merge().
Referenced by LightTree::build(), light_tree_specialize_nodes_flatten(), and operator+().
|
inline |
Definition at line 101 of file light_tree.h.
References __forceinline, bbox, bcone, energy, is_zero(), and len.
|
inline |
Definition at line 86 of file light_tree.h.
References __forceinline, and energy.
Referenced by add(), and calculate().
|
inline |
Definition at line 112 of file light_tree.h.
References __forceinline.
Referenced by LightTree::build().
|
inline |
Definition at line 117 of file light_tree.h.
References bbox, bcone, energy, inversesqrtf(), transform_direction(), and transform_uniform_scale().
Referenced by LightTree::build().
| BoundBox LightTreeMeasure::bbox = BoundBox::empty |
Definition at line 65 of file light_tree.h.
Referenced by add(), calculate(), light_tree_node_copy_to_device(), LightTreeMeasure(), print_emitters(), 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(), light_tree_node_copy_to_device(), LightTreeMeasure(), print_emitters(), 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(), light_tree_node_copy_to_device(), LightTreeMeasure(), and transform().