de.grogra.ray2
Interface Options

All Known Implementing Classes:
AvoidIntersection, FluxRenderer, LightModel, Raytracer, Scanner

public interface Options

This simple interface is used to provide configuration options for raytracing algorithms, e.g., a Renderer or a light model.

Author:
Ole Kniemeyer

Method Summary
 java.lang.Object get(java.lang.String key, java.lang.Object defaultValue)
          Returns the option value for the option identified by key.
 

Method Detail

get

java.lang.Object get(java.lang.String key,
                     java.lang.Object defaultValue)
Returns the option value for the option identified by key. If no special value for the option is defined, defaultValue is returned.

Parameters:
key - identifier for option
defaultValue - default value of option
Returns:
value of option named key