bxdf.h File Reference

#include "lux.h"
#include "geometry.h"
#include "shape.h"
#include "spectrum.h"
#include "memory.h"

Go to the source code of this file.

Classes

class  lux::BSDF
class  lux::BxDF
class  lux::BRDFToBTDF

Namespaces

namespace  lux

Defines

#define MAX_BxDFS   8
#define BSDF_ALLOC(T)   new (BSDF::Alloc(sizeof(T))) T

Enumerations

enum  lux::BxDFType {
  lux::BSDF_REFLECTION = 1<<0, lux::BSDF_TRANSMISSION = 1<<1, lux::BSDF_DIFFUSE = 1<<2, lux::BSDF_GLOSSY = 1<<3,
  lux::BSDF_SPECULAR = 1<<4, lux::BSDF_ALL_TYPES, lux::BSDF_ALL_REFLECTION, lux::BSDF_ALL_TRANSMISSION,
  lux::BSDF_ALL
}

Functions

float lux::CosTheta (const Vector &w)
float lux::SinTheta (const Vector &w)
float lux::SinTheta2 (const Vector &w)
float lux::CosPhi (const Vector &w)
float lux::SinPhi (const Vector &w)
bool lux::SameHemisphere (const Vector &w, const Vector &wp)

Define Documentation

#define BSDF_ALLOC (  )     new (BSDF::Alloc(sizeof(T))) T
#define MAX_BxDFS   8

Definition at line 121 of file bxdf.h.

Referenced by lux::BSDF::Add().


Generated on 22 Jan 2010 for lux by  doxygen 1.6.1