Class ViewJComponentRenderImageShearWarp
- java.lang.Object
-
- gov.nih.mipav.view.renderer.J3D.volumeview.ViewJComponentRenderImage
-
- gov.nih.mipav.view.renderer.J3D.volumeview.ViewJComponentRenderImageShearWarp
-
- All Implemented Interfaces:
java.awt.event.MouseMotionListener
,java.util.EventListener
public class ViewJComponentRenderImageShearWarp extends ViewJComponentRenderImage implements java.awt.event.MouseMotionListener
Need to add.- Version:
- 0.1 Nov 18, 1997
- Author:
- Matthew J. McAuliffe, Ph.D. (primary)
-
-
Field Summary
Fields Modifier and Type Field Description float
opacity
opacity value used by the paint brush.-
Fields inherited from class gov.nih.mipav.view.renderer.J3D.volumeview.ViewJComponentRenderImage
imageExtentMax, LUTa, LUTb, m_fAlphaBlend, m_kBackgroundColor, m_kImage, m_kImageA, m_kImageB, m_kImageDim, m_kRendererImageDataA, m_kRendererImageDataB, m_kRGBTA, m_kRGBTB, m_kVolumeRenderer, mode, ModeCOMPOSITE, ModeMIP, ModeSURFACE, ModeSURFACEFAST, ModeXRAY, raySpaceSize, rayStepSize, rayTracerA, rayTracerB, renBufferA, renBufferB, renderingMode, timeSlice, timeSliceA, timeSliceB, transformBU, transformCounter
-
-
Constructor Summary
Constructors Constructor Description ViewJComponentRenderImageShearWarp(VolumeRenderer kVolumeRenderer, ModelImage _imageA, ModelLUT _LUTa, ModelImage _imageB, ModelLUT _LUTb, int[] rvolBufferA, int[] rvolBufferB, int[] extents, int renderMode, int maxExtent)
Constructor: ImageA and ImageB are expected to be of the same dimensionality !!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setRenderMode(int renderMode)
Change the camera model.protected void
trace(int rayStepSize, int raySpaceSize)
Ray trace image volume by the step size and the space size.-
Methods inherited from class gov.nih.mipav.view.renderer.J3D.volumeview.ViewJComponentRenderImage
disposeLocal, drawImages, finalize, getalphaBlend, getAxisAngle, getEyePoint, getImage, getImageA, getImageB, getLUTa, getLUTb, getParallel, getRayTracerA, getRenderMode, getRGBTA, getRGBTB, getSpaceSize, getStepSize, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, moveTrackBall, setAlphaBlend, setBackgroundColor, setImageA, setImageB, setLUTa, setLUTb, setMaxExtent, setParallel, setRGBTA, setRGBTB, setSpaceSize, setStepSize, setXBoundNeg, setXBoundPos, setYBoundNeg, setYBoundPos, setZBoundNeg, setZBoundPos, show, updateLighting, updateTransform, updateView
-
-
-
-
Constructor Detail
-
ViewJComponentRenderImageShearWarp
public ViewJComponentRenderImageShearWarp(VolumeRenderer kVolumeRenderer, ModelImage _imageA, ModelLUT _LUTa, ModelImage _imageB, ModelLUT _LUTb, int[] rvolBufferA, int[] rvolBufferB, int[] extents, int renderMode, int maxExtent)
Constructor: ImageA and ImageB are expected to be of the same dimensionality !!- Parameters:
kVolumeRenderer
- Access to renderer of which this is an instance._imageA
- Model of the image that will be displayed_LUTa
- LUT used to display imageA_imageB
- Model of the image that will be displayed_LUTb
- LUT used to display imageBrvolBufferA
- storage buffer used to build a displayable imagervolBufferB
- DOCUMENT ME!extents
- image dimension extentsrenderMode
- rendering mode, MIP, DRR and SURFACEmaxExtent
- maximium extent value.
-
-
Method Detail
-
setRenderMode
public void setRenderMode(int renderMode)
Change the camera model.- Specified by:
setRenderMode
in classViewJComponentRenderImage
- Parameters:
renderMode
- rendering mode.
-
trace
protected void trace(int rayStepSize, int raySpaceSize)
Ray trace image volume by the step size and the space size.- Specified by:
trace
in classViewJComponentRenderImage
- Parameters:
rayStepSize
- ray trace interp step sizeraySpaceSize
- ray trace two point space size ( not used )
-
-