luxrays Namespace Reference

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_idriverp_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_odriverp_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 >
Clamp (T val, T low, T high)
template<class T >
Max (T a, T b)
template<class T >
Min (T a, T b)
template<class T >
void Swap (T &a, T &b)
template<class 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 >
RoundUp (const T a, const T b)
template<class 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

Detailed Description

The LuxRays core classes are defined within this namespace.


Typedef Documentation

typedef void(* luxrays::LuxRaysDebugHandler)(const char *msg)

Definition at line 49 of file context.h.

typedef struct t_ply_* luxrays::p_ply

Definition at line 23 of file rply.h.

Definition at line 26 of file rply.h.

Definition at line 24 of file rply.h.

typedef void(* luxrays::p_ply_error_cb)(const char *message)

Definition at line 50 of file rply.h.

typedef int(* luxrays::p_ply_ichunk)(p_ply ply, void *anydata, size_t size)

Definition at line 114 of file rply.cpp.

Definition at line 120 of file rply.cpp.

typedef int(* luxrays::p_ply_ihandler)(p_ply ply, double *value)

Definition at line 113 of file rply.cpp.

typedef int(* luxrays::p_ply_ochunk)(p_ply ply, void *anydata, size_t size)

Definition at line 123 of file rply.cpp.

Definition at line 129 of file rply.cpp.

typedef int(* luxrays::p_ply_ohandler)(p_ply ply, double value)

Definition at line 122 of file rply.cpp.

Definition at line 25 of file rply.h.

typedef int(* luxrays::p_ply_read_cb)(p_ply_argument argument)

Definition at line 78 of file rply.h.

Definition at line 120 of file framebuffer.h.

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.


Enumeration Type Documentation

Enumerator:
ACCEL_BVH 
ACCEL_QBVH 
ACCEL_MQBVH 

Definition at line 30 of file acceleretor.h.

Enumerator:
DEVICE_TYPE_ALL 
DEVICE_TYPE_OPENCL 
DEVICE_TYPE_NATIVE_THREAD 
DEVICE_TYPE_VIRTUAL 

Definition at line 37 of file device.h.

Enumerator:
PLY_READ 
PLY_WRITE 

Definition at line 30 of file rply.cpp.

Enumerator:
PLY_BIG_ENDIAN 
PLY_LITTLE_ENDIAN 
PLY_ASCII 
PLY_DEFAULT 

Definition at line 29 of file rply.h.

Enumerator:
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 

Definition at line 37 of file rply.h.

Enumerator:
FILTER_NONE 
FILTER_PREVIEW 
FILTER_GAUSSIAN 

Definition at line 85 of file pixeldevice.h.

Enumerator:
TYPE_TRIANGLE 
TYPE_TRIANGLE_INSTANCE 
TYPE_EXT_TRIANGLE 
TYPE_EXT_TRIANGLE_INSTANCE 

Definition at line 36 of file trianglemesh.h.

Enumerator:
OCL_DEVICE_TYPE_ALL 
OCL_DEVICE_TYPE_DEFAULT 
OCL_DEVICE_TYPE_CPU 
OCL_DEVICE_TYPE_GPU 
OCL_DEVICE_TYPE_UNKNOWN 

Definition at line 115 of file device.h.

Enumerator:
TONEMAP_LINEAR 
TONEMAP_REINHARD02 

Definition at line 38 of file pixeldevice.h.


Function Documentation

float luxrays::AbsDot ( const Normal &  n1,
const Vector &  v2 
) [inline]
float luxrays::AbsDot ( const Vector &  v1,
const Normal &  n2 
) [inline]
float luxrays::AbsDot ( const Vector &  v1,
const Vector &  v2 
) [inline]

Definition at line 135 of file vector.h.

References Dot().

float luxrays::AbsDot ( const Normal &  n1,
const Normal &  n2 
) [inline]
template<class T >
T* luxrays::AllocAligned ( size_t  size,
std::size_t  N = L1_CACHE_LINE_SIZE 
) [inline]

Definition at line 264 of file utils.h.

void luxrays::AtomicAdd ( unsigned int *  val,
const unsigned int  delta 
) [inline]

Definition at line 49 of file atomic.h.

void luxrays::AtomicAdd ( float *  val,
const float  delta 
) [inline]

