|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkWindow vtk.vtkRenderWindow
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.
vtkRenderer
,
vtkRenderWindowInteractor
,
Serialized FormField 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.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 |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkRenderWindow()
protected vtkRenderWindow(int dmy)
Method Detail |
public vtkRenderWindow getThisRenderWindow()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkWindow
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkWindow
public void addRenderer(vtkRenderer id0)
public void removeRenderer(vtkRenderer id0)
public java.lang.String getRenderLibrary()
public vtkRendererCollection getRenderers()
public void render()
render
in class vtkWindow
public void start()
public void frame()
public void copyResultFrame()
public vtkRenderWindowInteractor makeRenderWindowInteractor()
public void hideCursor()
public void showCursor()
public void setCursorPosition(int id0, int id1)
public void setCurrentCursor(int id0)
public int getCurrentCursor()
public void setFullScreen(int id0)
public int getFullScreen()
public void fullScreenOn()
public void fullScreenOff()
public void setBorders(int id0)
public int getBorders()
public void bordersOn()
public void bordersOff()
public int getStereoCapableWindow()
public void stereoCapableWindowOn()
public void stereoCapableWindowOff()
public void setStereoCapableWindow(int id0)
public int getStereoRender()
public void setStereoRender(int id0)
public void stereoRenderOn()
public void stereoRenderOff()
public void setAlphaBitPlanes(int id0)
public int getAlphaBitPlanes()
public void alphaBitPlanesOn()
public void alphaBitPlanesOff()
public void setPointSmoothing(int id0)
public int getPointSmoothing()
public void pointSmoothingOn()
public void pointSmoothingOff()
public void setLineSmoothing(int id0)
public int getLineSmoothing()
public void lineSmoothingOn()
public void lineSmoothingOff()
public void setPolygonSmoothing(int id0)
public int getPolygonSmoothing()
public void polygonSmoothingOn()
public void polygonSmoothingOff()
public int getStereoType()
public void setStereoType(int id0)
public void setStereoTypeToCrystalEyes()
public void setStereoTypeToRedBlue()
public void setStereoTypeToInterlaced()
public void setStereoTypeToLeft()
public void setStereoTypeToRight()
public void setStereoTypeToDresden()
public java.lang.String getStereoTypeAsString()
public void stereoUpdate()
public void stereoMidpoint()
public void stereoRenderComplete()
public void windowRemap()
public void setSwapBuffers(int id0)
public int getSwapBuffers()
public void swapBuffersOn()
public void swapBuffersOff()
public int setPixelData(int id0, int id1, int id2, int id3, vtkUnsignedCharArray id4, int id5)
public int getRGBAPixelData(int id0, int id1, int id2, int id3, int id4, vtkFloatArray id5)
public int setRGBAPixelData(int id0, int id1, int id2, int id3, vtkFloatArray id4, int id5, int id6)
public int getRGBACharPixelData(int id0, int id1, int id2, int id3, int id4, vtkUnsignedCharArray id5)
public int setRGBACharPixelData(int id0, int id1, int id2, int id3, vtkUnsignedCharArray id4, int id5, int id6)
public int getZbufferData(int id0, int id1, int id2, int id3, vtkFloatArray id4)
public int setZbufferData(int id0, int id1, int id2, int id3, vtkFloatArray id4)
public int getAAFrames()
public void setAAFrames(int id0)
public int getFDFrames()
public void setFDFrames(int id0)
public int getSubFrames()
public void setSubFrames(int id0)
public int getNeverRendered()
public int getAbortRender()
public void setAbortRender(int id0)
public int getInAbortCheck()
public void setInAbortCheck(int id0)
public int checkAbortStatus()
public int getIsPicking()
public void setIsPicking(int id0)
public void isPickingOn()
public void isPickingOff()
public int getEventPending()
public int checkInRenderStatus()
public void clearInRenderStatus()
public void setDesiredUpdateRate(double id0)
public double getDesiredUpdateRate()
public int getNumberOfLayers()
public void setNumberOfLayers(int id0)
public int getNumberOfLayersMinValue()
public int getNumberOfLayersMaxValue()
public vtkRenderWindowInteractor getInteractor()
public void setInteractor(vtkRenderWindowInteractor id0)
public void unRegister(vtkObjectBase id0)
unRegister
in class vtkObject
public void setWindowInfo(java.lang.String id0)
setWindowInfo
in class vtkWindow
public void setNextWindowInfo(java.lang.String id0)
public void setParentInfo(java.lang.String id0)
setParentInfo
in class vtkWindow
public void makeCurrent()
makeCurrent
in class vtkWindow
public void setForceMakeCurrent()
public java.lang.String reportCapabilities()
public int supportsOpenGL()
public int isDirect()
public int getDepthBufferSize()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkWindow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |