|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpl.mipl.jade.graphics.Jade2D
A class containing static convenience methods, rendering hints and constants for the Jade2D rendering library.
Field Summary | |
static RenderingHints.Key |
KEY_CONVEX_SHAPE_HINT
Hint indicating if polygons are convex. |
static RenderingHints.Key |
KEY_GL_DRAWABLE_HINT
Readonly hint containing reference to a GL Drawable if there is one. |
static RenderingHints.Key |
KEY_GL_MODELVIEW_HINT
Hint providing the matix to use as the initial OpenGL ModelView matrix during rendering. |
static RenderingHints.Key |
KEY_GL_PROJECTION_HINT
Hint providing the matix to use as the initial OpenGL Projection matrix during rendering. |
static RenderingHints.Key |
KEY_IMMUTABLE_IMAGE_HINT
Hint indicating if images are immutable. |
static RenderingHints.Key |
KEY_IMMUTABLE_SHAPE_HINT
Hint indicating if shapes are immutable. |
static RenderingHints.Key |
KEY_INCREMENTAL_FONT_RENDERER_HINT
Hint indicating the Fonts should be created incrementally. |
static RenderingHints.Key |
KEY_USING_GL_HINT
Readonly hint indicating if this graphics object is associated with a GL drawable. |
static int |
STEREO_ANAGLYPH
Anaglyph mode supports single band grayscale images as well as 3-band color RGB images. |
static int |
STEREO_BOTH
The rendering will be done to both left and right view. |
static int |
STEREO_GL
In STEREO_GL mode left view is rendered to the left buffer and right view is rendered to the right buffer. |
static int |
STEREO_LEFT
The rendering will be done to the Left eye How it's going to be done is stereo mode specific. |
static int |
STEREO_OFF
The rendering will be done with stereo capabilities turned off or ignored. |
static int |
STEREO_RIGHT
The rendering will be done to the Right eye How it's going to be done is stereo mode specific. |
Method Summary | |
static boolean |
isOpenGLAvailable()
Returns true if the Jade2D OpenGL Renderer is currently available, false if Jade2D is using the standard Java renderer. |
static boolean |
isOpenGLEnabled()
Returns true if the OpenGL pluggable renderer is enabled, false otherwise. |
static boolean |
isOpenGLGraphics(Graphics g)
Returns true if the specified Graphics object is associated with an OpenGL drawable. |
static void |
setOpenGLEnabled(boolean val)
Sets whether the OpenGL pluggable renderer is enabled. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final RenderingHints.Key KEY_USING_GL_HINT
public static final RenderingHints.Key KEY_GL_DRAWABLE_HINT
public static final RenderingHints.Key KEY_GL_MODELVIEW_HINT
Hint providing the matix to use as the initial OpenGL ModelView matrix during rendering. If this is non-null, it must be a sixteen element double array in the standard OpenGL arrangement. This matrix is post-multiplied by the Graphic's AffineTransform to generate the final GL matrix used during rendering.
public static final RenderingHints.Key KEY_GL_PROJECTION_HINT
Hint providing the matix to use as the initial OpenGL Projection matrix during rendering. If this is non-null, it must be a sixteen element double array in the standard OpenGL arrangement.
public static final RenderingHints.Key KEY_CONVEX_SHAPE_HINT
public static final RenderingHints.Key KEY_IMMUTABLE_SHAPE_HINT
Hint indicating if shapes are immutable. If this rendering hint is set to Boolean.TRUE, then Shape and Polygon objects drawn using draw() or fill() are assumed to be immutable - that is, the coordinates in the shape are assumed to never change. For immutable shapes, the renderer may cache information about the shape for reuse in future renderings. The default is Boolean.FALSE.
public static final RenderingHints.Key KEY_IMMUTABLE_IMAGE_HINT
Hint indicating if images are immutable. If this rendering hint is set to Boolean.TRUE, then Images drawn using drawImage() are assumed to be immutable - that is, the contents of the image is assumed never to change. For immutable images, the renderer caches information about the image for reuse in future renderings.
The default is Boolean.TRUE.
public static final RenderingHints.Key KEY_INCREMENTAL_FONT_RENDERER_HINT
Hint indicating the Fonts should be created incrementally. If this rendering hint is set, the font glyphs are created just when needed, otherwise, the whole Font is created the first time one glyph is needed. For zooming interfaces, creating font incrementally improves the performance when animating a zoom. For other types of interfaces, creating the font once is much faster.
The default is Boolean.FALSE.
public static final int STEREO_BOTH
public static final int STEREO_LEFT
public static final int STEREO_RIGHT
public static final int STEREO_OFF
public static final int STEREO_ANAGLYPH
public static final int STEREO_GL
Method Detail |
public static boolean isOpenGLEnabled()
public static void setOpenGLEnabled(boolean val)
public static boolean isOpenGLAvailable()
public static boolean isOpenGLGraphics(Graphics g)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |