vtk
Class vtkRenderWindow

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkWindow
              extended byvtk.vtkRenderWindow
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
vtkOpenGLRenderWindow

public class vtkRenderWindow
extends vtkWindow
implements java.io.Serializable

vtkRenderWindow - create a window for renderers to draw into. vtkRenderWindow is an abstract object to specify the behavior of a rendering window. A rendering window is a window in a graphical user interface where renderers draw their images. Methods are provided to synchronize the rendering process, set window size, and control double buffering. The window also allows rendering in stereo. The interlaced render stereo type is for output to a VRex stereo projector. All of the odd horizontal lines are from the left eye, and the even lines are from the right eye. The user has to make the render window aligned with the VRex projector, or the eye will be swapped. JavaBean wrapper for vtkRenderWindow object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkRenderer, vtkRenderWindowInteractor, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkRenderWindow()
           
protected vtkRenderWindow(int dmy)
           
 
Method Summary
 void addRenderer(vtkRenderer id0)
          Add a renderer to the list of renderers.
 void alphaBitPlanesOff()
          Turn on/off the use of alpha bitplanes.
 void alphaBitPlanesOn()
          Turn on/off the use of alpha bitplanes.
 void bordersOff()
          Turn on/off window manager borders.
 void bordersOn()
          Turn on/off window manager borders.
 int checkAbortStatus()
          This is a flag that can be set to interrupt a rendering that is in progress.
 int checkInRenderStatus()
          Clear status (after an exception was thrown for example)
 void clearInRenderStatus()
          Set/Get the desired update rate.
 void copyResultFrame()
          Performed at the end of the rendering process to generate image.
 void frame()
          A termination method performed at the end of the rendering process to do things like swapping buffers (if necessary) or similar actions.
 void fullScreenOff()
          Turn on/off rendering full screen window size.
 void fullScreenOn()
          Turn on/off rendering full screen window size.
 int getAAFrames()
          Set the number of frames for doing antialiasing.
 int getAbortRender()
          This is a flag that can be set to interrupt a rendering that is in progress.
 int getAlphaBitPlanes()
          Turn on/off the use of alpha bitplanes.
 int getBorders()
          Turn on/off window manager borders.
 java.lang.String getClassName()
          Return the class name as a string.
 int getCurrentCursor()
          Change the shape of the cursor
 int getDepthBufferSize()
          This method should be defined by the subclass.
 double getDesiredUpdateRate()
          Set/Get the desired update rate.
 int getEventPending()
          Check to see if a mouse button has been pressed.
 int getFDFrames()
          Set the number of frames for doing focal depth.
 int getFullScreen()
          Turn on/off rendering full screen window size.
 int getInAbortCheck()
          This is a flag that can be set to interrupt a rendering that is in progress.
 vtkRenderWindowInteractor getInteractor()
          Get the interactor associated with this render window
 int getIsPicking()
           
 int getLineSmoothing()
          Turn on/off line smoothing.
 int getNeverRendered()
          This flag is set if the window hasn't rendered since it was created
 int getNumberOfLayers()
          Get the number of layers for renderers.
 int getNumberOfLayersMaxValue()
          Get the number of layers for renderers.
 int getNumberOfLayersMinValue()
          Get the number of layers for renderers.
 int getPointSmoothing()
          Turn on/off point smoothing.
 int getPolygonSmoothing()
          Turn on/off polygon smoothing.
 vtkRendererCollection getRenderers()
          Return the collection of renderers in the render window.
 java.lang.String getRenderLibrary()
          What rendering library has the user requested
 int getRGBACharPixelData(int id0, int id1, int id2, int id3, int id4, vtkUnsignedCharArray id5)
          Same as Get/SetPixelData except that the image also contains an alpha component.
 int getRGBAPixelData(int id0, int id1, int id2, int id3, int id4, vtkFloatArray id5)
          Same as Get/SetPixelData except that the image also contains an alpha component.
 int getStereoCapableWindow()
          Prescribe that the window be created in a stereo-capable mode.
 int getStereoRender()
          Turn on/off stereo rendering.
 int getStereoType()
          Set/Get what type of stereo rendering to use.
 java.lang.String getStereoTypeAsString()
          Set/Get what type of stereo rendering to use.
 int getSubFrames()
          Set the number of sub frames for doing motion blur.
 int getSwapBuffers()
          Turn on/off buffer swapping between images.
 vtkRenderWindow getThisRenderWindow()
           
 int getZbufferData(int id0, int id1, int id2, int id3, vtkFloatArray id4)
          Set/Get the zbuffer data from the frame buffer.
 void hideCursor()
          Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 int isDirect()
          Is this render window using hardware acceleration?
 void isPickingOff()
           
 void isPickingOn()
           
 void lineSmoothingOff()
          Turn on/off line smoothing.
 void lineSmoothingOn()
          Turn on/off line smoothing.
 void makeCurrent()
          Make this the current window.
 vtkRenderWindowInteractor makeRenderWindowInteractor()
          Create an interactor to control renderers in this window.
 void pointSmoothingOff()
          Turn on/off point smoothing.
 void pointSmoothingOn()
          Turn on/off point smoothing.
 void polygonSmoothingOff()
          Turn on/off polygon smoothing.
 void polygonSmoothingOn()
          Turn on/off polygon smoothing.
 void removeRenderer(vtkRenderer id0)
          Remove a renderer from the list of renderers.
 void render()
          Ask each renderer owned by this RenderWindow to render its image and synchronize this process.
 java.lang.String reportCapabilities()
          Get report of capabilities for the render window
 void setAAFrames(int id0)
          Set the number of frames for doing antialiasing.
 void setAbortRender(int id0)
          This is a flag that can be set to interrupt a rendering that is in progress.
 void setAlphaBitPlanes(int id0)
          Turn on/off the use of alpha bitplanes.
 void setBorders(int id0)
          Turn on/off window manager borders.
 void setCurrentCursor(int id0)
          Change the shape of the cursor
 void setCursorPosition(int id0, int id1)
          Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.
 void setDesiredUpdateRate(double id0)
          Set/Get the desired update rate.
 void setFDFrames(int id0)
          Set the number of frames for doing focal depth.
 void setForceMakeCurrent()
          If called, allow MakeCurrent() to skip cache-check when called.
 void setFullScreen(int id0)
          Turn on/off rendering full screen window size.
 void setInAbortCheck(int id0)
          This is a flag that can be set to interrupt a rendering that is in progress.
 void setInteractor(vtkRenderWindowInteractor id0)
          Get the interactor associated with this render window
 void setIsPicking(int id0)
           
 void setLineSmoothing(int id0)
          Turn on/off line smoothing.
 void setNextWindowInfo(java.lang.String id0)
          Dummy stubs for vtkWindow API.
 void setNumberOfLayers(int id0)
          Get the number of layers for renderers.
 void setParentInfo(java.lang.String id0)
          Dummy stubs for vtkWindow API.
 int setPixelData(int id0, int id1, int id2, int id3, vtkUnsignedCharArray id4, int id5)
          Set/Get the pixel data of an image, transmitted as RGBRGBRGB.
 void setPointSmoothing(int id0)
          Turn on/off point smoothing.
 void setPolygonSmoothing(int id0)
          Turn on/off polygon smoothing.
 int setRGBACharPixelData(int id0, int id1, int id2, int id3, vtkUnsignedCharArray id4, int id5, int id6)
          Same as Get/SetPixelData except that the image also contains an alpha component.
 int setRGBAPixelData(int id0, int id1, int id2, int id3, vtkFloatArray id4, int id5, int id6)
          Same as Get/SetPixelData except that the image also contains an alpha component.
 void setStereoCapableWindow(int id0)
          Prescribe that the window be created in a stereo-capable mode.
 void setStereoRender(int id0)
          Turn on/off stereo rendering.
 void setStereoType(int id0)
          Set/Get what type of stereo rendering to use.
 void setStereoTypeToCrystalEyes()
          Set/Get what type of stereo rendering to use.
 void setStereoTypeToDresden()
          Set/Get what type of stereo rendering to use.
 void setStereoTypeToInterlaced()
          Set/Get what type of stereo rendering to use.
 void setStereoTypeToLeft()
          Set/Get what type of stereo rendering to use.
 void setStereoTypeToRedBlue()
          Set/Get what type of stereo rendering to use.
 void setStereoTypeToRight()
          Set/Get what type of stereo rendering to use.
 void setSubFrames(int id0)
          Set the number of sub frames for doing motion blur.
 void setSwapBuffers(int id0)
          Turn on/off buffer swapping between images.
 void setWindowInfo(java.lang.String id0)
          Dummy stubs for vtkWindow API.
 int setZbufferData(int id0, int id1, int id2, int id3, vtkFloatArray id4)
          Set/Get the zbuffer data from the frame buffer.
 void showCursor()
          Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.
 void start()
          Initialize the rendering process.
 void stereoCapableWindowOff()
          Prescribe that the window be created in a stereo-capable mode.
 void stereoCapableWindowOn()
          Prescribe that the window be created in a stereo-capable mode.
 void stereoMidpoint()
          Intermediate method performs operations required between the rendering of the left and right eye.
 void stereoRenderComplete()
          Handles work required once both views have been rendered when using stereo rendering.
 void stereoRenderOff()
          Turn on/off stereo rendering.
 void stereoRenderOn()
          Turn on/off stereo rendering.
 void stereoUpdate()
          Update the system, if needed, due to stereo rendering.
 int supportsOpenGL()
          Does this render window support OpenGL?
 void swapBuffersOff()
          Turn on/off buffer swapping between images.
 void swapBuffersOn()
          Turn on/off buffer swapping between images.
 void unRegister(vtkObjectBase id0)
          This Method detects loops of RenderWindow<->Interactor, so objects are freed properly.
