Class VolumeImageExtract
- 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.VolumeImageExtract
-
- All Implemented Interfaces:
com.jogamp.opengl.GLEventListener
,java.awt.event.KeyListener
,java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.io.Serializable
,java.util.EventListener
public class VolumeImageExtract extends VolumeImageViewer implements com.jogamp.opengl.GLEventListener, java.awt.event.KeyListener
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private float[]
m_afNewResolutions
private int[]
m_aiNewExtents
private boolean
m_bDisplayFirst
private boolean
m_bDisplaySecond
private int
m_iExtractLevel
Intensity level for GPU-surface extraction.private WildMagic.LibGraphics.Rendering.GraphicsImage
m_kCalcImage
private SurfaceExtractImage
m_kCalcImage2
private VolumeClipEffect
m_kClipEffect
private WildMagic.LibGraphics.Rendering.Texture
m_pkVolumeCalcTarget
private WildMagic.LibGraphics.Rendering.Texture
m_pkVolumeCalcTarget2
private VolumeCalcEffect
m_spkEffect2
private static int
ms_iSurface
private static long
serialVersionUID
-
Fields inherited from class gov.nih.mipav.view.renderer.WildMagic.Render.VolumeImageViewer
dpiScale, m_bDisplay, m_bDispose, m_bInit, m_iScreenCaptureCounter, m_iSlice, m_kAnimator, m_kCull, m_kCuller, m_kFrame, m_kParent, m_kVolumeImage, m_pkPlane, m_spkEffect, m_spkScene, startTime
-
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
-
-
Constructor Summary
Constructors Constructor Description VolumeImageExtract(com.jogamp.opengl.awt.GLCanvas kCanvas, double dpiScale, VolumeTriPlanarInterface kParentFrame, VolumeImage kVolumeImage, VolumeClipEffect kClip, int iLevel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
CreateScene()
void
display(com.jogamp.opengl.GLAutoDrawable arg0)
void
dispose(com.jogamp.opengl.GLAutoDrawable arg0)
static void
main(com.jogamp.opengl.awt.GLCanvas kCanvas, double dpiScale, VolumeTriPlanarInterface kParentFrame, VolumeImage kVolumeImage, VolumeClipEffect kClip, int iLevel)
-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
ms_iSurface
private static int ms_iSurface
-
m_spkEffect2
private VolumeCalcEffect m_spkEffect2
-
m_kCalcImage
private WildMagic.LibGraphics.Rendering.GraphicsImage m_kCalcImage
-
m_pkVolumeCalcTarget
private WildMagic.LibGraphics.Rendering.Texture m_pkVolumeCalcTarget
-
m_kCalcImage2
private SurfaceExtractImage m_kCalcImage2
-
m_pkVolumeCalcTarget2
private WildMagic.LibGraphics.Rendering.Texture m_pkVolumeCalcTarget2
-
m_bDisplayFirst
private boolean m_bDisplayFirst
-
m_bDisplaySecond
private boolean m_bDisplaySecond
-
m_kClipEffect
private VolumeClipEffect m_kClipEffect
-
m_aiNewExtents
private int[] m_aiNewExtents
-
m_afNewResolutions
private float[] m_afNewResolutions
-
m_iExtractLevel
private int m_iExtractLevel
Intensity level for GPU-surface extraction.
-
-
Constructor Detail
-
VolumeImageExtract
public VolumeImageExtract(com.jogamp.opengl.awt.GLCanvas kCanvas, double dpiScale, VolumeTriPlanarInterface kParentFrame, VolumeImage kVolumeImage, VolumeClipEffect kClip, int iLevel)
-
-
Method Detail
-
main
public static void main(com.jogamp.opengl.awt.GLCanvas kCanvas, double dpiScale, VolumeTriPlanarInterface kParentFrame, VolumeImage kVolumeImage, VolumeClipEffect kClip, int iLevel)
- Parameters:
args
-
-
display
public void display(com.jogamp.opengl.GLAutoDrawable arg0)
- Specified by:
display
in interfacecom.jogamp.opengl.GLEventListener
- Overrides:
display
in classVolumeImageViewer
-
dispose
public void dispose(com.jogamp.opengl.GLAutoDrawable arg0)
- Specified by:
dispose
in interfacecom.jogamp.opengl.GLEventListener
- Overrides:
dispose
in classVolumeImageViewer
-
CreateScene
protected void CreateScene()
- Overrides:
CreateScene
in classVolumeImageViewer
-
-