shader
Class EmissionShaderOp

java.lang.Object
  extended by shader.EmissionShaderOp
All Implemented Interfaces:
IShaderOp

public class EmissionShaderOp
extends java.lang.Object
implements IShaderOp


Constructor Summary
EmissionShaderOp()
           
 
Method Summary
 void performOperation(IntersectionInfo intersection, RayState rs, RGBColor color, ScatteredRayContainer raycon, Scene scene)
          computes the color
 boolean requireSPF()
          does the shader op needs the SPF
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmissionShaderOp

public EmissionShaderOp()
Method Detail

performOperation

public void performOperation(IntersectionInfo intersection,
                             RayState rs,
                             RGBColor color,
                             ScatteredRayContainer raycon,
                             Scene scene)
Description copied from interface: IShaderOp
computes the color

Specified by:
performOperation in interface IShaderOp
Parameters:
intersection - [in] intersection info
rs - [in] actual state of the ray
color - [out] color of the intersection
raycon - [in/out] the ray container
scene - [in]

requireSPF

public boolean requireSPF()
Description copied from interface: IShaderOp
does the shader op needs the SPF

Specified by:
requireSPF in interface IShaderOp
Returns:
true if it needs spf