protected  void VTKCastInit()
           
 void VTKInit()
           
 void windowRemap()
          Remap the rendering window.
 
Methods inherited from class vtk.vtkWindow
doubleBufferOff, doubleBufferOn, eraseOff, eraseOn, getDoubleBuffer, getDPI, getDPIMaxValue, getDPIMinValue, getErase, getMapped, getOffScreenRendering, getPixelData, getPosition, getSize, getThisWindow, getTileScale, getTileViewport, getWindowName, mappedOff, mappedOn, offScreenRenderingOff, offScreenRenderingOn, setDoubleBuffer, setDPI, setErase, setMapped, setOffScreenRendering, setPosition, setPosition, setSize, setSize, setTileScale, setTileViewport, setTileViewport, setWindowName
 
Methods inherited from class vtk.vtkObject
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay
 
Methods inherited from class vtk.vtkObjectBase
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changes

protected java.beans.PropertyChangeSupport changes
Constructor Detail

vtkRenderWindow

public vtkRenderWindow()

vtkRenderWindow

protected vtkRenderWindow(int dmy)
Method Detail

getThisRenderWindow

public vtkRenderWindow getThisRenderWindow()

getClassName

public java.lang.String getClassName()
Description copied from class: vtkObjectBase
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
getClassName in class vtkWindow

