Package com.openinventor.inventor
Class SoOffscreenRenderArea.EventArg
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.SoOffscreenRenderArea.EventArg
-
- All Implemented Interfaces:
SbEventArg
- Enclosing class:
- SoOffscreenRenderArea
public static class SoOffscreenRenderArea.EventArg extends Inventor implements SbEventArg
Event that can be sent to the application for each tile rendered.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumTiles()
Returns the number of tiles used to generate the entire image.SbVec2i32
getOrigin()
Returns the origin of the tile in the entire image.SoOffscreenRenderArea
getSource()
Returns theSoOffscreenRenderArea
that raised this event.SbRasterImage
getTile()
Returns the image of the rendered tile.void
setValue(SoOffscreenRenderArea.EventArg copyFrom)
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
setValue
public void setValue(SoOffscreenRenderArea.EventArg copyFrom)
-
getOrigin
public SbVec2i32 getOrigin()
Returns the origin of the tile in the entire image.
-
getNumTiles
public int getNumTiles()
Returns the number of tiles used to generate the entire image.
-
getTile
public SbRasterImage getTile()
Returns the image of the rendered tile.
-
getSource
public SoOffscreenRenderArea getSource()
Returns theSoOffscreenRenderArea
that raised this event.- Specified by:
getSource
in interfaceSbEventArg
-
-