Definition at line 30 of file atomic.h.

void luxrays::AtomicInc ( unsigned int *  val  )  [inline]

Definition at line 64 of file atomic.h.

static int luxrays::BREFILL ( p_ply  ply  )  [static]
int luxrays::Ceil2Int ( float  val  )  [inline]

Definition at line 175 of file utils.h.

int luxrays::Ceil2Int ( double  val  )  [inline]
unsigned int luxrays::Ceil2UInt ( float  val  )  [inline]

Definition at line 183 of file utils.h.

unsigned int luxrays::Ceil2UInt ( double  val  )  [inline]

Definition at line 179 of file utils.h.

template<class T >
T luxrays::Clamp ( val,
low,
high 
) [inline]
void luxrays::CoordinateSystem ( const Vector &  v1,
Vector *  v2,
Vector *  v3 
) [inline]
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]

Definition at line 179 of file vector.h.

References luxrays::Vector::z.

Referenced by SinTheta2().

Vector luxrays::Cross ( const Normal &  v1,
const Vector &  v2 
) [inline]
Vector luxrays::Cross ( const Vector &  v1,
const Normal &  v2 
) [inline]
Vector luxrays::Cross ( const Vector &  v1,
const Vector &  v2 
) [inline]
float luxrays::Degrees ( float  rad  )  [inline]

Definition at line 135 of file utils.h.

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]

Definition at line 137 of file point.h.

float luxrays::Dot ( const Vector &  v1,
const Normal &  n2 
) [inline]
float luxrays::Dot ( const Normal &  n1,
const Vector &  v2 
) [inline]
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]
Spectrum luxrays::Exp ( const Spectrum &  s  )  [inline]

Definition at line 134 of file utils/core/spectrum.h.

template<class T >
int luxrays::Float2Int ( val  )  [inline]

Definition at line 147 of file utils.h.

template<class T >
unsigned int luxrays::Float2UInt ( val  )  [inline]

Definition at line 151 of file utils.h.

int luxrays::Floor2Int ( float  val  )  [inline]

Definition at line 159 of file utils.h.

int luxrays::Floor2Int ( double  val  )  [inline]
unsigned int luxrays::Floor2UInt ( float  val  )  [inline]

Definition at line 167 of file utils.h.

unsigned int luxrays::Floor2UInt ( double  val  )  [inline]
template<class T >
void luxrays::FreeAligned ( T *  ptr  )  [inline]
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]
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 
)
template<class T >
T luxrays::Max ( a,
b 
) [inline]
template<class T >
T luxrays::Min ( a,
b 
) [inline]
template<class T >
T luxrays::Mod ( a,
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]
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]

Definition at line 127 of file vector.h.

UV luxrays::operator* ( float  f,
const UV &  p 
) [inline]

Definition at line 94 of file uv.h.

Point luxrays::operator* ( float  f,
const Point &  p 
) [inline]

Definition at line 129 of file point.h.

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]
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 
)
int luxrays::ply_add_element ( p_ply  ply,
const char *  name,
long  ninstances 
)
int luxrays::ply_add_list_property ( p_ply  ply,
const char *  name,
e_ply_type  length_type,
e_ply_type  value_type 
)
int luxrays::ply_add_obj_info ( p_ply  ply,
const char *  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 
)
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  ) 
p_ply luxrays::ply_create ( const char *  name,
e_ply_storage_mode  storage_mode,
p_ply_error_cb  error_cb 
)
static void luxrays::ply_element_init ( p_ply_element  element  )  [static]
static void luxrays::ply_error ( p_ply  ply,
const char *  fmt,
  ... 
) [static]
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 
)
int luxrays::ply_get_argument_property ( p_ply_argument  argument,
p_ply_property *  property,
long *  length,
long *  value_index 
)
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 
)
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 
)