isA

public int isA(java.lang.String id0)
Description copied from class: vtkObjectBase
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
isA in class vtkWindow

addRenderer

public void addRenderer(vtkRenderer id0)
Add a renderer to the list of renderers.


removeRenderer

public void removeRenderer(vtkRenderer id0)
Remove a renderer from the list of renderers.


getRenderLibrary

public java.lang.String getRenderLibrary()
What rendering library has the user requested


getRenderers

public vtkRendererCollection getRenderers()
Return the collection of renderers in the render window.


render

public void render()
Ask each renderer owned by this RenderWindow to render its image and synchronize this process.

Overrides:
render in class vtkWindow

start

public void start()
Initialize the rendering process.


frame

public void frame()
A termination method performed at the end of the rendering process to do things like swapping buffers (if necessary) or similar actions.


copyResultFrame

public void copyResultFrame()
Performed at the end of the rendering process to generate image. This is typically done right before swapping buffers.


makeRenderWindowInteractor

public vtkRenderWindowInteractor makeRenderWindowInteractor()
Create an interactor to control renderers in this window. We need to know what type of interactor to create, because we might be in X Windows or MS Windows.


hideCursor

public void hideCursor()
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead. Set cursor position in window (note that (0,0) is the lower left corner).


showCursor

public void showCursor()
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead. Set cursor position in window (note that (0,0) is the lower left corner).


