Class VolumeImageSurfaceMask

java.lang.Object
WildMagic.LibApplications.OpenGLApplication.Application
WildMagic.LibApplications.OpenGLApplication.JavaApplication
WildMagic.LibApplications.OpenGLApplication.JavaApplication3D
gov.nih.mipav.view.renderer.WildMagic.Render.VolumeImageViewer
gov.nih.mipav.view.renderer.WildMagic.Render.VolumeImageSurfaceMask
All Implemented Interfaces:
com.jogamp.opengl.GLEventListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, Serializable, EventListener

public class VolumeImageSurfaceMask extends VolumeImageViewer implements com.jogamp.opengl.GLEventListener, KeyListener
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
     
    private ModelImage
     
    private BitSet
     
     
    private static final long
     

    Fields inherited from class WildMagic.LibApplications.OpenGLApplication.JavaApplication3D

    cameraParams, m_akWorldAxis, m_bCameraMoveable, m_bDArrowPressed, m_bEndPressed, m_bHomePressed, m_bLArrowPressed, m_bLInsertPressed, m_bObjectZoomed, m_bPgDnPressed, m_bPgUpPressed, m_bRArrowPressed, m_bRDeletePressed, m_bTrackBallDown, m_bUArrowPressed, m_bUseTrackBall, m_dAccumulatedTime, m_dFrameRate, m_dLastTime, m_fRotSpeed, m_fRotSpeedFactor, m_fTrnSpeed, m_fTrnSpeedFactor, m_fXDrag0, m_fXTrack0, m_fXTrack1, m_fYDrag0, m_fYTrack0, m_fYTrack1, m_fZoomSpeed, m_iAccumulatedFrameCount, m_iDoPitch, m_iDoRoll, m_iDoYaw, m_iFrameCount, m_iMaxTimer, m_iMouseButton, m_iTimer, m_kSaveRotate, m_mouseRotSpeed, m_spkCamera, m_spkMotionObject, pitchRotationAngle, rollRotationAngle, xCameraMove, xCameraTurn, yawRotationAngle, yCameraMove, yCameraTurn, zCameraMove

    Fields inherited from class WildMagic.LibApplications.OpenGLApplication.JavaApplication

    m_acWindowTitle, m_eBuffering, m_eDepth, m_eFormat, m_eMultisampling, m_eStencil, m_iHeight, m_iWidth, m_iXPosition, m_iYPosition, m_kBackgroundColor, m_pkRenderer
  • Constructor Summary

    Constructors
    Constructor
    Description
    VolumeImageSurfaceMask(com.jogamp.opengl.awt.GLCanvas canvas, double dpiScale, VolumeTriPlanarInterface kParentFrame, VolumeImage kVolumeImage, Vector<VolumeObject> kDisplayList, boolean bCreateMask)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    display(com.jogamp.opengl.GLAutoDrawable arg0)
     
    void
    dispose(com.jogamp.opengl.GLAutoDrawable arg0)
     
    static void
    main(com.jogamp.opengl.awt.GLCanvas canvas, double dpiScale, VolumeTriPlanarInterface kParentFrame, VolumeImage kVolumeImage, Vector<VolumeObject> kDisplayList, boolean bCreateMask)
     
    private void
    SaveImage(int iZ)
     

    Methods inherited from class gov.nih.mipav.view.renderer.WildMagic.Render.VolumeImageViewer

    computeElapsedTime, CreatePlaneNode, displayChanged, GetCanvas, init, keyPressed, main, reshape, SetAnimator, SetFrame, setStartTime, UpdateSlice, writeImage

    Methods inherited from class WildMagic.LibApplications.OpenGLApplication.JavaApplication3D

    dispose, DrawFrameRate, getCameraLocation, getCameraParameters, getObjectParameters, getObjectRotation, InitializeCameraMotion, InitializeCameraMotion, InitializeObjectMotion, keyReleased, keyTyped, LookDown, LookUp, MeasureTime, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, MoveBackward, MoveCamera, MoveDown, MoveForward, MoveLeft, MoveObject, MoveRight, MoveUp, OnDisplay, OnInitialize, OnTerminate, ResetTime, RotateTrackBall, setCameraLocation, setCameraParameters, setObjectParameters, setObjectRotation, TurnLeft, TurnRight, UpdateCameraRotationSpeed, UpdateCameraTranslationSpeed, UpdateCameraZoomSpeed, UpdateFrameCount, UpdateMouseRotationSpeed

    Methods inherited from class WildMagic.LibApplications.OpenGLApplication.JavaApplication

    GetAspectRatio, GetHeight, GetRenderer, GetWidth, GetWindowTitle, GetXPosition, GetYPosition, OnIdle, OnMove, OnPrecreate, OnResize, SetRenderer

    Methods inherited from class WildMagic.LibApplications.OpenGLApplication.Application

    reloadShaders, TestStreaming

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.jogamp.opengl.GLEventListener

    init, reshape

    Methods inherited from interface java.awt.event.KeyListener

    keyPressed, keyReleased, keyTyped
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • m_kDisplayList

      private Vector<VolumeObject> m_kDisplayList
    • m_kSurfaceClip

      private SurfaceClipEffect[] m_kSurfaceClip
    • m_bCreateMaskImage

      private boolean m_bCreateMaskImage
    • m_kOutputImage

      private ModelImage m_kOutputImage
    • m_kOutputMask

      private BitSet m_kOutputMask
  • Constructor Details

  • Method Details

    • main

      public static void main(com.jogamp.opengl.awt.GLCanvas canvas, double dpiScale, VolumeTriPlanarInterface kParentFrame, VolumeImage kVolumeImage, Vector<VolumeObject> kDisplayList, boolean bCreateMask)
      Parameters:
      args -
    • display

      public void display(com.jogamp.opengl.GLAutoDrawable arg0)
      Specified by:
      display in interface com.jogamp.opengl.GLEventListener
      Overrides:
      display in class VolumeImageViewer
    • dispose

      public void dispose(com.jogamp.opengl.GLAutoDrawable arg0)
      Specified by:
      dispose in interface com.jogamp.opengl.GLEventListener
      Overrides:
      dispose in class VolumeImageViewer
    • CreateScene

      protected void CreateScene()
      Overrides:
      CreateScene in class VolumeImageViewer
    • SaveImage

      private void SaveImage(int iZ)