gestalt.p5
Class Ge

java.lang.Object
  extended by gestalt.G
      extended by gestalt.p5.Ge
All Implemented Interfaces:
Gestalt

public class Ge
extends G


Nested Class Summary
static class Ge.FBO
           
 
Field Summary
 
Fields inherited from class gestalt.G
DEFAULT_BIN
 
Fields inherited from interface gestalt.Gestalt
ALPHA, BIN_2D_BACKGROUND, BIN_2D_BACKGROUND_FINISH, BIN_2D_BACKGROUND_SETUP, BIN_2D_FOREGROUND, BIN_2D_FOREGROUND_FINISH, BIN_2D_FOREGROUND_SETUP, BIN_3D, BIN_3D_FINISH, BIN_3D_SETUP, BIN_ARBITRARY, BIN_FRAME_FINISH, BIN_FRAME_SETUP, BIN_NUMBER_OF_DEFAULT_BINS, BITMAP_BLENDFACTOR_DST_ALPHA, BITMAP_BLENDFACTOR_DST_COLOR, BITMAP_BLENDFACTOR_ONE, BITMAP_BLENDFACTOR_ONE_MINUS_DST_ALPHA, BITMAP_BLENDFACTOR_ONE_MINUS_DST_COLOR, BITMAP_BLENDFACTOR_ONE_MINUS_SRC_ALPHA, BITMAP_BLENDFACTOR_ONE_MINUS_SRC_COLOR, BITMAP_BLENDFACTOR_SRC_ALPHA, BITMAP_BLENDFACTOR_SRC_ALPHA_SATURATE, BITMAP_BLENDFACTOR_SRC_COLOR, BITMAP_BLENDFACTOR_ZERO, BITMAP_BLENDMODE_ADD, BITMAP_BLENDMODE_ADD_2, BITMAP_BLENDMODE_MULTIPLY, BITMAP_BLENDMODE_OVERWRITE, BITMAP_COMPONENT_ORDER_BGRA, BITMAP_COMPONENT_ORDER_RGBA, BLUE, CAMERA_A_HANDY_ANGLE, CAMERA_CULLING_BACKFACE, CAMERA_CULLING_FRONT_AND_BACKFACE, CAMERA_CULLING_FRONTFACE, CAMERA_CULLING_NONE, CAMERA_MODE_LOOK_AT, CAMERA_MODE_ROTATE_XYZ, CAMERA_MODE_ROTATION_AXIS, ENGINE_JOGL, EPSILON, FOG_FILTER_EXP, FOG_FILTER_EXP2, FOG_FILTER_LINEAR, FONT_ALIGN_CENTER, FONT_ALIGN_LEFT, FONT_ALIGN_RIGHT, FONT_QUALITY_HIGH, FONT_QUALITY_LOW, FONT_STYLE_BOLD, FONT_STYLE_ITALIC, FONT_STYLE_REGULAR, GREEN, HINT_LEAVE_STATE_UNCHANGED, IMAGE_FILEFORMAT_JPEG, IMAGE_FILEFORMAT_PNG, IMAGE_FILEFORMAT_TGA, INTEL, KEYCODE_0, KEYCODE_1, KEYCODE_2, KEYCODE_3, KEYCODE_4, KEYCODE_5, KEYCODE_6, KEYCODE_7, KEYCODE_8, KEYCODE_9, KEYCODE_A, KEYCODE_B, KEYCODE_C, KEYCODE_D, KEYCODE_DOWN, KEYCODE_E, KEYCODE_ESCAPE, KEYCODE_F, KEYCODE_G, KEYCODE_H, KEYCODE_I, KEYCODE_J, KEYCODE_K, KEYCODE_L, KEYCODE_LEFT, KEYCODE_M, KEYCODE_META, KEYCODE_N, KEYCODE_O, KEYCODE_P, KEYCODE_PAGE_DOWN, KEYCODE_PAGE_UP, KEYCODE_Q, KEYCODE_R, KEYCODE_RIGHT, KEYCODE_S, KEYCODE_SHIFT, KEYCODE_SPACE, KEYCODE_T, KEYCODE_U, KEYCODE_UP, KEYCODE_V, KEYCODE_W, KEYCODE_X, KEYCODE_Y, KEYCODE_Z, LINE_PRIMITIVE_TYPE_LINE_LOOP, LINE_PRIMITIVE_TYPE_LINE_STRIP, LINE_PRIMITIVE_TYPE_LINES, MACOSX, MATERIAL_BLEND_ALPHA, MATERIAL_BLEND_BRIGHTER, MATERIAL_BLEND_CUSTOM, MATERIAL_BLEND_INVERS_MULTIPLY, MATERIAL_BLEND_MULTIPLY, MATERIAL_BLEND_WHITE_INVERT, MATERIAL_NORMAL_NORMALIZE, MATERIAL_NORMAL_RESCALE_NORMALS, MESH_LINE_LOOP, MESH_LINES, MESH_POINTS, MESH_POLYGON, MESH_QUAD_STRIP, MESH_QUADS, MESH_TRIANGLE_FAN, MESH_TRIANGLE_STRIP, MESH_TRIANGLES, MOUSEBUTTON_LEFT, MOUSEBUTTON_MIDDLE, MOUSEBUTTON_RIGHT, MOVIE_DIRECTION_BACKWARDS, MOVIE_DIRECTION_FORWARD, PI, PI_HALF, PICKING_BIN_2D, PICKING_BIN_3D, RED, SHAPE_CUBE_TEXTURE_SAME_FOR_EACH_SIDE, SHAPE_CUBE_TEXTURE_WRAP_AROUND, SHAPE_ORIGIN_BOTTOM_CENTERED, SHAPE_ORIGIN_BOTTOM_LEFT, SHAPE_ORIGIN_BOTTOM_RIGHT, SHAPE_ORIGIN_CENTERED, SHAPE_ORIGIN_CENTERED_LEFT, SHAPE_ORIGIN_CENTERED_RIGHT, SHAPE_ORIGIN_TOP_CENTERED, SHAPE_ORIGIN_TOP_LEFT, SHAPE_ORIGIN_TOP_RIGHT, SHAPE_TRANSFORM_MATRIX, SHAPE_TRANSFORM_MATRIX_AND_ROTATION, SHAPE_TRANSFORM_POSITION_AND_ROTATION, SHAPEBIN_SORT_BY_DISTANCE_TO_CAMERA, SHAPEBIN_SORT_BY_Z_DISTANCE_TO_CAMERAPLANE, SHAPEBIN_SORT_BY_Z_POSITION, SQRT_TWO, TEXTURE_FILTERTYPE_LINEAR, TEXTURE_FILTERTYPE_MIPMAP, TEXTURE_FILTERTYPE_NEAREST, TEXTURE_MEDIA_IMAGE_BGR, TEXTURE_PROPORTION_ARBITRARY, TEXTURE_PROPORTION_POWEROF2, TEXTURE_WRAPMODE_CLAMP, TEXTURE_WRAPMODE_CLAMP_TO_BORDER, TEXTURE_WRAPMODE_REPEAT, TWO_PI, UNDEFINED, USE_DISPLAY_LISTS
 