setCursorPosition

public void setCursorPosition(int id0,
                              int id1)
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead. Set cursor position in window (note that (0,0) is the lower left corner).


setCurrentCursor

public void setCurrentCursor(int id0)
Change the shape of the cursor


getCurrentCursor

public int getCurrentCursor()
Change the shape of the cursor


setFullScreen

public void setFullScreen(int id0)
Turn on/off rendering full screen window size.


getFullScreen

public int getFullScreen()
Turn on/off rendering full screen window size.


fullScreenOn

public void fullScreenOn()
Turn on/off rendering full screen window size.


fullScreenOff

public void fullScreenOff()
Turn on/off rendering full screen window size.


setBorders

public void setBorders(int id0)
Turn on/off window manager borders. Typically, you shouldn't turn the borders off, because that bypasses the window manager and can cause undesirable behavior.


getBorders

public int getBorders()
Turn on/off window manager borders. Typically, you shouldn't turn the borders off, because that bypasses the window manager and can cause undesirable behavior.


bordersOn

public void bordersOn()
Turn on/off window manager borders. Typically, you shouldn't turn the borders off, because that bypasses the window manager and can cause undesirable behavior.


bordersOff

public void bordersOff()
Turn on/off window manager borders. Typically, you shouldn't turn the borders off, because that bypasses the window manager and can cause undesirable behavior.


getStereoCapableWindow

public int getStereoCapableWindow()
Prescribe that the window be created in a stereo-capable mode. This method must be called before the window is realized. Default is off.


stereoCapableWindowOn

public void stereoCapableWindowOn()
Prescribe that the window be created in a stereo-capable mode. This method must be called before the window is realized. Default is off.


stereoCapableWindowOff

public void stereoCapableWindowOff()
Prescribe that the window be created in a stereo-capable mode. This method must be called before the window is realized. Default is off.


setStereoCapableWindow

public void setStereoCapableWindow(int id0)
Prescribe that the window be created in a stereo-capable mode. This method must be called before the window is realized. Default is off.


getStereoRender

public int getStereoRender()
Turn on/off stereo rendering.


setStereoRender

public void setStereoRender(int id0)
Turn on/off stereo rendering.


stereoRenderOn

public void stereoRenderOn()
Turn on/off stereo rendering.


stereoRenderOff

public void stereoRenderOff()
Turn on/off stereo rendering.


setAlphaBitPlanes

public void setAlphaBitPlanes(int id0)
Turn on/off the use of alpha bitplanes.


getAlphaBitPlanes

public int getAlphaBitPlanes()
Turn on/off the use of alpha bitplanes.


alphaBitPlanesOn

public void alphaBitPlanesOn()
Turn on/off the use of alpha bitplanes.


alphaBitPlanesOff

public void alphaBitPlanesOff()
Turn on/off the use of alpha bitplanes.


setPointSmoothing

public void setPointSmoothing(int id0)
Turn on/off point smoothing. Default is off. This must be applied before the first Render.


getPointSmoothing

public int getPointSmoothing()
Turn on/off point smoothing. Default is off. This must be applied before the first Render.


pointSmoothingOn

public void pointSmoothingOn()
Turn on/off point smoothing. Default is off. This must be applied before the first Render.


pointSmoothingOff

public void pointSmoothingOff()
Turn on/off point smoothing. Default is off. This must be applied before the first Render.


setLineSmoothing

public void setLineSmoothing(int id0)
Turn on/off line smoothing. Default is off. This must be applied before the first Render.


getLineSmoothing

public int getLineSmoothing()
Turn on/off line smoothing. Default is off. This must be applied before the first Render.


lineSmoothingOn

public void lineSmoothingOn()
Turn on/off line smoothing. Default is off. This must be applied before the first Render.


lineSmoothingOff

public void lineSmoothingOff()
Turn on/off line smoothing. Default is off. This must be applied before the first Render.


setPolygonSmoothing

public void setPolygonSmoothing(int id0)
Turn on/off polygon smoothing. Default is off. This must be applied before the first Render.


getPolygonSmoothing

public int getPolygonSmoothing()
Turn on/off polygon smoothing. Default is off. This must be applied before the first Render.


polygonSmoothingOn

public void polygonSmoothingOn()
Turn on/off polygon smoothing. Default is off. This must be applied before the first Render.


polygonSmoothingOff

public void polygonSmoothingOff()
Turn on/off polygon smoothing. Default is off. This must be applied before the first Render.


getStereoType

public int getStereoType()
Set/Get what type of stereo rendering to use.


setStereoType

public void setStereoType(int id0)
Set/Get what type of stereo rendering to use.


setStereoTypeToCrystalEyes

public void setStereoTypeToCrystalEyes()
Set/Get what type of stereo rendering to use.


setStereoTypeToRedBlue

public void setStereoTypeToRedBlue()
Set/Get what type of stereo rendering to use.


setStereoTypeToInterlaced

public void setStereoTypeToInterlaced()
Set/Get what type of stereo rendering to use.


setStereoTypeToLeft

public void setStereoTypeToLeft()
Set/Get what type of stereo rendering to use.


setStereoTypeToRight

public void setStereoTypeToRight()
Set/Get what type of stereo rendering to use.


setStereoTypeToDresden

public void setStereoTypeToDresden()
Set/Get what type of stereo rendering to use.


getStereoTypeAsString

public java.lang.String getStereoTypeAsString()
Set/Get what type of stereo rendering to use.


stereoUpdate

public void stereoUpdate()
Update the system, if needed, due to stereo rendering. For some stereo methods, subclasses might need to switch some hardware settings here.


stereoMidpoint

public void stereoMidpoint()
Intermediate method performs operations required between the rendering of the left and right eye.


stereoRenderComplete

public void stereoRenderComplete()
Handles work required once both views have been rendered when using stereo rendering.


windowRemap

public void windowRemap()
Remap the rendering window. This probably only works on UNIX right now. It is useful for changing properties that can't normally be changed once the window is up.


setSwapBuffers

public void setSwapBuffers(int id0)
Turn on/off buffer swapping between images.


getSwapBuffers

public int getSwapBuffers()
Turn on/off buffer swapping between images.


swapBuffersOn

public void swapBuffersOn()
Turn on/off buffer swapping between images.


swapBuffersOff

public void swapBuffersOff()
Turn on/off buffer swapping between images.


setPixelData

public int setPixelData(int id0,
                        int id1,
                        int id2,
                        int id3,
                        vtkUnsignedCharArray id4,
                        int id5)
Set/Get the pixel data of an image, transmitted as RGBRGBRGB. The front argument indicates if the front buffer should be used or the back buffer. It is the caller's responsibility to delete the resulting array. It is very important to realize that the memory in this array is organized from the bottom of the window to the top. The origin of the screen is in the lower left corner. The y axis increases as you go up the screen. So the storage of pixels is from left to right and from bottom to top.


getRGBAPixelData

public int getRGBAPixelData(int id0,
                            int id1,
                            int id2,
                            int id3,
                            int id4,
                            vtkFloatArray id5)
Same as Get/SetPixelData except that the image also contains an alpha component. The image is transmitted as RGBARGBARGBA... each of which is a float value. The "blend" parameter controls whether the SetRGBAPixelData method blends the data with the previous contents of the frame buffer or completely replaces the frame buffer data.


setRGBAPixelData

