Class holding information about a split of a BVH node.
More...
#include <BVHNode.hpp>
Class holding information about a split of a BVH node.
Definition at line 58 of file BVHNode.hpp.
Available split axes.
Enumerator |
---|
SPLIT_X |
|
SPLIT_Y |
|
SPLIT_Z |
|
Definition at line 70 of file BVHNode.hpp.
Available split types.
Definition at line 65 of file BVHNode.hpp.
FW::SplitInfo::SplitInfo |
( |
| ) |
|
|
inline |
FW::SplitInfo::SplitInfo |
( |
S32 |
axis, |
|
|
SplitType |
splitType, |
|
|
bool |
osahTested |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | axis | Split axis. |
[in] | splitType | Type of the split. |
[in] | osahTested | Flag whether the split has been tested for a OSAH split. |
Definition at line 84 of file BVHNode.hpp.
FW::SplitInfo::SplitInfo |
( |
unsigned long |
bitCode | ) |
|
|
inline |
Constructor.
- Parameters
-
[in] | bitCode | SplitInfo encoded in long int form. |
Definition at line 90 of file BVHNode.hpp.
String FW::SplitInfo::getAxisName |
( |
| ) |
const |
|
inline |
- Returns
- Name of the split axis.
Definition at line 120 of file BVHNode.hpp.
unsigned long FW::SplitInfo::getBitCode |
( |
| ) |
const |
|
inline |
bool FW::SplitInfo::getOSAHChosen |
( |
| ) |
const |
|
inline |
- Returns
- Whether the split has been chosen for OSAH.
Definition at line 100 of file BVHNode.hpp.
bool FW::SplitInfo::getOSAHTested |
( |
| ) |
const |
|
inline |
- Returns
- Whether the split has been tested for OSAH.
Definition at line 95 of file BVHNode.hpp.
String FW::SplitInfo::getTypeName |
( |
| ) |
const |
|
inline |
- Returns
- Name of the split type.
Definition at line 110 of file BVHNode.hpp.
The documentation for this class was generated from the following files: