Module raytracer

Interface Options

All Known Implementing Classes:
AvoidIntersection, FluxRenderer, LightModel, LightModelD, 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

    Modifier and Type
    Method
    Description
    get(String key, Object defaultValue)
    Returns the option value for the option identified by key.
  • Method Details

    • get

      Object get(String key, 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