public int setRGBAPixelData(int id0,
                            int id1,
                            int id2,
                            int id3,
                            vtkFloatArray id4,
                            int id5,
                            int id6)
Same as Get/SetPixelData except that the image also contains an alpha component. The image is transmitted as RGBARGBARGBA... each of which is a float value. The "blend" parameter controls whether the SetRGBAPixelData method blends the data with the previous contents of the frame buffer or completely replaces the frame buffer data.


getRGBACharPixelData

public int getRGBACharPixelData(int id0,
                                int id1,
                                int id2,
                                int id3,
                                int id4,
                                vtkUnsignedCharArray id5)
Same as Get/SetPixelData except that the image also contains an alpha component. The image is transmitted as RGBARGBARGBA... each of which is a float value. The "blend" parameter controls whether the SetRGBAPixelData method blends the data with the previous contents of the frame buffer or completely replaces the frame buffer data.


setRGBACharPixelData

public int setRGBACharPixelData(int id0,
                                int id1,
                                int id2,
                                int id3,
                                vtkUnsignedCharArray id4,
                                int id5,
                                int id6)
Same as Get/SetPixelData except that the image also contains an alpha component. The image is transmitted as RGBARGBARGBA... each of which is a float value. The "blend" parameter controls whether the SetRGBAPixelData method blends the data with the previous contents of the frame buffer or completely replaces the frame buffer data.


getZbufferData

public int getZbufferData(int id0,
                          int id1,
                          int id2,
                          int id3,
                          vtkFloatArray id4)
Set/Get the zbuffer data from the frame buffer.


setZbufferData

public int setZbufferData(int id0,
                          int id1,
                          int id2,
                          int id3,
                          vtkFloatArray id4)
Set/Get the zbuffer data from the frame buffer.


getAAFrames

public int getAAFrames()
Set the number of frames for doing antialiasing. The default is zero. Typically five or six will yield reasonable results without taking too long.


setAAFrames

public void setAAFrames(int id0)
Set the number of frames for doing antialiasing. The default is zero. Typically five or six will yield reasonable results without taking too long.


getFDFrames

public int getFDFrames()
Set the number of frames for doing focal depth. The default is zero. Depending on how your scene is organized you can get away with as few as four frames for focal depth or you might need thirty. One thing to note is that if you are using focal depth frames, then you will not need many (if any) frames for antialiasing.


setFDFrames

public void setFDFrames(int id0)
Set the number of frames for doing focal depth. The default is zero. Depending on how your scene is organized you can get away with as few as four frames for focal depth or you might need thirty. One thing to note is that if you are using focal depth frames, then you will not need many (if any) frames for antialiasing.


getSubFrames

public int getSubFrames()
Set the number of sub frames for doing motion blur. The default is zero. Once this is set greater than one, you will no longer see a new frame for every Render(). If you set this to five, you will need to do five Render() invocations before seeing the result. This isn't very impressive unless something is changing between the Renders. Changing this value may reset the current subframe count.


setSubFrames

public void setSubFrames(int id0)
Set the number of sub frames for doing motion blur. The default is zero. Once this is set greater than one, you will no longer see a new frame for every Render(). If you set this to five, you will need to do five Render() invocations before seeing the result. This isn't very impressive unless something is changing between the Renders. Changing this value may reset the current subframe count.


getNeverRendered

public int getNeverRendered()
This flag is set if the window hasn't rendered since it was created


getAbortRender

public int getAbortRender()
This is a flag that can be set to interrupt a rendering that is in progress.


setAbortRender

public void setAbortRender(int id0)
This is a flag that can be set to interrupt a rendering that is in progress.


getInAbortCheck

public int getInAbortCheck()
This is a flag that can be set to interrupt a rendering that is in progress.


setInAbortCheck

public void setInAbortCheck(int id0)
This is a flag that can be set to interrupt a rendering that is in progress.


checkAbortStatus

public int checkAbortStatus()
This is a flag that can be set to interrupt a rendering that is in progress.


getIsPicking

public int getIsPicking()

setIsPicking

