tracer
Class BilinearSampler

java.lang.Object
  extended by tracer.Sampler2D
      extended by tracer.NearestSampler
          extended by tracer.BilinearSampler

public class BilinearSampler
extends NearestSampler


Field Summary
 
Fields inherited from class tracer.Sampler2D
signalMin, signalRange, source, sourceHeight, sourceWidth
 
Constructor Summary
BilinearSampler(java.lang.String filename)
           
 
Method Summary
 Vec3 sample(float u, float v)
           
 
Methods inherited from class tracer.Sampler2D
rawRead, rawReadVec, scaleOutput, scaleU, scaleV, setOutputRange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BilinearSampler

public BilinearSampler(java.lang.String filename)
Method Detail

sample

public Vec3 sample(float u,
                   float v)
Overrides:
sample in class NearestSampler