Definition at line 644 of file rply.cpp.

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]
static p_ply_property luxrays::ply_grow_property ( p_ply  ply,
p_ply_element  element 
) [static]
static void luxrays::ply_init ( p_ply  ply  )  [static]
p_ply luxrays::ply_open ( const char *  name,
p_ply_error_cb  error_cb 
)
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  ) 
static int luxrays::ply_read_chunk ( p_ply  ply,
void *  anybuffer,
size_t  size 
) [static]
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]
int luxrays::ply_read_header ( p_ply  ply  ) 
static int luxrays::ply_read_header_comment ( p_ply  ply  )  [static]
static int luxrays::ply_read_header_element ( p_ply  ply  )  [static]
static int luxrays::ply_read_header_format ( p_ply  ply  )  [static]
static int luxrays::ply_read_header_obj_info ( p_ply  ply  )  [static]
static int luxrays::ply_read_header_property ( p_ply  ply  )  [static]
static int luxrays::ply_read_line ( p_ply  ply  )  [static]
static int luxrays::ply_read_list_property ( p_ply  ply,
p_ply_element  element,
p_ply_property  property,
p_ply_argument  argument 
) [static]
static int luxrays::ply_read_property ( p_ply  ply,
p_ply_element  element,
p_ply_property  property,
p_ply_argument  argument 
) [static]
static int luxrays::ply_read_scalar_property ( p_ply  ply,
p_ply_element  element,
p_ply_property  property,
p_ply_argument  argument 
) [static]
static int luxrays::ply_read_word ( p_ply  ply  )  [static]
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 
)
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 
)
static int luxrays::ply_write_chunk ( p_ply  ply,
void *  anybuffer,
size_t  size 
) [static]
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  ) 
float luxrays::Radians ( float  deg  )  [inline]

Definition at line 131 of file utils.h.

Referenced by Perspective(), Rotate(), RotateX(), RotateY(), and RotateZ().

Transform luxrays::Rotate ( float  angle,
const Vector &  axis 
)
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().

template<class T >
T luxrays::RoundUp ( const T  a,
const T  b 
) [inline]

Definition at line 193 of file utils.h.

template<class T >
T luxrays::RoundUpPow2 ( v  )  [inline]

Definition at line 201 of file utils.h.

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 
)
bool luxrays::SetThreadRRPriority ( boost::thread *  thread,
int  pri = 0 
) [inline]

Definition at line 228 of file utils.h.

Referenced by luxrays::OpenCLIntersectionDevice::Start().

int luxrays::Sgn ( int  a  )  [inline]

Definition at line 143 of file utils.h.

float luxrays::Sgn ( float  a  )  [inline]

Definition at line 139 of file utils.h.

template<typename T >
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]

Definition at line 183 of file vector.h.

References Max(), and luxrays::Vector::z.

Referenced by CosPhi(), and SinPhi().

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]

Definition at line 164 of file vector.h.

Vector luxrays::SphericalDirection ( float  sintheta,
float  costheta,
float  phi 
) [inline]
float luxrays::SphericalPhi ( const Vector &  v  )  [inline]
float luxrays::SphericalTheta ( const Vector &  v  )  [inline]
void luxrays::StringTrim ( std::string &  str  )  [inline]

Definition at line 219 of file utils.h.

Referenced by luxrays::Properties::LoadFile(), and luxrays::Properties::SetString().

template<class T >
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().

template<class T >
std::string luxrays::ToString ( const T &  t  )  [inline]

Definition at line 187 of file utils.h.

void luxrays::TransformAccordingNormal ( const Normal &  nn,
const Vector &  woL,
Vector *  woW 
)
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 
)
BBox luxrays::Union ( const BBox &  b,
const Point &  p 
)
double luxrays::WallClockTime (  )  [inline]

Variable Documentation

const float luxrays::invUI = (1.f / (FLOATMASK + 1UL)) [static]

Definition at line 2 of file bvh_kernel.cpp.

Referenced by luxrays::OpenCLIntersectionDevice::SetDataSet().

Definition at line 2 of file mqbvh_kernel.cpp.

Referenced by luxrays::OpenCLIntersectionDevice::SetDataSet().

Definition at line 2 of file qbvh_kernel.cpp.

Referenced by luxrays::OpenCLIntersectionDevice::SetDataSet().

Initial value:
 {
    {   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().

Initial value:
 {
    {   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().

Initial value:
 {
    {   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().

Initial value:
 {
    {   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().

Initial value:
 {
    {   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().

Initial value:
 {
    {   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]
Initial value:
 {
    "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]
Initial value:
 {
    "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
Generated on Sat Aug 21 14:06:20 2010 for LuxRays by  doxygen 1.6.3