OpenVDB  2.0.0
Public Types | Public Member Functions | List of all members
NormalShader Class Reference

Color shader that treats the surface normal (x, y, z) as an RGB color. More...

#include <RayTracer.h>

Inherits BaseShader.

Public Types

typedef math::Ray< Real > RayT
 

Public Member Functions

 NormalShader (const Film::RGBA &c=Film::RGBA(1.0f))
 
virtual ~NormalShader ()
 
virtual Film::RGBA operator() (const Vec3R &, const Vec3R &normal, const BaseShader::RayT &) const
 
virtual BaseShader * copy () const
 

Detailed Description

Color shader that treats the surface normal (x, y, z) as an RGB color.

Member Typedef Documentation

typedef math::Ray<Real> RayT
inherited

Constructor & Destructor Documentation

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

Member Function Documentation

virtual BaseShader* copy ( ) const
inlinevirtual

Implements BaseShader.

virtual Film::RGBA operator() ( const Vec3R &  ,
const Vec3R &  normal,
const BaseShader::RayT &   
) const
inlinevirtual

Implements BaseShader.


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