Class VolumeTriPlanerRenderDTI
- java.lang.Object
-
- WildMagic.LibApplications.OpenGLApplication.Application
-
- WildMagic.LibApplications.OpenGLApplication.JavaApplication
-
- WildMagic.LibApplications.OpenGLApplication.JavaApplication3D
-
- gov.nih.mipav.view.renderer.WildMagic.GPURenderBase
-
- gov.nih.mipav.view.renderer.WildMagic.VolumeTriPlanarRenderBase
-
- gov.nih.mipav.view.renderer.WildMagic.VolumeTriPlanarRender
-
- gov.nih.mipav.view.renderer.WildMagic.DTI_FrameWork.VolumeTriPlanerRenderDTI
-
- All Implemented Interfaces:
com.jogamp.opengl.GLEventListener
,SpaceNavigatorListener
,NavigationBehavior.Callback
,java.awt.event.KeyListener
,java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.io.Serializable
,java.util.EventListener
,javax.swing.event.ChangeListener
public class VolumeTriPlanerRenderDTI extends VolumeTriPlanarRender
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
m_bSlicePickEnabled
private boolean
m_bSlicePickPending
private static long
serialVersionUID
private boolean
updatingFiberTrack
-
Fields inherited from class gov.nih.mipav.view.renderer.WildMagic.VolumeTriPlanarRender
altPressed, configuredListener, m_kParent, rightMousePressed, shiftPressed
-
Fields inherited from class gov.nih.mipav.view.renderer.WildMagic.VolumeTriPlanarRenderBase
animateSlice, annotatePtsCounter, annotatePtsList, caps, fSample_mouseDragged, fSample_mouseReleased, gl_height, gl_width, glp, init, isAnnotateEnabled, isMouseControlEnabled, isNavigationEnabled, isPathPlanningEnabled, kGeometryBranchPath, kPoly, kPolyNode, latticeClip, latticeClipAxes, latticeClipBox, latticeClipExtents, latticeClipPos, m_afArbEquation, m_afArbEquationInv, m_akSceneTarget, m_akSlicesColor, m_bArbClipOn, m_bCrop, m_bDisplay, m_bDisplaySecond, m_bDropper, m_bErase, m_bFirstDisplay, m_bFirstRender, m_bGeodesicEnabled, m_bPaint, m_bPaintCan, m_bPaintEnabled, m_bPickCorrespondence, m_bPlay4D, m_bPlay4DVOIs, m_bResetImages, m_bUpdateCenterOnDisplay, m_bWriteImage, m_fAnimateRate, m_iAnimateCount, m_iBrushSize, m_iExtractLevel, m_iStereo, m_kArbitraryClip, m_kArbitraryClipInv, m_kDTIDisplay, m_kFBO, m_kFlyPathGraphCurve, m_kNewCenter, m_kNormalColorPathUnvisited, m_kPaintColor, m_kSculptor, m_kSlices, m_kVolumeBox, m_kVolumeClip, m_kVolumeCube, m_kVolumeRayCast, m_pkPlane, m_pkScreenCamera, m_spkPlaneEffect, ms_akLUTTexture, ms_NumHistogramLUTs, navigationBehavior, sharedDrawable, sharedRenderer, sliceDir, sphereClip, sphereRadius
-
Fields inherited from class gov.nih.mipav.view.renderer.WildMagic.GPURenderBase
dpiScale, hyperstack, hyperstackColormap, isSpaceNavCodeRunning, m_akLights, m_bDispose, m_bDoClip, m_bExtract, m_bFirstDrag, m_bInit, m_bModified, m_bMouseDrag, m_bPickPending, m_bShared, m_bSnapshot, m_bSurfaceMaskUpdate, m_bSurfaceUpdate, m_bTestFrameRate, m_bVisible, m_fMax, m_fX, m_fY, m_fZ, m_iCaptureFPS, m_iScreenCaptureCounter, m_iXPick, m_iYPick, m_kAnimator, m_kCuller, m_kDeleteList, m_kDisplayList, m_kPicker, m_kSceneToWorld, m_kTranslate, m_kVolumeImageA, m_kVolumeImageA_New, m_kVolumeImageA_Old, m_kVolumeImageB, m_kVolumeImageB_New, m_kVolumeImageB_Old, m_kWinLevel, m_kXRotate, m_kYRotate, m_kZRotate, m_spkCull, m_spkScene, nearPlane, updateBoundingCube
-
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 VolumeTriPlanerRenderDTI(VolumeTriPlanarInterface kParent, VolumeImage kVolumeImageA, VolumeImage kVolumeImageB)
VolumeTriPlanerRenderDTI(VolumeTriPlanarRender kShared, com.jogamp.opengl.awt.GLCanvas kCanvas, VolumeTriPlanarInterfaceDTI kParent, VolumeImage kVolumeImageA, VolumeImage kVolumeImageB)
Construct the Volume/Surface/Tri-Planar renderer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enableSlicePickable(boolean bEnabled)
Enable the tri-planar slice pickable.void
init(com.jogamp.opengl.GLAutoDrawable arg0)
Part of the GLEventListener interface.void
mouseDragged(java.awt.event.MouseEvent e)
Rotates the object with a virtual trackball:void
mousePressed(java.awt.event.MouseEvent e)
Rotates the object with a virtual trackball:void
mouseReleased(java.awt.event.MouseEvent e)
Rotates the object with a virtual trackball:protected void
Pick()
Picking.-
Methods inherited from class gov.nih.mipav.view.renderer.WildMagic.VolumeTriPlanarRender
add3DMarker, add3DMarker, addAnimationVOIs, addAnnotationPoint, addConfiguredListener, addNeurite, addSphereVOIs, annotationPrefix, annotationVOIsUpdate, applySculpt, clear3DSelection, clearPath, CreateScene, deleteSelectedPoint, display, displayNeurite, dispose, doAutomaticLabels, generatePath, getAnnotationInfo, getPositionScaled, getSelectedVOI, hasSelectedPoint, is3DSelectionEnabled, isEditAnnotations, keyPressed, keyReleased, modify3DMarker, moveSelectedPoint, play4DVOIs, reCreateScene, select3DMarker, setAnnotationDiameter, setAnnotationMode, setAnnotationVOIColor, setCameraCenter, setCameraViewRotationDegree, setDefaultCursor, setDisplayAnnotation, setDisplayAnnotationLabel, setMouseControlFlythru, setNeuriteColor, setPathPlanningFlythru, setupNavigationScenegraph, setVOILatticeManager, toggleNavigation, undoSculpt, update4D, update4DVOIs, updateSceneNodePoint, UpdateSceneRotation, updateSlicesCenter, updateVOIs, updateVOIs, viewChanged, writeImage
-
Methods inherited from class gov.nih.mipav.view.renderer.WildMagic.VolumeTriPlanarRenderBase
addAnimationLattice, addAnimationVOIs, addGeodesic, addSurface, addSurface, addSurface, addTract, addVolumeVOI, applyClipFilter, blend, clearSculpt, clipAnnotations, CMPMode, CreateRenderTarget, cropClipVolume, deleteVOIs, displayArbitraryClipPlane, displayBoundingBox, displayClipPlane, displayClipPlane, displayNode, displayOrientationCube, displaySurface, displayVOIs, displayVolumeRaycast, displayVolumeSlices, disposeShared, doClip, drawVOI, DRRMode, enableArbitraryClipPlane, enableClipPlane, enableEyeClipPlane, enableEyeInvClipPlane, enableGeodesic, enablePaint, enableSculpt, eraseAllPaint, extractMeshFromVolume, getABBlend, getArbitratyClip, getArbitratyClipOn, getClip, getClipAEEnable, getClipColor, getClipDisplay, getClipEnable, getClipInv, getClipInvDisplay, getClipInvEnable, getContainingPanel, getDPIScale, getGradientMagnitude, getGroupColor, getHistogramLUTTexture, getHistogramLUTTextureIndex, getIPD, getMaterial, getOpacity, getPolylines, getSculpt, getSculptEnabled, getSurface, getSurfaceArea, getSurfaceAreaString, getSurfaceCenter, getSurfaceVolume, getSurfaceVolumeString, getTranslateSurface, getVolumeSurface, init, initClass, initShared, invertSculpt, MIPMode, mouseClicked, Move, MULTIHISTOMode, newSharedCanvas, pickCorrespondence, play4D, play4DVOIs, reCreateScene, redrawSurfaceTexture, releaseShared, reloadShaders, removeAll, removeAllGeodesic, removeAllSurfaces, removeGeodesic, removePolyline, removeSurface, Render, replaceGeodesic, resetView, reshape, rollbackToCenter, save, saveCroppedImage, selfShadow, setABBlend, setAnimationSpeed, setAnimationSpeed, setArbColor, setArbitraryClipPlane, setArbitratyClip, setArbitratyClip, setBackface, setBackgroundColor, setBoundingBoxColor, setBoundingBoxColor, setCenter, setClipping, setClipPlane, setClipPlaneColor, setColor, SetCustomBlend, setDisplayAllGlyphs, setDisplayArrows, setDisplayCylinders, setDisplayEllipsoids, setDisplayTubes, setDrawingShape, setDTIImage, setEllipseMod, setEyeClipPlane, setEyeColor, setEyeInvClipPlane, setEyeInvColor, setGradientMagnitude, setHyperStack, setImageB, setImageNew, setImageOn, setImages, setIntenstityLevel, setIPD, setLatticeClip, setLUTNew, setMaterial, setMouseRotationSpeed, setMouseTranslationSpeed, setMouseZoomSpeed, setPickable, setPlaneConstant, setPolygonMode, setPolylineColor, setRGBTA, setRGBTB, setSliceOpacity, setStereo, setSurfaceTexture, setView, setVolumeBlend, setVolumeColor, setVolumeSamplesMouseDragged, setVolumeSamplesMouseReleased, showBoundingBox, showSlice, smoothMesh, smoothThree, smoothTwo, startRecording, startStopVOIAnimation, stateChanged, SURFASTMode, SURMode, toggleDisplaySurface, toggleDisplayVOI, toggleDisplayVolume, toggleDisplayVolumeSlices, toggleGeodesicPathDisplay, translateSurface, updateCenterOnDisplay, updateData, updateLevWidgetState, updateSphere
-
Methods inherited from class gov.nih.mipav.view.renderer.WildMagic.GPURenderBase
AddNode, checkIfSpaceNavNeedsCalibration, dispose, drawText, fineMovement, GetCanvas, getCounter, getDisplayList, getImage, GetLights, getNearPlane, GetNode, getNormalizedXDim, getNormalizedYDim, getNormalizedZDim, getRotationCutoffValue, getRotationScaleFactor, GetSceneRotation, getSceneToWorldMatrix, getTranslate, getTranslationCutoffValue, getTranslationScaleFactor, getVolumeImage, getVolumeImageB, invertRX, invertRY, invertRZ, invertTX, invertTY, invertTZ, isUseMouseRotationCutoffs, isUseMouseTranslationCutoffs, isVisible, normalMovement, pauseAnimator, processSpaceNavEvent, processSpaceNavEvent, record, reInitialize, RemoveNode, RenderFrameRate, resetAxis, resetAxisX, resetAxisXInv, resetAxisY, saveAVIMovie, saveQuickTimeMovie, setCameraNearPlane, setDefaultLighting, setOrthographicProjection, setPerspectiveProjection, setRotationCutoffValue, setRotationScaleFactor, SetSceneRotation, setTranslationCutoffValue, setTranslationScaleFactor, setUseMouseRotationCutoffs, setUseMouseTranslationCutoffs, setVisible, startAnimator, updateImageFromRotation, updateLighting
-
Methods inherited from class WildMagic.LibApplications.OpenGLApplication.JavaApplication3D
DrawFrameRate, getCameraLocation, getCameraParameters, getObjectParameters, getObjectRotation, InitializeCameraMotion, InitializeCameraMotion, InitializeObjectMotion, keyTyped, LookDown, LookUp, MeasureTime, mouseEntered, mouseExited, mouseMoved, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
m_bSlicePickPending
private boolean m_bSlicePickPending
-
m_bSlicePickEnabled
private boolean m_bSlicePickEnabled
-
updatingFiberTrack
private boolean updatingFiberTrack
-
-
Constructor Detail
-
VolumeTriPlanerRenderDTI
public VolumeTriPlanerRenderDTI(VolumeTriPlanarRender kShared, com.jogamp.opengl.awt.GLCanvas kCanvas, VolumeTriPlanarInterfaceDTI kParent, VolumeImage kVolumeImageA, VolumeImage kVolumeImageB)
Construct the Volume/Surface/Tri-Planar renderer.- Parameters:
kParent
- parent user-interface and frame.kVolumeImageA
- volume data and textures for ModelImage A.kVolumeImageB
- volume data and textures for ModelImage B.
-
VolumeTriPlanerRenderDTI
public VolumeTriPlanerRenderDTI(VolumeTriPlanarInterface kParent, VolumeImage kVolumeImageA, VolumeImage kVolumeImageB)
-
-
Method Detail
-
enableSlicePickable
public void enableSlicePickable(boolean bEnabled)
Enable the tri-planar slice pickable.- Parameters:
bEnabled
- pickable or not
-
init
public void init(com.jogamp.opengl.GLAutoDrawable arg0)
Description copied from class:VolumeTriPlanarRenderBase
Part of the GLEventListener interface. Init is called once when the GLCanvas is first displayed. Called again if the GLCanvas is removed from the frame and added to another window or panel. Initializes the display.- Specified by:
init
in interfacecom.jogamp.opengl.GLEventListener
- Overrides:
init
in classVolumeTriPlanarRenderBase
- Parameters:
arg0
- GLCanvas
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
Rotates the object with a virtual trackball:- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseDragged
in classVolumeTriPlanarRender
- Parameters:
e
- the MouseEvent
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
Rotates the object with a virtual trackball:- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Overrides:
mousePressed
in classVolumeTriPlanarRender
- Parameters:
e
- the MouseEvent
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
Rotates the object with a virtual trackball:- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Overrides:
mouseReleased
in classVolumeTriPlanarRender
- Parameters:
e
- the MouseEvent
-
Pick
protected void Pick()
Description copied from class:VolumeTriPlanarRender
Picking. If a display list object has picking enabled, find the picked polygon based on the mouse position.- Overrides:
Pick
in classVolumeTriPlanarRender
-
-