#include <cmath>#include <boost/thread.hpp>#include <malloc.h>#include <sstream>Go to the source code of this file.
Classes | |
| class | luxrays::AlignedAllocator< T, N > |
| struct | luxrays::AlignedAllocator< T, N >::rebind< T2 > |
| class | luxrays::Aligned16 |
Namespaces | |
| namespace | luxrays |
The LuxRays core classes are defined within this namespace. | |
Defines | |
| #define | INFINITY (std::numeric_limits<float>::infinity()) |
| #define | INV_PI 0.31830988618379067154f |
| #define | INV_TWOPI 0.15915494309189533577f |
| #define | L1_CACHE_LINE_SIZE 64 |
| #define | P_CLASS_ATTR __attribute__ |
| #define | P_CLASS_ATTR __attribute__ |
Functions | |
| double | luxrays::WallClockTime () |
| template<class T > | |
| T | luxrays::Clamp (T val, T low, T high) |
| template<class T > | |
| T | luxrays::Max (T a, T b) |
| template<class T > | |
| T | luxrays::Min (T a, T b) |
| template<class T > | |
| void | luxrays::Swap (T &a, T &b) |
| template<class T > | |
| T | luxrays::Mod (T a, T b) |
| float | luxrays::Radians (float deg) |
| float | luxrays::Degrees (float rad) |
| float | luxrays::Sgn (float a) |
| int | luxrays::Sgn (int a) |
| template<class T > | |
| int | luxrays::Float2Int (T val) |
| template<class T > | |
| unsigned int | luxrays::Float2UInt (T val) |
| int | luxrays::Floor2Int (double val) |
| int | luxrays::Floor2Int (float val) |
| unsigned int | luxrays::Floor2UInt (double val) |
| unsigned int | luxrays::Floor2UInt (float val) |
| int | luxrays::Ceil2Int (double val) |
| int | luxrays::Ceil2Int (float val) |
| unsigned int | luxrays::Ceil2UInt (double val) |
| unsigned int | luxrays::Ceil2UInt (float val) |
| template<class T > | |
| std::string | luxrays::ToString (const T &t) |
| template<class T > | |
| T | luxrays::RoundUp (const T a, const T b) |
| template<class T > | |
| T | luxrays::RoundUpPow2 (T v) |
| unsigned int | luxrays::UIntLog2 (unsigned int value) |
| void | luxrays::StringTrim (std::string &str) |
| bool | luxrays::SetThreadRRPriority (boost::thread *thread, int pri=0) |
| template<class T > | |
| T * | luxrays::AllocAligned (size_t size, std::size_t N=L1_CACHE_LINE_SIZE) |
| template<class T > | |
| void | luxrays::FreeAligned (T *ptr) |
| #define INFINITY (std::numeric_limits<float>::infinity()) |
Definition at line 76 of file utils.h.
Referenced by luxrays::BBox::BBox(), luxrays::QBVHAccel::BuildTree(), luxrays::MQBVHAccel::BuildTree(), luxrays::BVHAccel::FindBestSplit(), luxrays::QBVHNode::QBVHNode(), luxrays::sdl::InfiniteLightIS::Sample_L(), and luxrays::sdl::InfiniteLightPortal::Sample_L().
| #define INV_PI 0.31830988618379067154f |
Definition at line 80 of file utils.h.
Referenced by luxrays::sdl::AlloyMaterial::AlloyMaterial(), luxrays::sdl::LatLongMappingMap(), luxrays::sdl::InfiniteLight::Le(), luxrays::sdl::MatteMaterial::MatteMaterial(), luxrays::sdl::AlloyMaterial::Sample_f(), luxrays::sdl::MatteMaterial::Sample_f(), and luxrays::sdl::InfiniteLight::Sample_L().
| #define INV_TWOPI 0.15915494309189533577f |
Definition at line 84 of file utils.h.
Referenced by luxrays::sdl::LatLongMappingMap(), luxrays::sdl::InfiniteLight::Le(), luxrays::sdl::TriangleLight::Sample_L(), and luxrays::sdl::InfiniteLightPortal::Sample_L().
1.6.3