|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.ui.hud.HUDFactory
public final class HUDFactory
This class contains (static) factory methods for the HUD.
| Method Summary | |
|---|---|
static HUD |
createAndInitialize(RenderableSceneGraph sg,
float resX)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(RenderableSceneGraph sg,
float resX,
float resY)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(RenderableSceneGraph sg,
float resX,
float resY,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(RenderableSceneGraph sg,
float resX,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(RenderableSceneGraph sg,
org.openmali.vecmath2.Tuple2f resolution)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(RenderableSceneGraph sg,
org.openmali.vecmath2.Tuple2f resolution,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
float resX)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
float resX,
float resY)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
float resX,
float resY,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
float resX,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
org.openmali.vecmath2.Tuple2f resolution)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
org.openmali.vecmath2.Tuple2f resolution,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
float resX)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
float resX,
float resY)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
float resX,
float resY,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
float resX,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
org.openmali.vecmath2.Tuple2f resolution)
Creates and returns a new HUD instance with the given resolution. |
static HUD |
createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
org.openmali.vecmath2.Tuple2f resolution,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
Creates and returns a new HUD instance with the given resolution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static HUD createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
org.openmali.vecmath2.Tuple2f resolution)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvasWidth - the width of the Canvas3D to take the resolution and aspect fromcanvasHeight - the width of the Canvas3D to take the resolution and aspect fromresolution - resolution for this HUD
public static HUD createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
org.openmali.vecmath2.Tuple2f resolution)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvas - a Canvas3D instance to take the aspect ratio fromresolution - resolution for this HUD
public static HUD createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
float resX,
float resY)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvasWidth - the width of the Canvas3D to take the resolution and aspect fromcanvasHeight - the width of the Canvas3D to take the resolution and aspect fromresX - width of the resolution for this HUDresY - height of the resolution for this HUD
public static HUD createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
float resX)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvasWidth - the width of the Canvas3D to take the resolution and aspect fromcanvasHeight - the width of the Canvas3D to take the resolution and aspect fromresX - the x-resolution of the coordinate system. The y-resolution is calculateed by (resX / canvasAspect).
public static HUD createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
float resX,
float resY)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvas - a Canvas3D instance to take the aspect ratio fromresX - width of the resolution for this HUDresY - height of the resolution for this HUD
public static HUD createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
float resX)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvas - a Canvas3D instance to take the aspect ratio fromresX - the x-resolution of the coordinate system. The y-resolution is calculateed by (resX / canvasAspect).rl - a RenderLoop instance with registered Mouse- and Keyboards
public static HUD createAndInitialize(RenderableSceneGraph sg,
org.openmali.vecmath2.Tuple2f resolution)
sg - a RenderableSceneGraph implementationresolution - resolution for this HUDrl - a RenderLoop instance with registered Mouse- and Keyboards
public static HUD createAndInitialize(RenderableSceneGraph sg,
float resX,
float resY)
sg - a RenderableSceneGraph instanceresX - width of the resolution for this HUDresY - height of the resolution for this HUD
public static HUD createAndInitialize(RenderableSceneGraph sg,
float resX)
sg - a RenderableSceneGraph instanceresX - the x-resolution of the coordinate system. The y-resolution is calculateed by (resX / canvasAspect).
public static HUD createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
org.openmali.vecmath2.Tuple2f resolution,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvasWidth - the width of the Canvas3D to take the resolution and aspect fromcanvasHeight - the width of the Canvas3D to take the resolution and aspect fromresolution - resolution for this HUDkeyboard - an instance of Keyboard to link with the hud for keyboard eventsmouse - an instance of Mouse to link with the hud for mouse events
public static HUD createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
org.openmali.vecmath2.Tuple2f resolution,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvas - a Canvas3D instance to take the aspect ratio fromresolution - resolution for this HUDkeyboard - an instance of Keyboard to link with the hud for keyboard eventsmouse - an instance of Mouse to link with the hud for mouse events
public static HUD createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
float resX,
float resY,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvasWidth - the width of the Canvas3D to take the resolution and aspect fromcanvasHeight - the width of the Canvas3D to take the resolution and aspect fromresX - height of the resolution for this HUDresY - width of the resolution for this HUDkeyboard - an instance of Keyboard to link with the hud for keyboard eventsmouse - an instance of Mouse to link with the hud for mouse events
public static HUD createAndInitialize(SceneGraph sg,
int canvasWidth,
int canvasHeight,
float resX,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvasWidth - the width of the Canvas3D to take the resolution and aspect fromcanvasHeight - the width of the Canvas3D to take the resolution and aspect fromresX - the x-resolution of the coordinate system. The y-resolution is calculateed by (resX / canvasAspect).keyboard - an instance of Keyboard to link with the hud for keyboard eventsmouse - an instance of Mouse to link with the hud for mouse events
public static HUD createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
float resX,
float resY,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvas - a Canvas3D instance to take the aspect ratio fromresY - width of the resolution for this HUDresX - height of the resolution for this HUDkeyboard - an instance of Keyboard to link with the hud for keyboard eventsmouse - an instance of Mouse to link with the hud for mouse events
public static HUD createAndInitialize(SceneGraph sg,
org.openmali.types.twodee.Sized2iRO canvas,
float resX,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
sg - SceneGraph implementation (like Xith3DEnvironment) to add The HUD tocanvas - a Canvas3D instance to take the aspect ratio fromresX - the x-resolution of the coordinate system. The y-resolution is calculateed by (resX / canvasAspect).keyboard - an instance of Keyboard to link with the hud for keyboard eventsmouse - an instance of Mouse to link with the hud for mouse events
public static HUD createAndInitialize(RenderableSceneGraph sg,
org.openmali.vecmath2.Tuple2f resolution,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
sg - a RenderableSceneGraph instanceresolution - resolution for this HUDkeyboard - an instance of Keyboard to link with the hud for keyboard eventsmouse - an instance of Mouse to link with the hud for mouse events
public static HUD createAndInitialize(RenderableSceneGraph sg,
float resX,
float resY,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
sg - a RenderableSceneGraph instanceresX - width of the resolution for this HUDresY - height of the resolution for this HUDkeyboard - an instance of Keyboard to link with the hud for keyboard eventsmouse - an instance of Mouse to link with the hud for mouse events
public static HUD createAndInitialize(RenderableSceneGraph sg,
float resX,
org.jagatoo.input.devices.Keyboard keyboard,
org.jagatoo.input.devices.Mouse mouse)
sg - a RenderableSceneGraph instanceresX - the x-resolution of the coordinate system. The y-resolution is calculateed by (resX / canvasAspect).keyboard - an instance of Keyboard to link with the hud for keyboard eventsmouse - an instance of Mouse to link with the hud for mouse events
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||