Class RtTaskContext

java.lang.Object
raytrace.core.runtime.RtTaskContext
All Implemented Interfaces:
RayTraceTaskContext

public class RtTaskContext extends Object implements RayTraceTaskContext
Author:
Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
  • Constructor Details

    • RtTaskContext

      public RtTaskContext​(RtContext context)
  • Method Details

    • emit

      public void emit​(Section section, org.sunflow.image.Color[] colors, float[] alpha, int id)
      Specified by:
      emit in interface RayTraceTaskContext
    • castRay

      public org.sunflow.image.Color castRay​(int x, int y)
      Specified by:
      castRay in interface RayTraceTaskContext