edu.stanford.rsl.konrad.rendering
Class RayDetector
java.lang.Object
edu.stanford.rsl.konrad.rendering.RayDetector
public class RayDetector
- extends java.lang.Object
Creates wrapper for elements required to define a ray detector.
- Author:
- Rotimi X Ojo
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RayDetector
public RayDetector(int sliceNumber)
RayDetector
public RayDetector(Projection projection)
RayDetector
public RayDetector(Projection projection,
Trajectory geometry)
getHeightInPixels
public int getHeightInPixels()
getWidthInPixels
public int getWidthInPixels()
getPixelWidth
public double getPixelWidth()
getPixelHeight
public double getPixelHeight()
getPrincipalPointInPixels
public SimpleVector getPrincipalPointInPixels()
getPrincipalPointInMM
public SimpleVector getPrincipalPointInMM()
getIncidentRays
public StraightLine[][] getIncidentRays()
- Ordered Collection of rays incident on ray detector
- Returns:
- the edges from each detector pixel to the source
getSuperSampledIncidentRays
public StraightLine[][][] getSuperSampledIncidentRays()
- For anti-aliasing
- Returns:
- super sampled data