Method Summary
static void applycamera()
           
static void cameramover(boolean theState)
           
static void decoration(boolean theDecoration)
           
static Disk disk(java.lang.String theFile)
           
static DisplayCapabilities displaycapabilities()
           
static Ge.FBO fbo(int theWidth, int theHeight)
           
static FPSCounter fpscounter(boolean theState)
           
static void fullscreen(boolean theSwitchResolution)
           
static void fullscreen(processing.core.PApplet theParent, boolean theSwitchResolution)
           
static GestaltPlugIn gestalt()
           
static GL gl()
           
static GLU glu()
           
static void init(java.lang.Class<? extends processing.core.PApplet> theClass)
           
static Model model(java.lang.String theModelFile, boolean theUseVBO)
           
static Model model(java.lang.String theModelFile, java.lang.String theImageFile, boolean theUseVBO)
           
static void noFullscreen()
           
static Plane plane(java.lang.String theFile)
           
static QuadLine quadline(java.lang.String theFile)
           
static Ge setup(processing.core.PApplet theParent)
           
static Ge setup(processing.core.PApplet theParent, boolean theMakeP5Friendly)
           
static JoglProcessingFrameBufferObject sketchTexture(processing.core.PApplet theParent, int theWindowWidth, int theWindowHeight, boolean thePresentationModeFlag)
          returns a reference to a texture that contains the current processing sketch.
gestalt MUST be intialized as processing-unfriendly.
note that this texture is sensible to the presentation mode.
static TexturePlugin texture(java.lang.String theString)
           
 
Methods inherited from class gestalt.G
add, camera, cameramover, createDisplayCapabilities, createDisplayCapabilities, cube, cube, disk, disk, disk, disk, disposable, disposable, extract_mesh_from_modeldata, init_fullscreen, init, init, init, init, light, material, mesh, mesh, mesh, mesh, model, model, model, model, model, model, plane, plane, plane, plane, plane, pointspritecloud, pointspritecloud, quad, quad, quad, quad, quadline, quadline, remove, setBin, setup, sphere, sphere, texture, texture
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init(java.lang.Class<? extends processing.core.PApplet> theClass)

setup

public static Ge setup(processing.core.PApplet theParent,
                       boolean theMakeP5Friendly)

setup

public static Ge setup(processing.core.PApplet theParent)

model

public static Model model(java.lang.String theModelFile,
                          java.lang.String theImageFile,
                          boolean theUseVBO)

model

public static Model model(java.lang.String theModelFile,
                          boolean theUseVBO)

plane

public static Plane plane(java.lang.String theFile)

disk

public static Disk disk(java.lang.String theFile)

quadline

public static QuadLine quadline(java.lang.String theFile)

texture

public static TexturePlugin texture(java.lang.String theString)

gl

public static GL gl()

glu

public static GLU glu()

decoration

public static void decoration(boolean theDecoration)

fullscreen

public static void fullscreen(boolean theSwitchResolution)

fullscreen

public static void fullscreen(processing.core.PApplet theParent,
                              boolean theSwitchResolution)

noFullscreen

public static void noFullscreen()

sketchTexture

public static JoglProcessingFrameBufferObject sketchTexture(processing.core.PApplet theParent,
                                                            int theWindowWidth,
                                                            int theWindowHeight,
                                                            boolean thePresentationModeFlag)
returns a reference to a texture that contains the current processing sketch.
gestalt MUST be intialized as processing-unfriendly.
note that this texture is sensible to the presentation mode.

Parameters:
theParent - PApplet
theWindowWidth - int
theWindowHeight - int
thePresentationModeFlag - boolean
Returns:
JoglProcessingFrameBufferObject

gestalt

public static GestaltPlugIn gestalt()

applycamera

public static void applycamera()

cameramover

public static void cameramover(boolean theState)

fpscounter

public static FPSCounter fpscounter(boolean theState)

fbo

public static Ge.FBO fbo(int theWidth,
                         int theHeight)

displaycapabilities

public static DisplayCapabilities displaycapabilities()


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009