Inherited by StaticLightContext.
Public Member Functions | |
LightContext (const LightContext *lcontext) | |
virtual LightContext * | clone () |
Scene * | scene () const |
void | set_scene (Scene *s) |
LightOp * | light () const |
void | set_light (LightOp *l) |
Render * | depthmap () const |
void | set_depthmap (Render *r) |
void | set_transforms (MatrixArray *m, MatrixArray *mb=0) |
MatrixArray * | transforms () const |
const Matrix4 & | matrix (int n) const |
const Matrix4 & | inverse_matrix (int n) const |
MatrixArray * | mb_transforms () const |
const Matrix4 & | mb_matrix (int n) const |
const Matrix4 & | mb_inverse_matrix (int n) const |
void | setWorldMatrix (const Matrix4 &m) |
const Axis & | vectors () const |
const Vector3 & | x () const |
const Vector3 & | y () const |
const Vector3 & | z () const |
const Vector3 & | p () const |
Friends | |
class | Scene |
class | Render |
A context structure to reference environmental and transform information for the Light during rendering. Contains a MatrixArray for the light's transforms and an Axis object which contain transformed Eigen vectors for fast vector comparison. The MatrixArray's camera and projection matrices can be used for depth-buffer projections.
virtual LightContext* DD::Image::LightContext::clone | ( | ) | [inline, virtual] |
It's required that any class inheriting from LightContext * MUST * override the clone method