public class VtkJoglPanel extends javax.media.opengl.awt.GLJPanel
javax.swing.JComponent.AccessibleJComponent
java.awt.Component.BaselineResizeBehavior
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
VtkJoglPanel() |
Modifier and Type | Method and Description |
---|---|
void |
Delete()
Deprecated.
Use
disposeInternal() instead |
void |
disposeInternal()
Release VTK and OGL objects.
|
void |
doHardCopy(java.lang.String filename,
int mag) |
vtk.vtkCamera |
getCamera() |
vtk.vtkRenderWindowInteractor |
getInteractor() |
vtk.vtkLight |
getLight() |
vtk.vtkRenderer |
getRenderer() |
vtk.vtkRenderer |
GetRenderer()
Deprecated.
Use
getRenderer() instead |
vtk.vtkRenderWindow |
getRenderWindow() |
vtk.vtkRenderWindow |
GetRenderWindow()
Deprecated.
Use
getRenderWindow() instead |
void |
HardCopy(java.lang.String filename,
int mag)
Deprecated.
Use
doHardCopy(String, int) instead |
void |
InteractionModeRotate()
Deprecated.
do nothing now
|
void |
InteractionModeTranslate()
Deprecated.
do nothing now
|
void |
InteractionModeZoom()
Deprecated.
do nothing now
|
boolean |
isRendering()
return true if currently rendering
|
boolean |
isWindowSet() |
void |
lock() |
void |
Lock()
Deprecated.
Use
lock() instead |
void |
paint(java.awt.Graphics g) |
void |
render()
Do rendering
|
void |
Render()
Deprecated.
Use
render() instead. |
void |
resetCamera() |
void |
resetCameraClippingRange() |
void |
setBounds(int x,
int y,
int width,
int height) |
void |
sizeChanged()
Called when window render size changed (helper for this specific event)
|
void |
unlock() |
void |
UnLock()
Deprecated.
Use
unlock() instead |
void |
updateLight() |
void |
UpdateLight()
Deprecated.
Use
updateLight() instead |
addGLEventListener, addGLEventListener, addNotify, areAllGLEventListenerInitialized, createContext, destroy, display, disposeGLEventListener, getAnimator, getAutoSwapBufferMode, getChosenGLCapabilities, getContext, getContextCreationFlags, getCustomPixelBufferProvider, getDefaultCloseOperation, getDelegatedDrawable, getExclusiveContextThread, getFactory, getGL, getGLEventListener, getGLEventListenerCount, getGLEventListenerInitState, getGLProfile, getHandle, getNativeSurface, getSkipGLOrientationVerticalFlip, getTextureUnit, getUpstreamWidget, initializeBackend, invoke, invoke, isGLOriented, isRealized, print, releasePrint, removeGLEventListener, removeNotify, reshape, setAnimator, setAutoSwapBufferMode, setContext, setContextCreationFlags, setDefaultCloseOperation, setExclusiveContextThread, setGL, setGLEventListenerInitState, setOpaque, setPixelBufferProvider, setRealized, setSharedAutoDrawable, setSharedContext, setSkipGLOrientationVerticalFlip, setTextureUnit, setupPrint, shouldPreserveColorBufferIfTranslucent, swapBuffers, toString
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener
public VtkJoglPanel()
@Deprecated public void Delete()
disposeInternal()
insteadpublic void disposeInternal()
@Deprecated public vtk.vtkRenderer GetRenderer()
getRenderer()
instead@Deprecated public vtk.vtkRenderWindow GetRenderWindow()
getRenderWindow()
insteadpublic vtk.vtkRenderer getRenderer()
public vtk.vtkRenderWindow getRenderWindow()
public vtk.vtkCamera getCamera()
public vtk.vtkLight getLight()
public vtk.vtkRenderWindowInteractor getInteractor()
public boolean isRendering()
public void setBounds(int x, int y, int width, int height)
setBounds
in class java.awt.Component
public void sizeChanged()
public void render()
public boolean isWindowSet()
public void lock()
public void unlock()
@Deprecated public void InteractionModeRotate()
@Deprecated public void InteractionModeTranslate()
@Deprecated public void InteractionModeZoom()
@Deprecated public void UpdateLight()
updateLight()
insteadpublic void updateLight()
public void resetCameraClippingRange()
public void resetCamera()
public void paint(java.awt.Graphics g)
paint
in class javax.swing.JComponent
@Deprecated public void HardCopy(java.lang.String filename, int mag)
doHardCopy(String, int)
insteadpublic void doHardCopy(java.lang.String filename, int mag)