The LuxRays core classes are defined within this namespace. More...
Namespaces | |
| namespace | sdl |
| namespace | utils |
Classes | |
| struct | BVHAccelTreeNode |
| struct | BVHAccelArrayNode |
| class | BVHAccel |
| class | MQBVHAccel |
| class | QuadRay |
| class | QuadTriangle |
| class | QBVHNode |
| class | QBVHAccel |
| class | Accelerator |
| class | Context |
| Interface to all main LuxRays functions. More... | |
| class | DataSet |
| class | DeviceDescription |
| class | Device |
| class | NativeThreadDeviceDescription |
| class | OpenCLDeviceDescription |
| class | BBox |
| class | BSphere |
| class | Matrix4x4 |
| class | Normal |
| class | Point |
| class | Ray |
| class | RayHit |
| class | RayBuffer |
| class | RayBufferQueue |
| class | RayBufferSingleQueue |
| class | RayBufferQueueO2O |
| class | RayBufferQueueM2O |
| class | RayBufferQueueM2M |
| class | Transform |
| class | Triangle |
| class | UV |
| class | Vector |
| class | IntersectionDevice |
| class | HardwareIntersectionDevice |
| class | NativeThreadIntersectionDevice |
| class | OpenCLIntersectionDevice |
| class | Filter |
| class | GaussianFilter |
| class | FilterLUT |
| class | FilterLUTs |
| struct | SamplePixel |
| class | SampleFrameBuffer |
| class | FrameBuffer |
| struct | SampleBufferElem |
| class | SampleBuffer |
| class | Spectrum |
| class | ToneMapParams |
| class | LinearToneMapParams |
| class | Reinhard02ToneMapParams |
| class | PixelDevice |
| class | NativePixelDevice |
| class | OpenCLSampleBuffer |
| class | OpenCLPixelDevice |
| class | Mesh |
| class | TriangleMesh |
| class | InstanceTriangleMesh |
| class | AlignedAllocator |
| class | Aligned16 |
| class | VirtualM2OHardwareIntersectionDevice |
| class | VirtualM2MHardwareIntersectionDevice |
| class | ExtMesh |
| class | ExtTriangleMesh |
| class | ExtInstanceTriangleMesh |
| class | RandomGenerator |
| class | TauswortheRandomGenerator |
| class | Properties |
| struct | t_ply_argument_ |
| struct | t_ply_property_ |
| struct | t_ply_element_ |
| struct | t_ply_idriver_ |
| struct | t_ply_odriver_ |
| struct | t_ply_ |
Typedefs | |
| typedef void(* | LuxRaysDebugHandler )(const char *msg) |
| typedef Spectrum | Pixel |
| typedef unsigned int | TriangleMeshID |
| typedef unsigned int | TriangleID |
| typedef struct t_ply_ * | p_ply |
| typedef struct t_ply_element_ * | p_ply_element |
| typedef struct t_ply_property_ * | p_ply_property |
| typedef struct t_ply_argument_ * | p_ply_argument |
| typedef enum luxrays::e_ply_storage_mode_ | e_ply_storage_mode |
| typedef enum luxrays::e_ply_type | e_ply_type |
| typedef void(* | p_ply_error_cb )(const char *message) |
| typedef int(* | p_ply_read_cb )(p_ply_argument argument) |
| typedef enum luxrays::e_ply_io_mode_ | e_ply_io_mode |
| typedef struct luxrays::t_ply_argument_ | t_ply_argument |
| typedef struct luxrays::t_ply_property_ | t_ply_property |
| typedef struct luxrays::t_ply_element_ | t_ply_element |
| typedef int(* | p_ply_ihandler )(p_ply ply, double *value) |
| typedef int(* | p_ply_ichunk )(p_ply ply, void *anydata, size_t size) |
| typedef struct luxrays::t_ply_idriver_ | t_ply_idriver |
| typedef t_ply_idriver * | p_ply_idriver |
| typedef int(* | p_ply_ohandler )(p_ply ply, double value) |
| typedef int(* | p_ply_ochunk )(p_ply ply, void *anydata, size_t size) |
| typedef struct luxrays::t_ply_odriver_ | t_ply_odriver |
| typedef t_ply_odriver * | p_ply_odriver |
| typedef struct luxrays::t_ply_ | t_ply |
Enumerations | |
| enum | AcceleratorType { ACCEL_BVH, ACCEL_QBVH, ACCEL_MQBVH } |
| enum | DeviceType { DEVICE_TYPE_ALL, DEVICE_TYPE_OPENCL, DEVICE_TYPE_NATIVE_THREAD, DEVICE_TYPE_VIRTUAL } |
| enum | OpenCLDeviceType { OCL_DEVICE_TYPE_ALL, OCL_DEVICE_TYPE_DEFAULT, OCL_DEVICE_TYPE_CPU, OCL_DEVICE_TYPE_GPU, OCL_DEVICE_TYPE_UNKNOWN } |
| enum | ToneMapType { TONEMAP_LINEAR, TONEMAP_REINHARD02 } |
| enum | FilterType { FILTER_NONE, FILTER_PREVIEW, FILTER_GAUSSIAN } |
| enum | MeshType { TYPE_TRIANGLE, TYPE_TRIANGLE_INSTANCE, TYPE_EXT_TRIANGLE, TYPE_EXT_TRIANGLE_INSTANCE } |
| enum | e_ply_storage_mode_ { PLY_BIG_ENDIAN, PLY_LITTLE_ENDIAN, PLY_ASCII, PLY_DEFAULT } |
| enum | e_ply_type { PLY_INT8, PLY_UINT8, PLY_INT16, PLY_UINT16, PLY_INT32, PLY_UIN32, PLY_FLOAT32, PLY_FLOAT64, PLY_CHAR, PLY_UCHAR, PLY_SHORT, PLY_USHORT, PLY_INT, PLY_UINT, PLY_FLOAT, PLY_DOUBLE, PLY_LIST } |
| enum | e_ply_io_mode_ { PLY_READ, PLY_WRITE } |
Functions | |
| BBox | Union (const BBox &b, const Point &p) |
| BBox | Union (const BBox &b, const BBox &b2) |
| std::ostream & | operator<< (std::ostream &os, const BBox &b) |
| std::ostream & | operator<< (std::ostream &os, const BSphere &s) |
| std::ostream & | operator<< (std::ostream &os, const Matrix4x4 &m) |
| Normal | operator* (float f, const Normal &n) |
| std::ostream & | operator<< (std::ostream &os, const Normal &v) |
| Normal | Normalize (const Normal &n) |
| float | Dot (const Normal &n1, const Normal &n2) |
| float | AbsDot (const Normal &n1, const Normal &n2) |
| std::ostream & | operator<< (std::ostream &os, const Point &v) |
| Point | operator* (float f, const Point &p) |
| float | Distance (const Point &p1, const Point &p2) |
| float | DistanceSquared (const Point &p1, const Point &p2) |
| std::ostream & | operator<< (std::ostream &os, const Ray &r) |
| Transform | Translate (const Vector &delta) |
| Transform | Scale (float x, float y, float z) |
| Transform | RotateX (float angle) |
| Transform | RotateY (float angle) |
| Transform | RotateZ (float angle) |
| Transform | Rotate (float angle, const Vector &axis) |
| Transform | LookAt (const Point &pos, const Point &look, const Vector &up) |
| Transform | Orthographic (float znear, float zfar) |
| Transform | Perspective (float fov, float znear, float zfar) |
| void | TransformAccordingNormal (const Normal &nn, const Vector &woL, Vector *woW) |
| void | UniformSampleTriangle (const float u0, const float u1, float *u, float *v) |
| std::ostream & | operator<< (std::ostream &os, const Triangle &tri) |
| std::ostream & | operator<< (std::ostream &os, const UV &v) |
| UV | operator* (float f, const UV &p) |
| std::ostream & | operator<< (std::ostream &os, const Vector &v) |
| Vector | operator* (float f, const Vector &v) |
| float | Dot (const Vector &v1, const Vector &v2) |
| float | AbsDot (const Vector &v1, const Vector &v2) |
| Vector | Cross (const Vector &v1, const Vector &v2) |
| Vector | Normalize (const Vector &v) |
| void | CoordinateSystem (const Vector &v1, Vector *v2, Vector *v3) |
| Vector | SphericalDirection (float sintheta, float costheta, float phi) |
| Vector | SphericalDirection (float sintheta, float costheta, float phi, const Vector &x, const Vector &y, const Vector &z) |
| float | SphericalTheta (const Vector &v) |
| float | SphericalPhi (const Vector &v) |
| float | CosTheta (const Vector &w) |
| float | SinTheta (const Vector &w) |
| float | SinTheta2 (const Vector &w) |
| float | CosPhi (const Vector &w) |
| float | SinPhi (const Vector &w) |
| bool | SameHemisphere (const Vector &w, const Vector &wp) |
| Vector | Cross (const Vector &v1, const Normal &v2) |
| Vector | Cross (const Normal &v1, const Vector &v2) |
| float | Dot (const Normal &n1, const Vector &v2) |
| float | Dot (const Vector &v1, const Normal &n2) |
| float | AbsDot (const Vector &v1, const Normal &n2) |
| float | AbsDot (const Normal &n1, const Vector &v2) |
| std::ostream & | operator<< (std::ostream &os, const FilterLUT &f) |
| std::ostream & | operator<< (std::ostream &os, const Spectrum &v) |
| Spectrum | operator* (float f, const Spectrum &v) |
| Spectrum | Exp (const Spectrum &s) |
| double | WallClockTime () |
| template<class T > | |
| T | Clamp (T val, T low, T high) |
| template<class T > | |
| T | Max (T a, T b) |
| template<class T > | |
| T | Min (T a, T b) |
| template<class T > | |
| void | Swap (T &a, T &b) |
| template<class T > | |
| T | Mod (T a, T b) |
| float | Radians (float deg) |
| float | Degrees (float rad) |
| float | Sgn (float a) |
| int | Sgn (int a) |
| template<class T > | |
| int | Float2Int (T val) |
| template<class T > | |
| unsigned int | Float2UInt (T val) |
| int | Floor2Int (double val) |
| int | Floor2Int (float val) |
| unsigned int | Floor2UInt (double val) |
| unsigned int | Floor2UInt (float val) |
| int | Ceil2Int (double val) |
| int | Ceil2Int (float val) |
| unsigned int | Ceil2UInt (double val) |
| unsigned int | Ceil2UInt (float val) |
| template<class T > | |
| std::string | ToString (const T &t) |
| template<class T > | |
| T | RoundUp (const T a, const T b) |
| template<class T > | |
| T | RoundUpPow2 (T v) |
| unsigned int | UIntLog2 (unsigned int value) |
| void | StringTrim (std::string &str) |
| bool | SetThreadRRPriority (boost::thread *thread, int pri=0) |
| template<class T > | |
| T * | AllocAligned (size_t size, std::size_t N=L1_CACHE_LINE_SIZE) |
| template<class T > | |
| void | FreeAligned (T *ptr) |
| void | AtomicAdd (float *val, const float delta) |
| void | AtomicAdd (unsigned int *val, const unsigned int delta) |
| void | AtomicInc (unsigned int *val) |
| template<typename T > | |
| void | Shuffle (T *samp, size_t count, size_t dims, RandomGenerator &rng) |
| p_ply | ply_open (const char *name, p_ply_error_cb error_cb) |
| int | ply_read_header (p_ply ply) |
| long | ply_set_read_cb (p_ply ply, const char *element_name, const char *property_name, p_ply_read_cb read_cb, void *pdata, long idata) |
| int | ply_get_argument_element (p_ply_argument argument, p_ply_element *element, long *instance_index) |
| int | ply_get_argument_property (p_ply_argument argument, p_ply_property *property, long *length, long *value_index) |
| int | ply_get_argument_user_data (p_ply_argument argument, void **pdata, long *idata) |
| double | ply_get_argument_value (p_ply_argument argument) |
| int | ply_read (p_ply ply) |
| p_ply_element | ply_get_next_element (p_ply ply, p_ply_element last) |
| const char * | ply_get_next_comment (p_ply ply, const char *last) |
| const char * | ply_get_next_obj_info (p_ply ply, const char *last) |
| int | ply_get_element_info (p_ply_element element, const char **name, long *ninstances) |
| p_ply_property | ply_get_next_property (p_ply_element element, p_ply_property last) |
| int | ply_get_property_info (p_ply_property property, const char **name, e_ply_type *type, e_ply_type *length_type, e_ply_type *value_type) |
| p_ply | ply_create (const char *name, e_ply_storage_mode storage_mode, p_ply_error_cb error_cb) |
| int | ply_add_element (p_ply ply, const char *name, long ninstances) |
| int | ply_add_property (p_ply ply, const char *name, e_ply_type type, e_ply_type length_type, e_ply_type value_type) |
| int | ply_add_list_property (p_ply ply, const char *name, e_ply_type length_type, e_ply_type value_type) |
| int | ply_add_scalar_property (p_ply ply, const char *name, e_ply_type type) |
| int | ply_add_comment (p_ply ply, const char *comment) |
| int | ply_add_obj_info (p_ply ply, const char *obj_info) |
| int | ply_write_header (p_ply ply) |
| int | ply_write (p_ply ply, double value) |
| int | ply_close (p_ply ply) |
| float | Det2x2 (const float a00, const float a01, const float a10, const float a11) |
| float | Det3x3 (float A[3][3]) |
| std::ostream & | operator<< (std::ostream &os, const Transform &t) |
| static int | ply_read_word (p_ply ply) |
| static int | ply_check_word (p_ply ply) |
| static int | ply_read_line (p_ply ply) |
| static int | ply_check_line (p_ply ply) |
| static int | ply_read_chunk (p_ply ply, void *anybuffer, size_t size) |
| static int | ply_read_chunk_reverse (p_ply ply, void *anybuffer, size_t size) |
| static int | ply_write_chunk (p_ply ply, void *anybuffer, size_t size) |
| static int | ply_write_chunk_reverse (p_ply ply, void *anybuffer, size_t size) |
| static void | ply_reverse (void *anydata, size_t size) |
| static int | ply_find_string (const char *item, const char *const list[]) |
| static p_ply_element | ply_find_element (p_ply ply, const char *name) |
| static p_ply_property | ply_find_property (p_ply_element element, const char *name) |
| static int | ply_read_header_format (p_ply ply) |
| static int | ply_read_header_comment (p_ply ply) |
| static int | ply_read_header_obj_info (p_ply ply) |
| static int | ply_read_header_property (p_ply ply) |
| static int | ply_read_header_element (p_ply ply) |
| static void | ply_error_cb (const char *message) |
| static void | ply_error (p_ply ply, const char *fmt,...) |
| static void | ply_init (p_ply ply) |
| static void | ply_element_init (p_ply_element element) |
| static void | ply_property_init (p_ply_property property) |
| static p_ply | ply_alloc (void) |
| static p_ply_element | ply_grow_element (p_ply ply) |
| static p_ply_property | ply_grow_property (p_ply ply, p_ply_element element) |
| static void * | ply_grow_array (p_ply ply, void **pointer, long *nmemb, long size) |
| static e_ply_storage_mode | ply_arch_endian (void) |
| static int | ply_type_check (void) |
| static int | ply_read_element (p_ply ply, p_ply_element element, p_ply_argument argument) |
| static int | ply_read_property (p_ply ply, p_ply_element element, p_ply_property property, p_ply_argument argument) |
| static int | ply_read_list_property (p_ply ply, p_ply_element element, p_ply_property property, p_ply_argument argument) |
| static int | ply_read_scalar_property (p_ply ply, p_ply_element element, p_ply_property property, p_ply_argument argument) |
| static int | BREFILL (p_ply ply) |
| static int | oascii_int8 (p_ply ply, double value) |
| static int | oascii_uint8 (p_ply ply, double value) |
| static int | oascii_int16 (p_ply ply, double value) |
| static int | oascii_uint16 (p_ply ply, double value) |
| static int | oascii_int32 (p_ply ply, double value) |
| static int | oascii_uint32 (p_ply ply, double value) |
| static int | oascii_float32 (p_ply ply, double value) |
| static int | oascii_float64 (p_ply ply, double value) |
| static int | obinary_int8 (p_ply ply, double value) |
| static int | obinary_uint8 (p_ply ply, double value) |
| static int | obinary_int16 (p_ply ply, double value) |
| static int | obinary_uint16 (p_ply ply, double value) |
| static int | obinary_int32 (p_ply ply, double value) |
| static int | obinary_uint32 (p_ply ply, double value) |
| static int | obinary_float32 (p_ply ply, double value) |
| static int | obinary_float64 (p_ply ply, double value) |
| static int | iascii_int8 (p_ply ply, double *value) |
| static int | iascii_uint8 (p_ply ply, double *value) |
| static int | iascii_int16 (p_ply ply, double *value) |
| static int | iascii_uint16 (p_ply ply, double *value) |
| static int | iascii_int32 (p_ply ply, double *value) |
| static int | iascii_uint32 (p_ply ply, double *value) |
| static int | iascii_float32 (p_ply ply, double *value) |
| static int | iascii_float64 (p_ply ply, double *value) |
| static int | ibinary_int8 (p_ply ply, double *value) |
| static int | ibinary_uint8 (p_ply ply, double *value) |
| static int | ibinary_int16 (p_ply ply, double *value) |
| static int | ibinary_uint16 (p_ply ply, double *value) |
| static int | ibinary_int32 (p_ply ply, double *value) |
| static int | ibinary_uint32 (p_ply ply, double *value) |
| static int | ibinary_float32 (p_ply ply, double *value) |
| static int | ibinary_float64 (p_ply ply, double *value) |
Variables | |
| class luxrays::QuadRay | aligned |
| float | RAY_EPSILON = 1e-4f |
| std::string | KernelSource_BVH |
| std::string | KernelSource_QBVH |
| std::string | KernelSource_MQBVH |
| std::string | KernelSource_Pixel_ClearFB |
| std::string | KernelSource_Pixel_ClearSampleFB |
| std::string | KernelSource_Pixel_UpdateFrameBuffer |
| std::string | KernelSource_Pixel_AddSampleBuffer |
| std::string | KernelSource_Pixel_AddSampleBufferPreview |
| std::string | KernelSource_Pixel_AddSampleBufferGaussian2x2 |
| static const float | invUI = (1.f / (FLOATMASK + 1UL)) |
| static const char *const | ply_storage_mode_list [] |
| static const char *const | ply_type_list [] |
| t_ply_idriver | ply_idriver_ascii |
| t_ply_idriver | ply_idriver_binary |
| t_ply_idriver | ply_idriver_binary_reverse |
| t_ply_odriver | ply_odriver_ascii |
| t_ply_odriver | ply_odriver_binary |
| t_ply_odriver | ply_odriver_binary_reverse |
The LuxRays core classes are defined within this namespace.
| typedef enum luxrays::e_ply_io_mode_ luxrays::e_ply_io_mode |
| typedef enum luxrays::e_ply_storage_mode_ luxrays::e_ply_storage_mode |
| typedef enum luxrays::e_ply_type luxrays::e_ply_type |
| typedef void(* luxrays::LuxRaysDebugHandler)(const char *msg) |
| typedef struct t_ply_* luxrays::p_ply |
| typedef struct t_ply_argument_* luxrays::p_ply_argument |
| typedef struct t_ply_element_* luxrays::p_ply_element |
| typedef void(* luxrays::p_ply_error_cb)(const char *message) |
| typedef int(* luxrays::p_ply_ichunk)(p_ply ply, void *anydata, size_t size) |
| typedef t_ply_idriver* luxrays::p_ply_idriver |
| typedef int(* luxrays::p_ply_ihandler)(p_ply ply, double *value) |
| typedef int(* luxrays::p_ply_ochunk)(p_ply ply, void *anydata, size_t size) |
| typedef t_ply_odriver* luxrays::p_ply_odriver |
| typedef int(* luxrays::p_ply_ohandler)(p_ply ply, double value) |
| typedef struct t_ply_property_* luxrays::p_ply_property |
| typedef int(* luxrays::p_ply_read_cb)(p_ply_argument argument) |
| typedef Spectrum luxrays::Pixel |
Definition at line 120 of file framebuffer.h.
| typedef struct luxrays::t_ply_ luxrays::t_ply |
| typedef struct luxrays::t_ply_argument_ luxrays::t_ply_argument |
| typedef struct luxrays::t_ply_element_ luxrays::t_ply_element |
| typedef struct luxrays::t_ply_idriver_ luxrays::t_ply_idriver |
| typedef struct luxrays::t_ply_odriver_ luxrays::t_ply_odriver |
| typedef struct luxrays::t_ply_property_ luxrays::t_ply_property |
| typedef unsigned int luxrays::TriangleID |
Definition at line 34 of file trianglemesh.h.
| typedef unsigned int luxrays::TriangleMeshID |
Definition at line 33 of file trianglemesh.h.
Definition at line 30 of file acceleretor.h.
| enum luxrays::DeviceType |
| enum luxrays::e_ply_type |
| enum luxrays::FilterType |
Definition at line 85 of file pixeldevice.h.
| enum luxrays::MeshType |
Definition at line 36 of file trianglemesh.h.
| enum luxrays::ToneMapType |
Definition at line 38 of file pixeldevice.h.
| float luxrays::AbsDot | ( | const Normal & | n1, | |
| const Vector & | v2 | |||
| ) | [inline] |
Definition at line 55 of file vector_normal.h.
References luxrays::Vector::x, luxrays::Normal::x, luxrays::Vector::y, luxrays::Normal::y, luxrays::Vector::z, and luxrays::Normal::z.
| float luxrays::AbsDot | ( | const Vector & | v1, | |
| const Normal & | n2 | |||
| ) | [inline] |
Definition at line 51 of file vector_normal.h.
References luxrays::Normal::x, luxrays::Vector::x, luxrays::Normal::y, luxrays::Vector::y, luxrays::Normal::z, and luxrays::Vector::z.
| float luxrays::AbsDot | ( | const Vector & | v1, | |
| const Vector & | v2 | |||
| ) | [inline] |
| float luxrays::AbsDot | ( | const Normal & | n1, | |
| const Normal & | n2 | |||
| ) | [inline] |
Definition at line 130 of file normal.h.
References luxrays::Normal::x, luxrays::Normal::y, and luxrays::Normal::z.
Referenced by luxrays::sdl::InfiniteLight::Sample_L().
| T* luxrays::AllocAligned | ( | size_t | size, | |
| std::size_t | N = L1_CACHE_LINE_SIZE | |||
| ) | [inline] |
| void luxrays::AtomicAdd | ( | unsigned int * | val, | |
| const unsigned int | delta | |||
| ) | [inline] |
| void luxrays::AtomicAdd | ( | float * | val, | |
| const float | delta | |||
| ) | [inline] |
| static int luxrays::BREFILL | ( | p_ply | ply | ) | [static] |
Definition at line 266 of file rply.cpp.
References BFIRST, BSIZE, luxrays::t_ply_::buffer, luxrays::t_ply_::buffer_first, luxrays::t_ply_::buffer_last, luxrays::t_ply_::buffer_token, BUFFERSIZE, and luxrays::t_ply_::fp.
Referenced by ply_read_line(), and ply_read_word().
| int luxrays::Ceil2Int | ( | double | val | ) | [inline] |
Definition at line 171 of file utils.h.
Referenced by luxrays::FilterLUT::FilterLUT(), luxrays::NativePixelDevice::SplatFiltered(), and luxrays::NativePixelDevice::SplatPreview().
| T luxrays::Clamp | ( | T | val, | |
| T | low, | |||
| T | high | |||
| ) | [inline] |
Definition at line 102 of file utils.h.
Referenced by luxrays::utils::Film::InitGammaTable(), luxrays::NativePixelDevice::Radiance2PixelFloat(), luxrays::utils::Film::Radiance2PixelFloat(), luxrays::OpenCLPixelDevice::SetGamma(), luxrays::NativePixelDevice::SetGamma(), and SphericalTheta().
| void luxrays::CoordinateSystem | ( | const Vector & | v1, | |
| Vector * | v2, | |||
| Vector * | v3 | |||
| ) | [inline] |
Definition at line 149 of file vector.h.
References Cross(), luxrays::Vector::x, luxrays::Vector::y, and luxrays::Vector::z.
Referenced by luxrays::sdl::SunLight::Init(), luxrays::sdl::AlloyMaterial::Sample_f(), luxrays::sdl::MatteMaterial::Sample_f(), and luxrays::sdl::InfiniteLight::Sample_L().
| float luxrays::CosPhi | ( | const Vector & | w | ) | [inline] |
Definition at line 191 of file vector.h.
References SinTheta(), and luxrays::Vector::x.
| float luxrays::CosTheta | ( | const Vector & | w | ) | [inline] |
| Vector luxrays::Cross | ( | const Normal & | v1, | |
| const Vector & | v2 | |||
| ) | [inline] |
Definition at line 37 of file vector_normal.h.
References luxrays::Normal::x, luxrays::Vector::x, luxrays::Vector::y, luxrays::Normal::y, luxrays::Normal::z, and luxrays::Vector::z.
| Vector luxrays::Cross | ( | const Vector & | v1, | |
| const Normal & | v2 | |||
| ) | [inline] |
Definition at line 31 of file vector_normal.h.
References luxrays::Vector::x, luxrays::Normal::x, luxrays::Normal::y, luxrays::Vector::y, luxrays::Vector::z, and luxrays::Normal::z.
| Vector luxrays::Cross | ( | const Vector & | v1, | |
| const Vector & | v2 | |||
| ) | [inline] |
Definition at line 139 of file vector.h.
References luxrays::Vector::x, luxrays::Vector::y, and luxrays::Vector::z.
Referenced by luxrays::Triangle::Area(), CoordinateSystem(), luxrays::sdl::MetalMaterial::GlossyReflection(), luxrays::Triangle::Intersect(), luxrays::ExtTriangleMesh::LoadExtTriangleMesh(), LookAt(), TransformAccordingNormal(), and luxrays::sdl::PerspectiveCamera::Update().
| float luxrays::Det2x2 | ( | const float | a00, | |
| const float | a01, | |||
| const float | a10, | |||
| const float | a11 | |||
| ) |
Definition at line 66 of file matrix4x4.cpp.
Referenced by Det3x3().
| float luxrays::Det3x3 | ( | float | A[3][3] | ) |
Definition at line 71 of file matrix4x4.cpp.
References Det2x2().
Referenced by luxrays::Matrix4x4::Determinant().
| float luxrays::Distance | ( | const Point & | p1, | |
| const Point & | p2 | |||
| ) | [inline] |
Definition at line 133 of file point.h.
Referenced by luxrays::BBox::BoundingSphere().
| float luxrays::DistanceSquared | ( | const Point & | p1, | |
| const Point & | p2 | |||
| ) | [inline] |
| float luxrays::Dot | ( | const Vector & | v1, | |
| const Normal & | n2 | |||
| ) | [inline] |
Definition at line 47 of file vector_normal.h.
References luxrays::Normal::x, luxrays::Vector::x, luxrays::Normal::y, luxrays::Vector::y, luxrays::Normal::z, and luxrays::Vector::z.
| float luxrays::Dot | ( | const Normal & | n1, | |
| const Vector & | v2 | |||
| ) | [inline] |
Definition at line 43 of file vector_normal.h.
References luxrays::Vector::x, luxrays::Normal::x, luxrays::Vector::y, luxrays::Normal::y, luxrays::Vector::z, and luxrays::Normal::z.
| float luxrays::Dot | ( | const Vector & | v1, | |
| const Vector & | v2 | |||
| ) | [inline] |
Definition at line 131 of file vector.h.
References luxrays::Vector::x, luxrays::Vector::y, and luxrays::Vector::z.
| float luxrays::Dot | ( | const Normal & | n1, | |
| const Normal & | n2 | |||
| ) | [inline] |
Definition at line 126 of file normal.h.
References luxrays::Normal::x, luxrays::Normal::y, and luxrays::Normal::z.
Referenced by AbsDot(), luxrays::sdl::AlloyMaterial::f(), luxrays::sdl::MetalMaterial::GlossyReflection(), luxrays::Triangle::Intersect(), luxrays::sdl::AreaLightMaterial::Le(), luxrays::sdl::SunLight::Le(), luxrays::sdl::AlloyMaterial::Sample_f(), luxrays::sdl::ArchGlassMaterial::Sample_f(), luxrays::sdl::MetalMaterial::Sample_f(), luxrays::sdl::GlassMaterial::Sample_f(), luxrays::sdl::MirrorMaterial::Sample_f(), luxrays::sdl::MatteMaterial::Sample_f(), luxrays::sdl::TriangleLight::Sample_L(), luxrays::sdl::InfiniteLightIS::Sample_L(), luxrays::sdl::InfiniteLightPortal::Sample_L(), and luxrays::sdl::SunLight::Sample_L().
| Spectrum luxrays::Exp | ( | const Spectrum & | s | ) | [inline] |
Definition at line 134 of file utils/core/spectrum.h.
| int luxrays::Float2Int | ( | T | val | ) | [inline] |
| unsigned int luxrays::Float2UInt | ( | T | val | ) | [inline] |
| int luxrays::Floor2Int | ( | double | val | ) | [inline] |
Definition at line 155 of file utils.h.
Referenced by luxrays::QBVHAccel::BuildTree(), luxrays::MQBVHAccel::BuildTree(), luxrays::FilterLUT::FilterLUT(), luxrays::sdl::TextureMap::GetAlpha(), luxrays::sdl::TextureMap::GetColor(), luxrays::FilterLUTs::GetLUT(), and luxrays::NativePixelDevice::SplatPreview().
| unsigned int luxrays::Floor2UInt | ( | double | val | ) | [inline] |
Definition at line 163 of file utils.h.
Referenced by luxrays::sdl::Distribution1D::Offset(), luxrays::utils::Film::Radiance2PixelFloat(), luxrays::sdl::SPD::sample(), luxrays::sdl::InfiniteLightPortal::Sample_L(), and luxrays::sdl::Scene::SampleAllLights().
| void luxrays::FreeAligned | ( | T * | ptr | ) | [inline] |
Definition at line 272 of file utils.h.
Referenced by luxrays::QBVHAccel::CreateIntermediateNode(), luxrays::MQBVHAccel::CreateNode(), luxrays::AlignedAllocator< T, N >::deallocate(), luxrays::sdl::SPD::FreeSamples(), luxrays::Aligned16::operator delete(), luxrays::MQBVHAccel::~MQBVHAccel(), and luxrays::QBVHAccel::~QBVHAccel().
| static int luxrays::iascii_float32 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1345 of file rply.cpp.
References BWORD, and ply_read_word().
| static int luxrays::iascii_float64 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1353 of file rply.cpp.
References BWORD, and ply_read_word().
| static int luxrays::iascii_int16 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1313 of file rply.cpp.
References BWORD, and ply_read_word().
| static int luxrays::iascii_int32 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1329 of file rply.cpp.
References BWORD, and ply_read_word().
| static int luxrays::iascii_int8 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1297 of file rply.cpp.
References BWORD, and ply_read_word().
| static int luxrays::iascii_uint16 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1321 of file rply.cpp.
References BWORD, and ply_read_word().
| static int luxrays::iascii_uint32 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1337 of file rply.cpp.
References BWORD, and ply_read_word().
| static int luxrays::iascii_uint8 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1305 of file rply.cpp.
References BWORD, and ply_read_word().
| static int luxrays::ibinary_float32 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1403 of file rply.cpp.
References luxrays::t_ply_idriver_::ichunk, luxrays::t_ply_::idriver, and ply_reverse().
| static int luxrays::ibinary_float64 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1411 of file rply.cpp.
References luxrays::t_ply_idriver_::ichunk, and luxrays::t_ply_::idriver.
| static int luxrays::ibinary_int16 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1375 of file rply.cpp.
References luxrays::t_ply_idriver_::ichunk, and luxrays::t_ply_::idriver.
| static int luxrays::ibinary_int32 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1389 of file rply.cpp.
References luxrays::t_ply_idriver_::ichunk, and luxrays::t_ply_::idriver.
| static int luxrays::ibinary_int8 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1361 of file rply.cpp.
References luxrays::t_ply_idriver_::ichunk, and luxrays::t_ply_::idriver.
| static int luxrays::ibinary_uint16 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1382 of file rply.cpp.
References luxrays::t_ply_idriver_::ichunk, and luxrays::t_ply_::idriver.
| static int luxrays::ibinary_uint32 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1396 of file rply.cpp.
References luxrays::t_ply_idriver_::ichunk, and luxrays::t_ply_::idriver.
| static int luxrays::ibinary_uint8 | ( | p_ply | ply, | |
| double * | value | |||
| ) | [static] |
Definition at line 1368 of file rply.cpp.
References luxrays::t_ply_idriver_::ichunk, and luxrays::t_ply_::idriver.
| Transform luxrays::LookAt | ( | const Point & | pos, | |
| const Point & | look, | |||
| const Vector & | up | |||
| ) |
Definition at line 122 of file transform.cpp.
References Cross(), luxrays::Matrix4x4::Inverse(), Normalize(), luxrays::Vector::x, luxrays::Point::x, luxrays::Vector::y, luxrays::Point::y, luxrays::Vector::z, and luxrays::Point::z.
Referenced by luxrays::sdl::PerspectiveCamera::GenerateRay(), and luxrays::sdl::PerspectiveCamera::Update().
| T luxrays::Max | ( | T | a, | |
| T | b | |||
| ) | [inline] |
Definition at line 106 of file utils.h.
Referenced by luxrays::BBox::BBox(), luxrays::BVHAccel::BuildHierarchy(), luxrays::sdl::CosineSampleHemisphere(), luxrays::GaussianFilter::Gaussian(), SinTheta(), luxrays::sdl::UniformSampleSphere(), and Union().
| T luxrays::Min | ( | T | a, | |
| T | b | |||
| ) | [inline] |
Definition at line 110 of file utils.h.
Referenced by luxrays::BBox::BBox(), luxrays::BVHAccel::BuildHierarchy(), luxrays::QBVHAccel::BuildTree(), luxrays::MQBVHAccel::BuildTree(), luxrays::sdl::Distribution1D::Offset(), luxrays::sdl::SPD::sample(), and Union().
| T luxrays::Mod | ( | T | a, | |
| T | b | |||
| ) | [inline] |
Definition at line 120 of file utils.h.
Referenced by luxrays::sdl::TextureMap::GetAlphaTexel().
| Vector luxrays::Normalize | ( | const Vector & | v | ) | [inline] |
Definition at line 145 of file vector.h.
References luxrays::Vector::Length().
| Normal luxrays::Normalize | ( | const Normal & | n | ) | [inline] |
Definition at line 122 of file normal.h.
References luxrays::Normal::Length().
Referenced by luxrays::sdl::PerspectiveCamera::GenerateRay(), luxrays::ExtInstanceTriangleMesh::GetNormal(), luxrays::sdl::MetalMaterial::GlossyReflection(), luxrays::sdl::SunLight::Init(), luxrays::ExtInstanceTriangleMesh::InterpolateTriNormal(), luxrays::ExtTriangleMesh::InterpolateTriNormal(), luxrays::ExtTriangleMesh::LoadExtTriangleMesh(), LookAt(), Rotate(), luxrays::sdl::GlassMaterial::Sample_f(), luxrays::sdl::InfiniteLight::Sample_L(), luxrays::sdl::SunLight::SetDir(), luxrays::sdl::SkyLight::SkyLight(), luxrays::sdl::SunLight::SunLight(), luxrays::sdl::PerspectiveCamera::TranslateLeft(), luxrays::sdl::PerspectiveCamera::TranslateRight(), and luxrays::sdl::PerspectiveCamera::Update().
| static int luxrays::oascii_float32 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1238 of file rply.cpp.
References luxrays::t_ply_::fp.
| static int luxrays::oascii_float64 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1243 of file rply.cpp.
References luxrays::t_ply_::fp.
| static int luxrays::oascii_int16 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1218 of file rply.cpp.
References luxrays::t_ply_::fp.
| static int luxrays::oascii_int32 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1228 of file rply.cpp.
References luxrays::t_ply_::fp.
| static int luxrays::oascii_int8 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1208 of file rply.cpp.
References luxrays::t_ply_::fp.
| static int luxrays::oascii_uint16 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1223 of file rply.cpp.
References luxrays::t_ply_::fp.
| static int luxrays::oascii_uint32 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1233 of file rply.cpp.
References luxrays::t_ply_::fp.
| static int luxrays::oascii_uint8 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1213 of file rply.cpp.
References luxrays::t_ply_::fp.
| static int luxrays::obinary_float32 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1284 of file rply.cpp.
References luxrays::t_ply_odriver_::ochunk, and luxrays::t_ply_::odriver.
| static int luxrays::obinary_float64 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1290 of file rply.cpp.
References luxrays::t_ply_odriver_::ochunk, and luxrays::t_ply_::odriver.
| static int luxrays::obinary_int16 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1260 of file rply.cpp.
References luxrays::t_ply_odriver_::ochunk, and luxrays::t_ply_::odriver.
| static int luxrays::obinary_int32 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1272 of file rply.cpp.
References luxrays::t_ply_odriver_::ochunk, and luxrays::t_ply_::odriver.
| static int luxrays::obinary_int8 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1248 of file rply.cpp.
References luxrays::t_ply_odriver_::ochunk, and luxrays::t_ply_::odriver.
| static int luxrays::obinary_uint16 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1266 of file rply.cpp.
References luxrays::t_ply_odriver_::ochunk, and luxrays::t_ply_::odriver.
| static int luxrays::obinary_uint32 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1278 of file rply.cpp.
References luxrays::t_ply_odriver_::ochunk, and luxrays::t_ply_::odriver.
| static int luxrays::obinary_uint8 | ( | p_ply | ply, | |
| double | value | |||
| ) | [static] |
Definition at line 1254 of file rply.cpp.
References luxrays::t_ply_odriver_::ochunk, and luxrays::t_ply_::odriver.
| Spectrum luxrays::operator* | ( | float | f, | |
| const Spectrum & | v | |||
| ) | [inline] |
Definition at line 130 of file utils/core/spectrum.h.
| Vector luxrays::operator* | ( | float | f, | |
| const Vector & | v | |||
| ) | [inline] |
| Point luxrays::operator* | ( | float | f, | |
| const Point & | p | |||
| ) | [inline] |
| Normal luxrays::operator* | ( | float | f, | |
| const Normal & | n | |||
| ) | [inline] |
Definition at line 109 of file normal.h.
References luxrays::Normal::x, luxrays::Normal::y, and luxrays::Normal::z.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const Transform & | t | |||
| ) |
Definition at line 33 of file transform.cpp.
References luxrays::Transform::m, and luxrays::Matrix4x4::Print().
| std::ostream & luxrays::operator<< | ( | std::ostream & | os, | |
| const Spectrum & | v | |||
| ) | [inline] |
Definition at line 125 of file utils/core/spectrum.h.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const FilterLUT & | f | |||
| ) | [inline] |
Definition at line 124 of file filter.h.
References luxrays::FilterLUT::lut, luxrays::FilterLUT::lutHeight, and luxrays::FilterLUT::lutWidth.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const Vector & | v | |||
| ) | [inline] |
Definition at line 122 of file vector.h.
References luxrays::Vector::x, luxrays::Vector::y, and luxrays::Vector::z.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const UV & | v | |||
| ) | [inline] |
Definition at line 89 of file uv.h.
References luxrays::UV::u, and luxrays::UV::v.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const Triangle & | tri | |||
| ) | [inline] |
Definition at line 122 of file triangle.h.
References luxrays::Triangle::v.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const Ray & | r | |||
| ) | [inline] |
Definition at line 62 of file ray.h.
References luxrays::Ray::d, luxrays::Ray::maxt, luxrays::Ray::mint, and luxrays::Ray::o.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const Point & | v | |||
| ) | [inline] |
Definition at line 124 of file point.h.
References luxrays::Point::x, luxrays::Point::y, and luxrays::Point::z.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const Normal & | v | |||
| ) | [inline] |
Definition at line 117 of file normal.h.
References luxrays::Normal::x, luxrays::Normal::y, and luxrays::Normal::z.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const Matrix4x4 & | m | |||
| ) | [inline] |
Definition at line 81 of file matrix4x4.h.
References luxrays::Matrix4x4::Print().
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const BSphere & | s | |||
| ) | [inline] |
Definition at line 48 of file bsphere.h.
References luxrays::BSphere::center, and luxrays::BSphere::rad.
| std::ostream& luxrays::operator<< | ( | std::ostream & | os, | |
| const BBox & | b | |||
| ) | [inline] |
Definition at line 108 of file bbox.h.
References luxrays::BBox::pMax, and luxrays::BBox::pMin.
| Transform luxrays::Orthographic | ( | float | znear, | |
| float | zfar | |||
| ) |
Definition at line 192 of file transform.cpp.
References Scale(), and Translate().
| Transform luxrays::Perspective | ( | float | fov, | |
| float | znear, | |||
| float | zfar | |||
| ) |
Definition at line 197 of file transform.cpp.
References Radians(), and Scale().
Referenced by luxrays::sdl::PerspectiveCamera::Update().
| int luxrays::ply_add_comment | ( | p_ply | ply, | |
| const char * | comment | |||
| ) |
Definition at line 480 of file rply.cpp.
References luxrays::t_ply_::comment, LINESIZE, luxrays::t_ply_::ncomments, ply_error(), and ply_grow_array().
Referenced by ply_read_header_comment().
| int luxrays::ply_add_element | ( | p_ply | ply, | |
| const char * | name, | |||
| long | ninstances | |||
| ) |
Definition at line 413 of file rply.cpp.
References luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, luxrays::t_ply_element_::name, luxrays::t_ply_element_::ninstances, ply_error(), ply_grow_element(), PLY_WRITE, and WORDSIZE.
| int luxrays::ply_add_list_property | ( | p_ply | ply, | |
| const char * | name, | |||
| e_ply_type | length_type, | |||
| e_ply_type | value_type | |||
| ) |
Definition at line 446 of file rply.cpp.
References luxrays::t_ply_::element, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, luxrays::t_ply_::nelements, ply_error(), ply_grow_property(), PLY_LIST, PLY_WRITE, and WORDSIZE.
Referenced by ply_add_property().
| int luxrays::ply_add_obj_info | ( | p_ply | ply, | |
| const char * | obj_info | |||
| ) |
Definition at line 494 of file rply.cpp.
References LINESIZE, luxrays::t_ply_::nobj_infos, luxrays::t_ply_::obj_info, ply_error(), and ply_grow_array().
Referenced by ply_read_header_obj_info().
| int luxrays::ply_add_property | ( | p_ply | ply, | |
| const char * | name, | |||
| e_ply_type | type, | |||
| e_ply_type | length_type, | |||
| e_ply_type | value_type | |||
| ) |
Definition at line 472 of file rply.cpp.
References ply_add_list_property(), ply_add_scalar_property(), and PLY_LIST.
| int luxrays::ply_add_scalar_property | ( | p_ply | ply, | |
| const char * | name, | |||
| e_ply_type | type | |||
| ) |
Definition at line 428 of file rply.cpp.
References luxrays::t_ply_::element, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, luxrays::t_ply_::nelements, ply_error(), ply_grow_property(), PLY_LIST, PLY_WRITE, and WORDSIZE.
Referenced by ply_add_property().
| static p_ply luxrays::ply_alloc | ( | void | ) | [static] |
Definition at line 1029 of file rply.cpp.
References ply_init().
Referenced by ply_create(), and ply_open().
| static e_ply_storage_mode luxrays::ply_arch_endian | ( | void | ) | [static] |
Definition at line 1178 of file rply.cpp.
References PLY_BIG_ENDIAN, and PLY_LITTLE_ENDIAN.
Referenced by ply_create(), and ply_read_header_format().
| static int luxrays::ply_check_line | ( | p_ply | ply | ) | [static] |
Definition at line 887 of file rply.cpp.
References BLINE, LINESIZE, and ply_error().
Referenced by ply_read_line().
| static int luxrays::ply_check_word | ( | p_ply | ply | ) | [static] |
Definition at line 834 of file rply.cpp.
References BLINE, ply_error(), and WORDSIZE.
Referenced by ply_read_word().
| int luxrays::ply_close | ( | p_ply | ply | ) |
Definition at line 589 of file rply.cpp.
References luxrays::t_ply_::buffer, luxrays::t_ply_::buffer_last, luxrays::t_ply_::comment, luxrays::t_ply_::element, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, luxrays::t_ply_::nelements, luxrays::t_ply_::obj_info, ply_error(), PLY_WRITE, and luxrays::t_ply_element_::property.
Referenced by luxrays::ExtTriangleMesh::LoadExtTriangleMesh().
| p_ply luxrays::ply_create | ( | const char * | name, | |
| e_ply_storage_mode | storage_mode, | |||
| p_ply_error_cb | error_cb | |||
| ) |
Definition at line 380 of file rply.cpp.
References luxrays::t_ply_::error_cb, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, luxrays::t_ply_::odriver, ply_alloc(), ply_arch_endian(), PLY_ASCII, PLY_DEFAULT, ply_error_cb(), ply_odriver_ascii, ply_odriver_binary, ply_odriver_binary_reverse, ply_type_check(), PLY_WRITE, and luxrays::t_ply_::storage_mode.
| static void luxrays::ply_element_init | ( | p_ply_element | element | ) | [static] |
Definition at line 1012 of file rply.cpp.
References luxrays::t_ply_element_::name, luxrays::t_ply_element_::ninstances, luxrays::t_ply_element_::nproperties, and luxrays::t_ply_element_::property.
Referenced by ply_grow_element().
| static void luxrays::ply_error | ( | p_ply | ply, | |
| const char * | fmt, | |||
| ... | ||||
| ) | [static] |
Definition at line 1169 of file rply.cpp.
References luxrays::t_ply_::error_cb.
Referenced by ply_add_comment(), ply_add_element(), ply_add_list_property(), ply_add_obj_info(), ply_add_scalar_property(), ply_check_line(), ply_check_word(), ply_close(), ply_grow_array(), ply_read_header(), ply_read_header_element(), ply_read_line(), ply_read_list_property(), ply_read_scalar_property(), ply_read_word(), ply_write(), and ply_write_header().
| static void luxrays::ply_error_cb | ( | const char * | message | ) | [static] |
Definition at line 1165 of file rply.cpp.
Referenced by ply_create(), and ply_open().
| static p_ply_element luxrays::ply_find_element | ( | p_ply | ply, | |
| const char * | name | |||
| ) | [static] |
Definition at line 807 of file rply.cpp.
References luxrays::t_ply_::element, and luxrays::t_ply_::nelements.
Referenced by ply_set_read_cb().
| static p_ply_property luxrays::ply_find_property | ( | p_ply_element | element, | |
| const char * | name | |||
| ) | [static] |
Definition at line 820 of file rply.cpp.
References luxrays::t_ply_element_::nproperties, and luxrays::t_ply_element_::property.
Referenced by ply_set_read_cb().
| static int luxrays::ply_find_string | ( | const char * | item, | |
| const char *const | list[] | |||
| ) | [static] |
Definition at line 799 of file rply.cpp.
Referenced by ply_read_header_format(), and ply_read_header_property().
| int luxrays::ply_get_argument_element | ( | p_ply_argument | argument, | |
| p_ply_element * | element, | |||
| long * | instance_index | |||
| ) |
Definition at line 674 of file rply.cpp.
References luxrays::t_ply_argument_::element, and luxrays::t_ply_argument_::instance_index.
Referenced by ColorCB(), FaceCB(), NormalCB(), UVCB(), and VertexCB().
| int luxrays::ply_get_argument_property | ( | p_ply_argument | argument, | |
| p_ply_property * | property, | |||
| long * | length, | |||
| long * | value_index | |||
| ) |
Definition at line 683 of file rply.cpp.
References luxrays::t_ply_argument_::length, luxrays::t_ply_argument_::property, and luxrays::t_ply_argument_::value_index.
Referenced by FaceCB().
| int luxrays::ply_get_argument_user_data | ( | p_ply_argument | argument, | |
| void ** | pdata, | |||
| long * | idata | |||
| ) |
Definition at line 693 of file rply.cpp.
References luxrays::t_ply_argument_::idata, and luxrays::t_ply_argument_::pdata.
Referenced by ColorCB(), FaceCB(), NormalCB(), UVCB(), and VertexCB().
| double luxrays::ply_get_argument_value | ( | p_ply_argument | argument | ) |
Definition at line 702 of file rply.cpp.
References luxrays::t_ply_argument_::value.
Referenced by ColorCB(), FaceCB(), NormalCB(), UVCB(), and VertexCB().
| int luxrays::ply_get_element_info | ( | p_ply_element | element, | |
| const char ** | name, | |||
| long * | ninstances | |||
| ) |
Definition at line 627 of file rply.cpp.
References luxrays::t_ply_element_::name, and luxrays::t_ply_element_::ninstances.
| const char * luxrays::ply_get_next_comment | ( | p_ply | ply, | |
| const char * | last | |||
| ) |
Definition at line 655 of file rply.cpp.
References luxrays::t_ply_::comment, LINESIZE, and luxrays::t_ply_::ncomments.
| p_ply_element luxrays::ply_get_next_element | ( | p_ply | ply, | |
| p_ply_element | last | |||
| ) |
Definition at line 618 of file rply.cpp.
References luxrays::t_ply_::element, and luxrays::t_ply_::nelements.
| const char * luxrays::ply_get_next_obj_info | ( | p_ply | ply, | |
| const char * | last | |||
| ) |
Definition at line 663 of file rply.cpp.
References LINESIZE, luxrays::t_ply_::nobj_infos, and luxrays::t_ply_::obj_info.
| p_ply_property luxrays::ply_get_next_property | ( | p_ply_element | element, | |
| p_ply_property | last | |||
| ) |
Definition at line 635 of file rply.cpp.
References luxrays::t_ply_element_::nproperties, and luxrays::t_ply_element_::property.
| int luxrays::ply_get_property_info | ( | p_ply_property | property, | |
| const char ** | name, | |||
| e_ply_type * | type, | |||
| e_ply_type * | length_type, | |||
| e_ply_type * | value_type | |||
| ) |
| static void * luxrays::ply_grow_array | ( | p_ply | ply, | |
| void ** | pointer, | |||
| long * | nmemb, | |||
| long | size | |||
| ) | [static] |
Definition at line 1036 of file rply.cpp.
References ply_error().
Referenced by ply_add_comment(), ply_add_obj_info(), ply_grow_element(), and ply_grow_property().
| static p_ply_element luxrays::ply_grow_element | ( | p_ply | ply | ) | [static] |
Definition at line 1051 of file rply.cpp.
References luxrays::t_ply_::element, luxrays::t_ply_::nelements, ply_element_init(), and ply_grow_array().
Referenced by ply_add_element(), and ply_read_header_element().
| static p_ply_property luxrays::ply_grow_property | ( | p_ply | ply, | |
| p_ply_element | element | |||
| ) | [static] |
Definition at line 1063 of file rply.cpp.
References luxrays::t_ply_element_::nproperties, ply_grow_array(), ply_property_init(), and luxrays::t_ply_element_::property.
Referenced by ply_add_list_property(), ply_add_scalar_property(), and ply_read_header_property().
| static void luxrays::ply_init | ( | p_ply | ply | ) | [static] |
Definition at line 993 of file rply.cpp.
References luxrays::t_ply_::buffer, luxrays::t_ply_::buffer_first, luxrays::t_ply_::buffer_last, luxrays::t_ply_::buffer_token, luxrays::t_ply_::c, luxrays::t_ply_::comment, luxrays::t_ply_::element, luxrays::t_ply_::idriver, luxrays::t_ply_::ncomments, luxrays::t_ply_::nelements, luxrays::t_ply_::nobj_infos, luxrays::t_ply_::obj_info, luxrays::t_ply_::odriver, luxrays::t_ply_::welement, luxrays::t_ply_::winstance_index, luxrays::t_ply_::wlength, luxrays::t_ply_::wproperty, and luxrays::t_ply_::wvalue_index.
Referenced by ply_alloc().
| p_ply luxrays::ply_open | ( | const char * | name, | |
| p_ply_error_cb | error_cb | |||
| ) |
Definition at line 289 of file rply.cpp.
References luxrays::t_ply_::error_cb, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, ply_alloc(), ply_error_cb(), PLY_READ, and ply_type_check().
Referenced by luxrays::ExtTriangleMesh::LoadExtTriangleMesh().
| static void luxrays::ply_property_init | ( | p_ply_property | property | ) | [static] |
Definition at line 1019 of file rply.cpp.
Referenced by ply_grow_property().
| int luxrays::ply_read | ( | p_ply | ply | ) |
Definition at line 362 of file rply.cpp.
References luxrays::t_ply_::argument, luxrays::t_ply_argument_::element, luxrays::t_ply_::element, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, luxrays::t_ply_::nelements, PLY_READ, and ply_read_element().
Referenced by luxrays::ExtTriangleMesh::LoadExtTriangleMesh().
| static int luxrays::ply_read_chunk | ( | p_ply | ply, | |
| void * | anybuffer, | |||
| size_t | size | |||
| ) | [static] |
Definition at line 930 of file rply.cpp.
References luxrays::t_ply_::buffer, luxrays::t_ply_::buffer_first, luxrays::t_ply_::buffer_last, BUFFERSIZE, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, and PLY_READ.
Referenced by ply_read_chunk_reverse().
| static int luxrays::ply_read_chunk_reverse | ( | p_ply | ply, | |
| void * | anybuffer, | |||
| size_t | size | |||
| ) | [static] |
Definition at line 976 of file rply.cpp.
References ply_read_chunk(), and ply_reverse().
| static int luxrays::ply_read_element | ( | p_ply | ply, | |
| p_ply_element | element, | |||
| p_ply_argument | argument | |||
| ) | [static] |
Definition at line 780 of file rply.cpp.
References luxrays::t_ply_argument_::idata, luxrays::t_ply_argument_::instance_index, luxrays::t_ply_element_::ninstances, luxrays::t_ply_element_::nproperties, luxrays::t_ply_argument_::pdata, ply_read_property(), luxrays::t_ply_argument_::property, and luxrays::t_ply_element_::property.
Referenced by ply_read().
| int luxrays::ply_read_header | ( | p_ply | ply | ) |
Definition at line 326 of file rply.cpp.
References BWORD, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, ply_error(), PLY_READ, ply_read_header_comment(), ply_read_header_element(), ply_read_header_format(), ply_read_header_obj_info(), and ply_read_word().
Referenced by luxrays::ExtTriangleMesh::LoadExtTriangleMesh().
| static int luxrays::ply_read_header_comment | ( | p_ply | ply | ) | [static] |
Definition at line 1093 of file rply.cpp.
References BLINE, BWORD, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, ply_add_comment(), PLY_READ, ply_read_line(), and ply_read_word().
Referenced by ply_read_header(), and ply_read_header_element().
| static int luxrays::ply_read_header_element | ( | p_ply | ply | ) | [static] |
Definition at line 1139 of file rply.cpp.
References BWORD, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, luxrays::t_ply_element_::name, luxrays::t_ply_element_::ninstances, ply_error(), ply_grow_element(), PLY_READ, ply_read_header_comment(), ply_read_header_obj_info(), ply_read_header_property(), and ply_read_word().
Referenced by ply_read_header().
| static int luxrays::ply_read_header_format | ( | p_ply | ply | ) | [static] |
Definition at line 1077 of file rply.cpp.
References BWORD, luxrays::t_ply_::fp, luxrays::t_ply_::idriver, luxrays::t_ply_::io_mode, ply_arch_endian(), PLY_ASCII, ply_find_string(), ply_idriver_ascii, ply_idriver_binary, ply_idriver_binary_reverse, PLY_READ, ply_read_word(), ply_storage_mode_list, and luxrays::t_ply_::storage_mode.
Referenced by ply_read_header().
| static int luxrays::ply_read_header_obj_info | ( | p_ply | ply | ) | [static] |
Definition at line 1102 of file rply.cpp.
References BLINE, BWORD, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, ply_add_obj_info(), PLY_READ, ply_read_line(), and ply_read_word().
Referenced by ply_read_header(), and ply_read_header_element().
| static int luxrays::ply_read_header_property | ( | p_ply | ply | ) | [static] |
Definition at line 1111 of file rply.cpp.
References BWORD, luxrays::t_ply_::element, luxrays::t_ply_::nelements, ply_find_string(), ply_grow_property(), PLY_LIST, ply_read_word(), and ply_type_list.
Referenced by ply_read_header_element().
| static int luxrays::ply_read_line | ( | p_ply | ply | ) | [static] |
Definition at line 895 of file rply.cpp.
References BFIRST, BREFILL(), BSIZE, BSKIP, luxrays::t_ply_::buffer, luxrays::t_ply_::buffer_first, luxrays::t_ply_::buffer_token, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, ply_check_line(), ply_error(), and PLY_READ.
Referenced by ply_read_header_comment(), and ply_read_header_obj_info().
| static int luxrays::ply_read_list_property | ( | p_ply | ply, | |
| p_ply_element | element, | |||
| p_ply_property | property, | |||
| p_ply_argument | argument | |||
| ) | [static] |
Definition at line 711 of file rply.cpp.
References luxrays::t_ply_::idriver, luxrays::t_ply_idriver_::ihandler, luxrays::t_ply_argument_::instance_index, luxrays::t_ply_argument_::length, luxrays::t_ply_element_::name, luxrays::t_ply_property_::name, ply_error(), luxrays::t_ply_argument_::value, and luxrays::t_ply_argument_::value_index.
Referenced by ply_read_property().
| static int luxrays::ply_read_property | ( | p_ply | ply, | |
| p_ply_element | element, | |||
| p_ply_property | property, | |||
| p_ply_argument | argument | |||
| ) | [static] |
Definition at line 772 of file rply.cpp.
References PLY_LIST, ply_read_list_property(), ply_read_scalar_property(), and luxrays::t_ply_property_::type.
Referenced by ply_read_element().
| static int luxrays::ply_read_scalar_property | ( | p_ply | ply, | |
| p_ply_element | element, | |||
| p_ply_property | property, | |||
| p_ply_argument | argument | |||
| ) | [static] |
Definition at line 753 of file rply.cpp.
References luxrays::t_ply_::idriver, luxrays::t_ply_idriver_::ihandler, luxrays::t_ply_argument_::instance_index, luxrays::t_ply_argument_::length, luxrays::t_ply_element_::name, luxrays::t_ply_property_::name, ply_error(), luxrays::t_ply_argument_::value, and luxrays::t_ply_argument_::value_index.
Referenced by ply_read_property().
| static int luxrays::ply_read_word | ( | p_ply | ply | ) | [static] |
Definition at line 842 of file rply.cpp.
References BFIRST, BREFILL(), BSIZE, BSKIP, luxrays::t_ply_::buffer_first, luxrays::t_ply_::buffer_token, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, ply_check_word(), ply_error(), and PLY_READ.
Referenced by iascii_float32(), iascii_float64(), iascii_int16(), iascii_int32(), iascii_int8(), iascii_uint16(), iascii_uint32(), iascii_uint8(), ply_read_header(), ply_read_header_comment(), ply_read_header_element(), ply_read_header_format(), ply_read_header_obj_info(), and ply_read_header_property().
| static void luxrays::ply_reverse | ( | void * | anydata, | |
| size_t | size | |||
| ) | [static] |
Definition at line 982 of file rply.cpp.
Referenced by ibinary_float32(), ply_read_chunk_reverse(), and ply_write_chunk_reverse().
| long luxrays::ply_set_read_cb | ( | p_ply | ply, | |
| const char * | element_name, | |||
| const char * | property_name, | |||
| p_ply_read_cb | read_cb, | |||
| void * | pdata, | |||
| long | idata | |||
| ) |
Definition at line 346 of file rply.cpp.
References luxrays::t_ply_element_::ninstances, ply_find_element(), and ply_find_property().
Referenced by luxrays::ExtTriangleMesh::LoadExtTriangleMesh().
| static int luxrays::ply_type_check | ( | void | ) | [static] |
Definition at line 1185 of file rply.cpp.
Referenced by ply_create(), and ply_open().
| int luxrays::ply_write | ( | p_ply | ply, | |
| double | value | |||
| ) |
Definition at line 547 of file rply.cpp.
References luxrays::t_ply_::element, luxrays::t_ply_::fp, luxrays::t_ply_property_::length_type, luxrays::t_ply_odriver_::name, luxrays::t_ply_element_::name, luxrays::t_ply_::nelements, luxrays::t_ply_element_::ninstances, luxrays::t_ply_element_::nproperties, luxrays::t_ply_::odriver, luxrays::t_ply_odriver_::ohandler, PLY_ASCII, ply_error(), PLY_LIST, ply_type_list, luxrays::t_ply_element_::property, luxrays::t_ply_::storage_mode, luxrays::t_ply_::welement, luxrays::t_ply_::winstance_index, luxrays::t_ply_::wlength, luxrays::t_ply_::wproperty, and luxrays::t_ply_::wvalue_index.
| static int luxrays::ply_write_chunk | ( | p_ply | ply, | |
| void * | anybuffer, | |||
| size_t | size | |||
| ) | [static] |
Definition at line 949 of file rply.cpp.
References luxrays::t_ply_::buffer, luxrays::t_ply_::buffer_last, BUFFERSIZE, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, and PLY_WRITE.
Referenced by ply_write_chunk_reverse().
| static int luxrays::ply_write_chunk_reverse | ( | p_ply | ply, | |
| void * | anybuffer, | |||
| size_t | size | |||
| ) | [static] |
Definition at line 968 of file rply.cpp.
References ply_reverse(), and ply_write_chunk().
| int luxrays::ply_write_header | ( | p_ply | ply | ) |
Definition at line 508 of file rply.cpp.
References luxrays::t_ply_::comment, luxrays::t_ply_::element, luxrays::t_ply_::fp, luxrays::t_ply_::io_mode, LINESIZE, luxrays::t_ply_element_::name, luxrays::t_ply_::ncomments, luxrays::t_ply_::nelements, luxrays::t_ply_element_::ninstances, luxrays::t_ply_::nobj_infos, luxrays::t_ply_element_::nproperties, luxrays::t_ply_::obj_info, ply_error(), PLY_LIST, ply_storage_mode_list, ply_type_list, PLY_WRITE, luxrays::t_ply_element_::property, and luxrays::t_ply_::storage_mode.
| float luxrays::Radians | ( | float | deg | ) | [inline] |
| Transform luxrays::Rotate | ( | float | angle, | |
| const Vector & | axis | |||
| ) |
Definition at line 92 of file transform.cpp.
References Normalize(), Radians(), luxrays::Matrix4x4::Transpose(), luxrays::Vector::x, luxrays::Vector::y, and luxrays::Vector::z.
| Transform luxrays::RotateX | ( | float | angle | ) |
Definition at line 62 of file transform.cpp.
References Radians(), and luxrays::Matrix4x4::Transpose().
| Transform luxrays::RotateY | ( | float | angle | ) |
Definition at line 72 of file transform.cpp.
References Radians(), and luxrays::Matrix4x4::Transpose().
| Transform luxrays::RotateZ | ( | float | angle | ) |
Definition at line 82 of file transform.cpp.
References Radians(), and luxrays::Matrix4x4::Transpose().
| T luxrays::RoundUp | ( | const T | a, | |
| const T | b | |||
| ) | [inline] |
| bool luxrays::SameHemisphere | ( | const Vector & | w, | |
| const Vector & | wp | |||
| ) | [inline] |
Definition at line 199 of file vector.h.
References luxrays::Vector::z.
| Transform luxrays::Scale | ( | float | x, | |
| float | y, | |||
| float | z | |||
| ) |
Definition at line 50 of file transform.cpp.
Referenced by Orthographic(), Perspective(), and luxrays::sdl::PerspectiveCamera::Update().
| bool luxrays::SetThreadRRPriority | ( | boost::thread * | thread, | |
| int | pri = 0 | |||
| ) | [inline] |
Definition at line 228 of file utils.h.
Referenced by luxrays::OpenCLIntersectionDevice::Start().
| void luxrays::Shuffle | ( | T * | samp, | |
| size_t | count, | |||
| size_t | dims, | |||
| RandomGenerator & | rng | |||
| ) | [inline] |
Definition at line 169 of file randomgen.h.
References Swap(), and luxrays::RandomGenerator::uintValue().
| float luxrays::SinPhi | ( | const Vector & | w | ) | [inline] |
Definition at line 195 of file vector.h.
References SinTheta(), and luxrays::Vector::y.
| float luxrays::SinTheta | ( | const Vector & | w | ) | [inline] |
| float luxrays::SinTheta2 | ( | const Vector & | w | ) | [inline] |
Definition at line 187 of file vector.h.
References CosTheta().
| Vector luxrays::SphericalDirection | ( | float | sintheta, | |
| float | costheta, | |||
| float | phi, | |||
| const Vector & | x, | |||
| const Vector & | y, | |||
| const Vector & | z | |||
| ) | [inline] |
| Vector luxrays::SphericalDirection | ( | float | sintheta, | |
| float | costheta, | |||
| float | phi | |||
| ) | [inline] |
Definition at line 160 of file vector.h.
Referenced by luxrays::sdl::LatLongMappingMap(), and luxrays::sdl::InfiniteLightIS::Sample_L().
| float luxrays::SphericalPhi | ( | const Vector & | v | ) | [inline] |
Definition at line 174 of file vector.h.
References luxrays::Vector::x, and luxrays::Vector::y.
Referenced by luxrays::sdl::SunLight::Init(), luxrays::sdl::SkyLight::Init(), luxrays::sdl::InfiniteLight::Le(), and luxrays::sdl::SkyLight::Le().
| float luxrays::SphericalTheta | ( | const Vector & | v | ) | [inline] |
Definition at line 170 of file vector.h.
References Clamp(), and luxrays::Vector::z.
Referenced by luxrays::sdl::SunLight::Init(), luxrays::sdl::SkyLight::Init(), luxrays::sdl::InfiniteLight::Le(), and luxrays::sdl::SkyLight::Le().
| void luxrays::StringTrim | ( | std::string & | str | ) | [inline] |
Definition at line 219 of file utils.h.
Referenced by luxrays::Properties::LoadFile(), and luxrays::Properties::SetString().
| void luxrays::Swap | ( | T & | a, | |
| T & | b | |||
| ) | [inline] |
Definition at line 114 of file utils.h.
Referenced by luxrays::BBox::IntersectP(), luxrays::Matrix4x4::Inverse(), and Shuffle().
| std::string luxrays::ToString | ( | const T & | t | ) | [inline] |
| void luxrays::TransformAccordingNormal | ( | const Normal & | nn, | |
| const Vector & | woL, | |||
| Vector * | woW | |||
| ) |
Definition at line 177 of file transform.cpp.
References Cross(), luxrays::Normal::x, luxrays::Vector::x, luxrays::Normal::y, luxrays::Vector::y, luxrays::Vector::z, and luxrays::Normal::z.
| Transform luxrays::Translate | ( | const Vector & | delta | ) |
Definition at line 38 of file transform.cpp.
References luxrays::Vector::x, luxrays::Vector::y, and luxrays::Vector::z.
Referenced by Orthographic().
| unsigned int luxrays::UIntLog2 | ( | unsigned int | value | ) | [inline] |
Definition at line 213 of file utils.h.
Referenced by luxrays::QuadTriangle::Intersect().
| void luxrays::UniformSampleTriangle | ( | const float | u0, | |
| const float | u1, | |||
| float * | u, | |||
| float * | v | |||
| ) | [inline] |
Definition at line 30 of file triangle.h.
Referenced by luxrays::Triangle::Sample().
| BBox luxrays::Union | ( | const BBox & | b, | |
| const BBox & | b2 | |||
| ) |
Definition at line 39 of file bbox.cpp.
References Max(), Min(), luxrays::BBox::pMax, luxrays::BBox::pMin, luxrays::Point::x, luxrays::Point::y, and luxrays::Point::z.
| BBox luxrays::Union | ( | const BBox & | b, | |
| const Point & | p | |||
| ) |
Definition at line 28 of file bbox.cpp.
References Max(), Min(), luxrays::BBox::pMax, luxrays::BBox::pMin, luxrays::Point::x, luxrays::Point::y, and luxrays::Point::z.
Referenced by luxrays::DataSet::Add(), luxrays::BVHAccel::BuildHierarchy(), luxrays::QBVHAccel::BuildTree(), luxrays::MQBVHAccel::BuildTree(), luxrays::BVHAccel::FindBestSplit(), luxrays::TriangleMesh::GetBBox(), luxrays::ExtTriangleMesh::GetBBox(), luxrays::QBVHAccel::Init(), luxrays::Transform::operator()(), luxrays::MQBVHAccel::Update(), luxrays::Triangle::WorldBound(), and luxrays::QuadTriangle::WorldBound().
| double luxrays::WallClockTime | ( | ) | [inline] |
Definition at line 89 of file utils.h.
Referenced by luxrays::NativePixelDevice::AddSampleBuffer(), luxrays::IntersectionDevice::GetPerformance(), luxrays::utils::Film::GetTotalTime(), luxrays::MQBVHAccel::Init(), luxrays::utils::Film::Init(), luxrays::NativeThreadIntersectionDevice::Intersect(), luxrays::OpenCLIntersectionDevice::IntersectionThread(), luxrays::utils::Film::Reset(), luxrays::sdl::Scene::Scene(), luxrays::IntersectionDevice::Start(), and luxrays::utils::Film::StartSampleTime().
const float luxrays::invUI = (1.f / (FLOATMASK + 1UL)) [static] |
Definition at line 36 of file randomgen.h.
Referenced by luxrays::TauswortheRandomGenerator::floatValue(), and luxrays::RandomGenerator::floatValue().
| std::string luxrays::KernelSource_BVH |
Definition at line 2 of file bvh_kernel.cpp.
Referenced by luxrays::OpenCLIntersectionDevice::SetDataSet().
| std::string luxrays::KernelSource_MQBVH |
Definition at line 2 of file mqbvh_kernel.cpp.
Referenced by luxrays::OpenCLIntersectionDevice::SetDataSet().
| std::string luxrays::KernelSource_Pixel_AddSampleBuffer |
Definition at line 2 of file pixel_addsamplebuffer_kernel.cpp.
Referenced by luxrays::OpenCLPixelDevice::OpenCLPixelDevice().
Definition at line 2 of file pixel_addsamplebuffergaussian2x2_kernel.cpp.
Referenced by luxrays::OpenCLPixelDevice::OpenCLPixelDevice().
Definition at line 2 of file pixel_addsamplebufferpreview_kernel.cpp.
Referenced by luxrays::OpenCLPixelDevice::OpenCLPixelDevice().
| std::string luxrays::KernelSource_Pixel_ClearFB |
Definition at line 2 of file pixel_clearfb_kernel.cpp.
Referenced by luxrays::OpenCLPixelDevice::OpenCLPixelDevice().
| std::string luxrays::KernelSource_Pixel_ClearSampleFB |
Definition at line 2 of file pixel_clearsamplefb_kernel.cpp.
Referenced by luxrays::OpenCLPixelDevice::OpenCLPixelDevice().
| std::string luxrays::KernelSource_Pixel_UpdateFrameBuffer |
Definition at line 2 of file pixel_updateframebuffer_kernel.cpp.
Referenced by luxrays::OpenCLPixelDevice::OpenCLPixelDevice().
| std::string luxrays::KernelSource_QBVH |
Definition at line 2 of file qbvh_kernel.cpp.
Referenced by luxrays::OpenCLIntersectionDevice::SetDataSet().
{
{ iascii_int8, iascii_uint8, iascii_int16, iascii_uint16,
iascii_int32, iascii_uint32, iascii_float32, iascii_float64,
iascii_int8, iascii_uint8, iascii_int16, iascii_uint16,
iascii_int32, iascii_uint32, iascii_float32, iascii_float64
},
NULL,
"ascii input"
}
Definition at line 1418 of file rply.cpp.
Referenced by ply_read_header_format().
{
{ ibinary_int8, ibinary_uint8, ibinary_int16, ibinary_uint16,
ibinary_int32, ibinary_uint32, ibinary_float32, ibinary_float64,
ibinary_int8, ibinary_uint8, ibinary_int16, ibinary_uint16,
ibinary_int32, ibinary_uint32, ibinary_float32, ibinary_float64
},
ply_read_chunk,
"binary input"
}
Definition at line 1428 of file rply.cpp.
Referenced by ply_read_header_format().
{
{ ibinary_int8, ibinary_uint8, ibinary_int16, ibinary_uint16,
ibinary_int32, ibinary_uint32, ibinary_float32, ibinary_float64,
ibinary_int8, ibinary_uint8, ibinary_int16, ibinary_uint16,
ibinary_int32, ibinary_uint32, ibinary_float32, ibinary_float64
},
ply_read_chunk_reverse,
"reverse binary input"
}
Definition at line 1438 of file rply.cpp.
Referenced by ply_read_header_format().
{
{ oascii_int8, oascii_uint8, oascii_int16, oascii_uint16,
oascii_int32, oascii_uint32, oascii_float32, oascii_float64,
oascii_int8, oascii_uint8, oascii_int16, oascii_uint16,
oascii_int32, oascii_uint32, oascii_float32, oascii_float64
},
NULL,
"ascii output"
}
Definition at line 1448 of file rply.cpp.
Referenced by ply_create().
{
{ obinary_int8, obinary_uint8, obinary_int16, obinary_uint16,
obinary_int32, obinary_uint32, obinary_float32, obinary_float64,
obinary_int8, obinary_uint8, obinary_int16, obinary_uint16,
obinary_int32, obinary_uint32, obinary_float32, obinary_float64
},
ply_write_chunk,
"binary output"
}
Definition at line 1458 of file rply.cpp.
Referenced by ply_create().
{
{ obinary_int8, obinary_uint8, obinary_int16, obinary_uint16,
obinary_int32, obinary_uint32, obinary_float32, obinary_float64,
obinary_int8, obinary_uint8, obinary_int16, obinary_uint16,
obinary_int32, obinary_uint32, obinary_float32, obinary_float64
},
ply_write_chunk_reverse,
"reverse binary output"
}
Definition at line 1468 of file rply.cpp.
Referenced by ply_create().
const char* const luxrays::ply_storage_mode_list[] [static] |
{
"binary_big_endian", "binary_little_endian", "ascii", NULL
}
Definition at line 35 of file rply.cpp.
Referenced by ply_read_header_format(), and ply_write_header().
const char* const luxrays::ply_type_list[] [static] |
{
"int8", "uint8", "int16", "uint16",
"int32", "uint32", "float32", "float64",
"char", "uchar", "short", "ushort",
"int", "uint", "float", "double",
"list", NULL
}
Definition at line 39 of file rply.cpp.
Referenced by ply_read_header_property(), ply_write(), and ply_write_header().
| float luxrays::RAY_EPSILON = 1e-4f |
Definition at line 26 of file ray.cpp.
Referenced by luxrays::sdl::PerspectiveCamera::GenerateRay(), luxrays::QBVHAccel::Init(), luxrays::BVHAccel::Init(), luxrays::Ray::Ray(), luxrays::sdl::TriangleLight::Sample_L(), luxrays::sdl::InfiniteLightIS::Sample_L(), luxrays::sdl::InfiniteLightPortal::Sample_L(), and luxrays::MQBVHAccel::Update().
1.6.3