Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::LightContext Class Reference

#include <LightContext.h>

Inherited by StaticLightContext.

Public Member Functions

 LightContext (const LightContext *lcontext)
 
virtual LightContextclone ()
 
Scenescene () const
 
void set_scene (Scene *s)
 
LightOplight () const
 
void set_light (LightOp *l)
 
Renderdepthmap () const
 
void set_depthmap (Render *r)
 
void set_transforms (MatrixArray *m, MatrixArray *mb=nullptr)
 
MatrixArraytransforms () const
 
const Matrix4matrix (int n) const
 
const Matrix4inverse_matrix (int n) const
 
MatrixArraymb_transforms () const
 
const Matrix4mb_matrix (int n) const
 
const Matrix4mb_inverse_matrix (int n) const
 
void setWorldMatrix (const Matrix4 &m)
 
const Matrix4vectors () const
 
const Vector3 x () const
 
const Vector3 y () const
 
const Vector3 z () const
 
const Vector3 p () const
 

Friends

class Scene
 
class Render
 

Detailed Description

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.

Member Function Documentation

◆ clone()

virtual LightContext * DD::Image::LightContext::clone ( )
inlinevirtual

It's required that any class inheriting from LightContext * MUST * override the clone method



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com