public void setIsPicking(int id0)

isPickingOn

public void isPickingOn()

isPickingOff

public void isPickingOff()

getEventPending

public int getEventPending()
Check to see if a mouse button has been pressed. All other events are ignored by this method. Ideally, you want to abort the render on any event which causes the DesiredUpdateRate to switch from a high-quality rate to a more interactive rate.


checkInRenderStatus

public int checkInRenderStatus()
Clear status (after an exception was thrown for example)


clearInRenderStatus

public void clearInRenderStatus()
Set/Get the desired update rate. This is used with the vtkLODActor class. When using level of detail actors you need to specify what update rate you require. The LODActors then will pick the correct resolution to meet your desired update rate in frames per second. A value of zero indicates that they can use all the time they want to.


setDesiredUpdateRate

public void setDesiredUpdateRate(double id0)
Set/Get the desired update rate. This is used with the vtkLODActor class. When using level of detail actors you need to specify what update rate you require. The LODActors then will pick the correct resolution to meet your desired update rate in frames per second. A value of zero indicates that they can use all the time they want to.


getDesiredUpdateRate

public double getDesiredUpdateRate()
Set/Get the desired update rate. This is used with the vtkLODActor class. When using level of detail actors you need to specify what update rate you require. The LODActors then will pick the correct resolution to meet your desired update rate in frames per second. A value of zero indicates that they can use all the time they want to.


getNumberOfLayers

public int getNumberOfLayers()
Get the number of layers for renderers. Each renderer should have its layer set individually. Some algorithms iterate through all layers, so it is not wise to set the number of layers to be exorbitantly large (say bigger than 100).


setNumberOfLayers

public void setNumberOfLayers(int id0)
Get the number of layers for renderers. Each renderer should have its layer set individually. Some algorithms iterate through all layers, so it is not wise to set the number of layers to be exorbitantly large (say bigger than 100).


getNumberOfLayersMinValue

public int getNumberOfLayersMinValue()
Get the number of layers for renderers. Each renderer should have its layer set individually. Some algorithms iterate through all layers, so it is not wise to set the number of layers to be exorbitantly large (say bigger than 100).


getNumberOfLayersMaxValue

public int getNumberOfLayersMaxValue()
Get the number of layers for renderers. Each renderer should have its layer set individually. Some algorithms iterate through all layers, so it is not wise to set the number of layers to be exorbitantly large (say bigger than 100).


getInteractor

public vtkRenderWindowInteractor getInteractor()
Get the interactor associated with this render window


setInteractor

public void setInteractor(vtkRenderWindowInteractor id0)
Get the interactor associated with this render window


unRegister

public void unRegister(vtkObjectBase id0)
This Method detects loops of RenderWindow<->Interactor, so objects are freed properly.

Overrides:
unRegister in class vtkObject

setWindowInfo

public void setWindowInfo(java.lang.String id0)
Dummy stubs for vtkWindow API.

Overrides:
setWindowInfo in class vtkWindow

setNextWindowInfo

public void setNextWindowInfo(java.lang.String id0)
Dummy stubs for vtkWindow API.


setParentInfo

public void setParentInfo(java.lang.String id0)
Dummy stubs for vtkWindow API.

Overrides:
setParentInfo in class vtkWindow

makeCurrent

public void makeCurrent()
Make this the current window.

Overrides:
makeCurrent in class vtkWindow

setForceMakeCurrent

public void setForceMakeCurrent()
If called, allow MakeCurrent() to skip cache-check when called. MakeCurrent() reverts to original behavior of cache-checking on the next render.


reportCapabilities

public java.lang.String reportCapabilities()
Get report of capabilities for the render window


supportsOpenGL

public int supportsOpenGL()
Does this render window support OpenGL? 0-false, 1-true


isDirect

public int isDirect()
Is this render window using hardware acceleration? 0-false, 1-true


getDepthBufferSize

public int getDepthBufferSize()
This method should be defined by the subclass. How many bits of precision are there in the zbuffer?


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkWindow


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.