Class ShearWarpIntensityMIP

All Implemented Interfaces:
RendererInterfaceIntensity

public class ShearWarpIntensityMIP extends ShearWarpIntensity
A renderer for intensity volume data. The composited values are based on sums of intensity along rays parallel to coordinate axes. See the document ShearWarpRendering.pdf for a detailed description of the renderer architecture.
  • Constructor Details

    • ShearWarpIntensityMIP

      public ShearWarpIntensityMIP(ModelImage kImage, int iFinalBound, int[] aiFinal)
      Create an summed intensity renderer.
      Parameters:
      kImage - the 3D image
      iFinalBound - the dimension of the square 2D renderer image
      aiFinal - The 2D rendered image. The image is 24-bit RGB color, each pixel stored as a 32-bit integer. The 8 most significant bits are ignored. The blue channel is stored in the 8 least significant bits. The green channel is in the next 8 bits adjacent to the blue bits. The red channel is in the next 8 bits adjacent to the green channel.
  • Method Details

    • usesNormals

      public boolean usesNormals()
      Return indication as to whether or not the particular renderer uses normal vectors as part of its implementation.
      Specified by:
      usesNormals in class Renderer
      Returns:
      boolean True if the implementation uses normals.
    • beforeResampleAll

      protected void beforeResampleAll(int k0, int k1, int k2)
      This is a callback to be executed before resampleAll is executed. The base class initializes various primitive quantities. This class needs its intermediate array corresponding to the composited intensity to be set to zero.
      Overrides:
      beforeResampleAll in class ShearWarpRenderer
      Parameters:
      k0 - a permutation, one of (0,1,2), (1,2,0), (2,0,1)
      k1 - DOCUMENT ME!
      k2 - DOCUMENT ME!
    • resampleSingle

      protected void resampleSingle()
      Resample a single slice of the permuted volume data.
      Overrides:
      resampleSingle in class ShearWarpRenderer