OpenVDB  2.1.0
Public Types | Public Member Functions | List of all members
MatteShader Class Reference

Shader that produces a simple matte. More...

#include <RayTracer.h>

Inherits BaseShader.

Public Types

typedef math::Ray< RealRayT
 

Public Member Functions

 MatteShader (const Film::RGBA &c=Film::RGBA(1.0f))
 
virtual ~MatteShader ()
 
virtual Film::RGBA operator() (const Vec3R &, const Vec3R &, const Vec3R &) const
 Defines the interface of the virtual function that returns a RGB color. More...
 
virtual BaseShadercopy () const
 
OPENVDB_DEPRECATED Film::RGBA operator() (const Vec3R &xyz, const Vec3R &nml, const RayT &ray) const
 Deprecated, use the method above instead. More...
 

Detailed Description

Shader that produces a simple matte.

Member Typedef Documentation

typedef math::Ray<Real> RayT
inherited

Constructor & Destructor Documentation

MatteShader ( const Film::RGBA c = Film::RGBA(1.0f))
inline
virtual ~MatteShader ( )
inlinevirtual

Member Function Documentation

virtual BaseShader* copy ( ) const
inlinevirtual

Implements BaseShader.

OPENVDB_DEPRECATED Film::RGBA operator() ( const Vec3R xyz,
const Vec3R nml,
const RayT ray 
) const
inlineinherited

Deprecated, use the method above instead.

virtual Film::RGBA operator() ( const Vec3R xyz,
const Vec3R nml,
const Vec3R dir 
) const
inlinevirtual

Defines the interface of the virtual function that returns a RGB color.

Parameters
xyzWorld position of the intersection point.
nmlNormal in world space at the intersection point.
dirDirection of the ray in world space.

Implements BaseShader.


The documentation for this class was generated from the following file: