Class NativeDesktopPainter
java.lang.Object
org.jzy3d.painters.AbstractPainter
org.jzy3d.painters.NativeDesktopPainter
- All Implemented Interfaces:
IPainter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FontMetricsprotected com.jogamp.opengl.GLstatic final intstatic final intprotected com.jogamp.opengl.glu.GLUprotected com.jogamp.opengl.util.gl2.GLUTprotected BufferedImageA 1x1 image used for processing text length in pixel if no context is availableFields inherited from class AbstractPainter
camera, canvas, os, view -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintclipPlaneId(int id) Return the GL clip plane ID according to an ID in [0;5]voidconfigureGL(Quality quality) protected IntBufferJOGL requires direct buffers for some functions : copy heap buffers to direct buffers.voiddrawImage(ByteBuffer imageBuffer, int imageWidth, int imageHeight, Coord2d pixelZoom, Coord3d imagePosition) voidRender 2D text at the given 3D position.com.jogamp.opengl.GLContextgetCurrentContext(ICanvas canvas) com.jogamp.opengl.GLgetCurrentGL(ICanvas canvas) Get the current GL context of the canvas and make it current.com.jogamp.opengl.GLgetGL()com.jogamp.opengl.GL2getGL2()com.jogamp.opengl.glu.GLUgetGLU()com.jogamp.opengl.util.gl2.GLUTgetGLUT()double[]float[]protected com.jogamp.opengl.util.awt.TextRenderergetOrCreateTextRenderer(Font font) double[]float[]intgetTextLengthInPixels(int font, String string) intgetTextLengthInPixels(Font font, String string) int[]voidglActiveTexture(int texture) voidglAlphaFunc(int func, float ref) voidglAttachShader(int program, int shader) voidglBegin(int type) voidvoidvoidvoidvoidvoidvoidvoidglBeginQuery(int target, int id) voidglBindBuffer(int target, int buffer) voidglBindFramebuffer(int target, int framebuffer) voidglBindTexture(int target, int texture) voidglBitmap(int width, int height, float xorig, float yorig, float xmove, float ymove, byte[] bitmap, int bitmap_offset) voidglBlendEquation(int mode) voidglBlendFunc(int sfactor, int dfactor) voidglBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) voidglBufferData(int target, long size, Buffer data, int usage) voidglBufferSubData(int target, long offset, long size, Buffer data) voidglCallList(int list) intglCheckFramebufferStatus(int target) voidglClear(int mask) voidglClearColor(float red, float green, float blue, float alpha) voidvoidglClearDepth(double d) voidglClearStencil(int s) voidglClipPlane(int plane, double[] equation) voidglColor3f(float r, float g, float b) voidglColor4f(float r, float g, float b, float a) voidglColorPointer(int size, int type, int stride, long pointerOffset) voidglCompileShader(int shader) intintglCreateShader(int type) voidglCullFace(int mode) voidvoidglDeleteBuffers(int n, int[] buffers, int offset) voidglDeleteFramebuffers(int n, int[] framebuffers, int offset) voidglDeleteLists(int list, int range) voidglDeleteProgram(int program) voidglDeleteQueries(int n, int[] ids, int offset) voidglDeleteShader(int shader) voidglDeleteTextures(int n, int[] textures, int offset) voidglDepthFunc(int func) voidglDepthFunc(DepthFunc func) voidglDepthRangef(float near, float far) voidglDetachShader(int program, int shader) voidglDisable(int type) voidvoidglDisable_ClipPlane(int plane) voidvoidvoidglDisable_Light(int light) voidvoidvoidvoidvoidvoidglDisableClientState(int array) voidglDrawArrays(int mode, int first, int count) voidglDrawBuffer(int mode) voidglDrawBuffers(int n, int[] buffers, int offset) voidglDrawElements(int mode, int count, int type, long indicesOffset) voidglDrawPixels(int width, int height, int format, int type, Buffer pixels) voidglEnable(int type) voidvoidglEnable_ClipPlane(int plane) voidvoidvoidvoidglEnable_Light(int light) voidvoidvoidvoidvoidvoidvoidglEnableClientState(int array) voidglEnd()voidvoidglEndQuery(int target) voidglEvalCoord2f(float u, float v) voidglFeedbackBuffer(int size, int type, FloatBuffer buffer) voidglFlush()voidglFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level) voidglFrontFace(int mode) voidvoidglFrustum(double left, double right, double bottom, double top, double zNear, double zFar) voidglGenBuffers(int n, int[] buffers, int offset) voidglGenFramebuffers(int n, int[] framebuffers, int offset) intglGenLists(int range) voidglGenQueries(int n, int[] ids, int offset) voidglGenTextures(int n, int[] textures, int offset) voidglGetDoublev(int pname, double[] params, int params_offset) intvoidglGetFloatv(int pname, float[] data, int data_offset) voidglGetIntegerv(int pname, int[] data, int data_offset) glGetProgramInfoLog(int program) voidglGetProgramiv(int program, int pname, int[] params, int offset) voidglGetQueryObjectuiv(int id, int pname, int[] params, int offset) glGetShaderInfoLog(int shader) voidglGetShaderiv(int shader, int pname, int[] params, int offset) glGetString(int name) intglGetUniformLocation(int program, String name) voidglHint(int target, int mode) voidvoidbooleanglIsList(int list) voidglLight_Ambiant(int lightId, Color ambiantColor) voidglLight_Diffuse(int lightId, Color diffuseColor) voidglLight_Position(int lightId, float[] positionZero) voidglLight_Shininess(int lightId, float value) voidglLight_Specular(int lightId, Color specularColor) voidglLightf(int light, int pname, float value) voidglLightf(int light, Attenuation.Type attenuationType, float value) voidglLightfv(int light, int pname, float[] params, int params_offset) voidglLightModel(LightModel model, boolean value) voidglLightModel(LightModel model, Color color) voidglLightModelfv(int mode, float[] value) voidglLightModeli(int mode, int value) voidglLineStipple(int factor, short pattern) voidglLineWidth(float width) voidglLinkProgram(int program) voidvoidglLoadName(int name) voidglMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, FloatBuffer points) voidglMaterial(MaterialProperty material, float[] color, boolean isFront) voidglMaterial(MaterialProperty material, Color color, boolean isFront) voidglMaterialfv(int face, int pname, float[] params, int params_offset) voidglMatrixMode(int mode) voidvoidvoidglMultiDrawArrays(int mode, IntBuffer first, IntBuffer count, int drawcount) voidglMultiDrawElements(int mode, IntBuffer count, int type, LongBuffer indicesOffsets, int drawcount) voidglNewList(int list, int mode) voidvoidglNormal3f(float nx, float ny, float nz) voidglNormalPointer(int type, int stride, long pointerOffset) voidglOrtho(double left, double right, double bottom, double top, double near_val, double far_val) voidglPassThrough(float token) voidglPixelStore(PixelStore store, int param) voidglPixelStorei(int pname, int param) voidglPixelZoom(float xfactor, float yfactor) voidglPointSize(float width) voidglPolygonMode(int frontOrBack, int fill) voidglPolygonMode(PolygonMode mode, PolygonFill fill) voidglPolygonOffset(float factor, float units) voidvoidvoidglPrimitiveRestartIndex(int index) voidOPEN GL InterfacevoidglPushName(int name) voidglRasterPos3f(float x, float y, float z) voidglReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) intglRenderMode(int mode) intglRenderMode(RenderMode mode) voidglRotatef(float angle, float x, float y, float z) voidglScalef(float x, float y, float z) voidglSelectBuffer(int size, IntBuffer buffer) voidglShadeModel(int mode) voidglShadeModel(ColorModel colorModel) voidvoidvoidglShaderSource(int shader, String[] sources) voidglStencilFunc(StencilFunc func, int ref, int mask) voidglStencilMask(int mask) voidvoidvoidglStencilOp(StencilOp fail, StencilOp zfail, StencilOp zpass) voidglTexCoord2f(float s, float t) voidglTexCoord3f(float s, float t, float r) voidglTexCoordPointer(int size, int type, int stride, long pointerOffset) voidglTexEnvf(int target, int pname, float param) voidglTexEnvi(int target, int pname, int param) voidglTexImage1D(int target, int level, int internalFormat, int width, int border, int format, int type, Buffer pixels) voidglTexImage2D(int target, int level, int internalFormat, int width, int height, int border, int format, int type, Buffer pixels) voidglTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, Buffer pixels) voidglTexParameteri(int target, int pname, int param) voidglTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, Buffer pixels) voidglTranslatef(float x, float y, float z) voidgluCylinder(double base, double top, double height, int slices, int stacks) voidgluDisk(double inner, double outer, int slices, int loops) voidgluLookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) voidglUniform1f(int location, float v0) voidglUniform1fv(int location, int count, float[] value, int offset) voidglUniform1i(int location, int v0) voidglUniform2fv(int location, int count, float[] value, int offset) voidglUniform3fv(int location, int count, float[] value, int offset) voidglUniform4fv(int location, int count, float[] value, int offset) voidglUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset) voidgluOrtho2D(double left, double right, double bottom, double top) voidgluPerspective(double fovy, double aspect, double zNear, double zFar) voidgluPickMatrix(double x, double y, double delX, double delY, int[] viewport, int viewport_offset) booleangluProject(float objX, float objY, float objZ, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float[] winPos, int winPos_offset) voidglUseProgram(int program) voidgluSphere(double radius, int slices, int stacks) intglutBitmapLength(int font, String string) voidglutBitmapString(int font, String string) voidglutBitmapString(Font axisFont, String label, Coord3d p, Color c) Render 2D text at the given 3D position using a font as supported byglutBitmapString(int, String).voidglutSolidCube(float size) voidglutSolidSphere(double radius, int slices, int stacks) voidglutSolidTeapot(float scale) voidglutWireTeapot(float scale) booleangluUnProject(float winX, float winY, float winZ, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float[] objPos, int objPos_offset) voidglValidateProgram(int program) voidglVertex3d(double x, double y, double z) voidglVertex3f(float x, float y, float z) voidglVertexPointer(int size, int type, int stride, long pointerOffset) voidglViewport(int x, int y, int width, int height) protected intlightId(int id) protected intmaterialProperty(MaterialProperty material) protected intpolygonFillValue(PolygonFill mode) protected intpolygonModeValue(PolygonMode mode) voidvoidsetGL(com.jogamp.opengl.GL gl) voidsetGLU(com.jogamp.opengl.glu.GLU glu) voidsetGLUT(com.jogamp.opengl.util.gl2.GLUT glut) protected intMethods inherited from class AbstractPainter
box, clearColor, clip, clip, clipOff, clipOn, clipStatus, color, colorAlphaFactor, colorAlphaOverride, equation, getCamera, getCanvas, getOS, getQuality, getView, gluProject, gluUnProject, isJVMScaleLargerThanNativeScale, isJVMScaleLargerThanNativeScale, material, modelToScreen, modelToScreen, modelToScreen, modelToScreen, modelToScreen, modelToScreen, modelToScreen, modelToScreen, normal, raster, screenToModel, screenToModel, setCamera, setCanvas, setView, transform, vertex, vertex, vertexMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IPainter
box, clearColor, clip, clip, clipOff, clipOn, clipStatus, color, colorAlphaFactor, colorAlphaOverride, getCamera, getCanvas, getOS, getQuality, getView, gluProject, gluUnProject, isJVMScaleLargerThanNativeScale, isJVMScaleLargerThanNativeScale, material, modelToScreen, modelToScreen, modelToScreen, modelToScreen, modelToScreen, modelToScreen, modelToScreen, modelToScreen, normal, raster, screenToModel, screenToModel, setCamera, setCanvas, setView, transform, vertex, vertex, vertex
-
Field Details
-
gl
protected com.jogamp.opengl.GL gl -
glu
protected com.jogamp.opengl.glu.GLU glu -
glut
protected com.jogamp.opengl.util.gl2.GLUT glut -
textLengthFallbackImage
A 1x1 image used for processing text length in pixel if no context is available -
fontMetricsFallback
-
GL_RGBA
public static final int GL_RGBA- See Also:
-
GL_UNSIGNED_BYTE
public static final int GL_UNSIGNED_BYTE- See Also:
-
txtRendererMap
-
-
Constructor Details
-
NativeDesktopPainter
public NativeDesktopPainter()
-
-
Method Details
-
getGL
public com.jogamp.opengl.GL getGL() -
getGL2
public com.jogamp.opengl.GL2 getGL2() -
setGL
public void setGL(com.jogamp.opengl.GL gl) -
getGLU
public com.jogamp.opengl.glu.GLU getGLU() -
setGLU
public void setGLU(com.jogamp.opengl.glu.GLU glu) -
getGLUT
public com.jogamp.opengl.util.gl2.GLUT getGLUT() -
setGLUT
public void setGLUT(com.jogamp.opengl.util.gl2.GLUT glut) -
acquireGL
-
releaseGL
-
getCurrentGL
Get the current GL context of the canvas and make it current. This is usefull when needing to get a GL instance outside of the context of theGLEventListener, e.g. when clicking the frame with mouse. -
getCurrentContext
-
configureGL
- Specified by:
configureGLin interfaceIPainter
-
getWindowingToolkit
- Specified by:
getWindowingToolkitin interfaceIPainter- Overrides:
getWindowingToolkitin classAbstractPainter
-
clearCache
public void clearCache()- Specified by:
clearCachein interfaceIPainter- Overrides:
clearCachein classAbstractPainter
-
getViewPortAsInt
public int[] getViewPortAsInt()- Specified by:
getViewPortAsIntin interfaceIPainter
-
getProjectionAsDouble
public double[] getProjectionAsDouble()- Specified by:
getProjectionAsDoublein interfaceIPainter
-
getProjectionAsFloat
public float[] getProjectionAsFloat()- Specified by:
getProjectionAsFloatin interfaceIPainter
-
getModelViewAsDouble
public double[] getModelViewAsDouble()- Specified by:
getModelViewAsDoublein interfaceIPainter
-
getModelViewAsFloat
public float[] getModelViewAsFloat()- Specified by:
getModelViewAsFloatin interfaceIPainter
-
glPushMatrix
-
glPopMatrix
public void glPopMatrix()- Specified by:
glPopMatrixin interfaceIPainter
-
glMatrixMode
public void glMatrixMode(int mode) - Specified by:
glMatrixModein interfaceIPainter
-
glLoadIdentity
public void glLoadIdentity()- Specified by:
glLoadIdentityin interfaceIPainter
-
glScalef
-
glTranslatef
public void glTranslatef(float x, float y, float z) - Specified by:
glTranslatefin interfaceIPainter
-
glRotatef
-
glEnable
-
glDisable
-
glPointSize
public void glPointSize(float width) - Specified by:
glPointSizein interfaceIPainter
-
glLineWidth
public void glLineWidth(float width) - Specified by:
glLineWidthin interfaceIPainter
-
glBegin
-
glColor3f
-
glColor4f
-
glVertex3f
public void glVertex3f(float x, float y, float z) - Specified by:
glVertex3fin interfaceIPainter
-
glVertex3d
public void glVertex3d(double x, double y, double z) - Specified by:
glVertex3din interfaceIPainter
-
glEnd
-
glFrontFace
public void glFrontFace(int mode) - Specified by:
glFrontFacein interfaceIPainter
-
glCullFace
public void glCullFace(int mode) - Specified by:
glCullFacein interfaceIPainter
-
glPolygonMode
- Specified by:
glPolygonModein interfaceIPainter
-
polygonModeValue
-
polygonFillValue
-
glPolygonMode
public void glPolygonMode(int frontOrBack, int fill) - Specified by:
glPolygonModein interfaceIPainter
-
glPolygonOffset
public void glPolygonOffset(float factor, float units) - Specified by:
glPolygonOffsetin interfaceIPainter
-
glLineStipple
public void glLineStipple(int factor, short pattern) - Specified by:
glLineStipplein interfaceIPainter
-
glTexCoord2f
public void glTexCoord2f(float s, float t) - Specified by:
glTexCoord2fin interfaceIPainter
-
glTexEnvf
-
glTexEnvi
-
glRasterPos3f
public void glRasterPos3f(float x, float y, float z) - Specified by:
glRasterPos3fin interfaceIPainter
-
glDrawPixels
- Specified by:
glDrawPixelsin interfaceIPainter
-
glPixelZoom
public void glPixelZoom(float xfactor, float yfactor) - Specified by:
glPixelZoomin interfaceIPainter
-
glPixelStorei
public void glPixelStorei(int pname, int param) - Specified by:
glPixelStoreiin interfaceIPainter
-
glPixelStore
- Specified by:
glPixelStorein interfaceIPainter
-
glBitmap
-
drawImage
public void drawImage(ByteBuffer imageBuffer, int imageWidth, int imageHeight, Coord2d pixelZoom, Coord3d imagePosition) -
glutBitmapString
- Specified by:
glutBitmapStringin interfaceIPainter
-
drawText
Render 2D text at the given 3D position. TheFontcan be any font name and size supported by AWT. Rotation is in radian and is applied at the center of the text to avoid messing up text layout. -
getOrCreateTextRenderer
-
glutBitmapString
Render 2D text at the given 3D position using a font as supported byglutBitmapString(int, String).- Specified by:
glutBitmapStringin interfaceIPainter
-
glutBitmapLength
- Specified by:
glutBitmapLengthin interfaceIPainter
-
getTextLengthInPixels
- Specified by:
getTextLengthInPixelsin interfaceIPainter
-
getTextLengthInPixels
- Specified by:
getTextLengthInPixelsin interfaceIPainter
-
glGenLists
public int glGenLists(int range) - Specified by:
glGenListsin interfaceIPainter
-
glNewList
-
glNewList
-
glEndList
-
glCallList
public void glCallList(int list) - Specified by:
glCallListin interfaceIPainter
-
glIsList
-
glDeleteLists
public void glDeleteLists(int list, int range) - Specified by:
glDeleteListsin interfaceIPainter
-
gluDisk
-
glutSolidSphere
public void glutSolidSphere(double radius, int slices, int stacks) - Specified by:
glutSolidSpherein interfaceIPainter
-
gluSphere
-
gluCylinder
public void gluCylinder(double base, double top, double height, int slices, int stacks) - Specified by:
gluCylinderin interfaceIPainter
-
glutSolidCube
public void glutSolidCube(float size) - Specified by:
glutSolidCubein interfaceIPainter
-
glutSolidTeapot
public void glutSolidTeapot(float scale) - Specified by:
glutSolidTeapotin interfaceIPainter
-
glutWireTeapot
public void glutWireTeapot(float scale) - Specified by:
glutWireTeapotin interfaceIPainter
-
glFeedbackBuffer
- Specified by:
glFeedbackBufferin interfaceIPainter
-
glRenderMode
public int glRenderMode(int mode) - Specified by:
glRenderModein interfaceIPainter
-
glRenderMode
- Specified by:
glRenderModein interfaceIPainter
-
glPassThrough
public void glPassThrough(float token) - Specified by:
glPassThroughin interfaceIPainter
-
glStencilFunc
- Specified by:
glStencilFuncin interfaceIPainter
-
glStencilMask
public void glStencilMask(int mask) - Specified by:
glStencilMaskin interfaceIPainter
-
glStencilMask_True
public void glStencilMask_True()- Specified by:
glStencilMask_Truein interfaceIPainter
-
glStencilMask_False
public void glStencilMask_False()- Specified by:
glStencilMask_Falsein interfaceIPainter
-
glStencilOp
- Specified by:
glStencilOpin interfaceIPainter
-
glClearStencil
public void glClearStencil(int s) - Specified by:
glClearStencilin interfaceIPainter
-
toInt
-
glOrtho
-
gluOrtho2D
public void gluOrtho2D(double left, double right, double bottom, double top) - Specified by:
gluOrtho2Din interfaceIPainter
-
gluPerspective
public void gluPerspective(double fovy, double aspect, double zNear, double zFar) - Specified by:
gluPerspectivein interfaceIPainter
-
glFrustum
-
gluLookAt
-
glViewport
public void glViewport(int x, int y, int width, int height) - Specified by:
glViewportin interfaceIPainter
-
glClipPlane
public void glClipPlane(int plane, double[] equation) - Specified by:
glClipPlanein interfaceIPainter
-
glEnable_ClipPlane
public void glEnable_ClipPlane(int plane) - Specified by:
glEnable_ClipPlanein interfaceIPainter
-
clipPlaneId
public int clipPlaneId(int id) Return the GL clip plane ID according to an ID in [0;5]- Specified by:
clipPlaneIdin interfaceIPainter
-
glDisable_ClipPlane
public void glDisable_ClipPlane(int plane) - Specified by:
glDisable_ClipPlanein interfaceIPainter
-
gluUnProject
public boolean gluUnProject(float winX, float winY, float winZ, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float[] objPos, int objPos_offset) - Specified by:
gluUnProjectin interfaceIPainter
-
gluProject
public boolean gluProject(float objX, float objY, float objZ, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float[] winPos, int winPos_offset) - Specified by:
gluProjectin interfaceIPainter
-
glGetIntegerv
public void glGetIntegerv(int pname, int[] data, int data_offset) - Specified by:
glGetIntegervin interfaceIPainter
-
glGetDoublev
public void glGetDoublev(int pname, double[] params, int params_offset) - Specified by:
glGetDoublevin interfaceIPainter
-
glGetFloatv
public void glGetFloatv(int pname, float[] data, int data_offset) - Specified by:
glGetFloatvin interfaceIPainter
-
glDepthFunc
public void glDepthFunc(int func) - Specified by:
glDepthFuncin interfaceIPainter
-
glDepthRangef
public void glDepthRangef(float near, float far) - Specified by:
glDepthRangefin interfaceIPainter
-
glBlendFunc
public void glBlendFunc(int sfactor, int dfactor) - Specified by:
glBlendFuncin interfaceIPainter
-
glHint
-
glShadeModel
- Specified by:
glShadeModelin interfaceIPainter
-
glShadeModel
public void glShadeModel(int mode) - Specified by:
glShadeModelin interfaceIPainter
-
glShadeModel_Smooth
public void glShadeModel_Smooth()- Specified by:
glShadeModel_Smoothin interfaceIPainter
-
glShadeModel_Flat
public void glShadeModel_Flat()- Specified by:
glShadeModel_Flatin interfaceIPainter
-
glMaterialfv
public void glMaterialfv(int face, int pname, float[] params, int params_offset) - Specified by:
glMaterialfvin interfaceIPainter
-
glNormal3f
public void glNormal3f(float nx, float ny, float nz) - Specified by:
glNormal3fin interfaceIPainter
-
glLightModeli
public void glLightModeli(int mode, int value) - Specified by:
glLightModeliin interfaceIPainter
-
glLightModelfv
public void glLightModelfv(int mode, float[] value) - Specified by:
glLightModelfvin interfaceIPainter
-
glLightModel
- Specified by:
glLightModelin interfaceIPainter
-
glLightModel
- Specified by:
glLightModelin interfaceIPainter
-
glLightf
-
glLightf
-
glLightfv
-
glLight_Position
public void glLight_Position(int lightId, float[] positionZero) - Specified by:
glLight_Positionin interfaceIPainter
-
glLight_Ambiant
- Specified by:
glLight_Ambiantin interfaceIPainter
-
glLight_Diffuse
- Specified by:
glLight_Diffusein interfaceIPainter
-
glLight_Specular
- Specified by:
glLight_Specularin interfaceIPainter
-
glLight_Shininess
public void glLight_Shininess(int lightId, float value) - Specified by:
glLight_Shininessin interfaceIPainter
-
glEnable_Light
public void glEnable_Light(int light) - Specified by:
glEnable_Lightin interfaceIPainter
-
glDisable_Light
public void glDisable_Light(int light) - Specified by:
glDisable_Lightin interfaceIPainter
-
lightId
protected int lightId(int id) -
glClearColor
public void glClearColor(float red, float green, float blue, float alpha) - Specified by:
glClearColorin interfaceIPainter
-
glClearDepth
public void glClearDepth(double d) - Specified by:
glClearDepthin interfaceIPainter
-
glClear
-
glClearColorAndDepthBuffers
public void glClearColorAndDepthBuffers()- Specified by:
glClearColorAndDepthBuffersin interfaceIPainter
-
glInitNames
public void glInitNames()- Specified by:
glInitNamesin interfaceIPainter
-
glLoadName
public void glLoadName(int name) - Specified by:
glLoadNamein interfaceIPainter
-
glPushName
public void glPushName(int name) - Specified by:
glPushNamein interfaceIPainter
-
glPopName
-
glSelectBuffer
- Specified by:
glSelectBufferin interfaceIPainter
-
gluPickMatrix
public void gluPickMatrix(double x, double y, double delX, double delY, int[] viewport, int viewport_offset) - Specified by:
gluPickMatrixin interfaceIPainter
-
glFlush
-
glEvalCoord2f
public void glEvalCoord2f(float u, float v) - Specified by:
glEvalCoord2fin interfaceIPainter
-
glMap2f
public void glMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, FloatBuffer points) -
glEnable_PolygonOffsetFill
public void glEnable_PolygonOffsetFill()- Specified by:
glEnable_PolygonOffsetFillin interfaceIPainter
-
glDisable_PolygonOffsetFill
public void glDisable_PolygonOffsetFill()- Specified by:
glDisable_PolygonOffsetFillin interfaceIPainter
-
glEnable_PolygonOffsetLine
public void glEnable_PolygonOffsetLine()- Specified by:
glEnable_PolygonOffsetLinein interfaceIPainter
-
glDisable_PolygonOffsetLine
public void glDisable_PolygonOffsetLine()- Specified by:
glDisable_PolygonOffsetLinein interfaceIPainter
-
glEnable_Blend
public void glEnable_Blend()- Specified by:
glEnable_Blendin interfaceIPainter
-
glDisable_Blend
public void glDisable_Blend()- Specified by:
glDisable_Blendin interfaceIPainter
-
glMatrixMode_ModelView
public void glMatrixMode_ModelView()- Specified by:
glMatrixMode_ModelViewin interfaceIPainter
-
glMatrixMode_Projection
public void glMatrixMode_Projection()- Specified by:
glMatrixMode_Projectionin interfaceIPainter
-
glBegin_Polygon
public void glBegin_Polygon()- Specified by:
glBegin_Polygonin interfaceIPainter
-
glBegin_Quad
public void glBegin_Quad()- Specified by:
glBegin_Quadin interfaceIPainter
-
glBegin_Triangle
public void glBegin_Triangle()- Specified by:
glBegin_Trianglein interfaceIPainter
-
glBegin_Point
public void glBegin_Point()- Specified by:
glBegin_Pointin interfaceIPainter
-
glBegin_LineStrip
public void glBegin_LineStrip()- Specified by:
glBegin_LineStripin interfaceIPainter
-
glBegin_LineLoop
public void glBegin_LineLoop()- Specified by:
glBegin_LineLoopin interfaceIPainter
-
glBegin_Line
public void glBegin_Line()- Specified by:
glBegin_Linein interfaceIPainter
-
glEnable_LineStipple
public void glEnable_LineStipple()- Specified by:
glEnable_LineStipplein interfaceIPainter
-
glDisable_LineStipple
public void glDisable_LineStipple()- Specified by:
glDisable_LineStipplein interfaceIPainter
-
glEnable_CullFace
public void glEnable_CullFace()- Specified by:
glEnable_CullFacein interfaceIPainter
-
glDisable_CullFace
public void glDisable_CullFace()- Specified by:
glDisable_CullFacein interfaceIPainter
-
glFrontFace_ClockWise
public void glFrontFace_ClockWise()- Specified by:
glFrontFace_ClockWisein interfaceIPainter
-
glCullFace_Front
public void glCullFace_Front()- Specified by:
glCullFace_Frontin interfaceIPainter
-
glDisable_Lighting
public void glDisable_Lighting()- Specified by:
glDisable_Lightingin interfaceIPainter
-
glEnable_Lighting
public void glEnable_Lighting()- Specified by:
glEnable_Lightingin interfaceIPainter
-
glEnable_ColorMaterial
public void glEnable_ColorMaterial()- Specified by:
glEnable_ColorMaterialin interfaceIPainter
-
glMaterial
- Specified by:
glMaterialin interfaceIPainter
-
glMaterial
- Specified by:
glMaterialin interfaceIPainter
-
materialProperty
-
glEnable_PointSmooth
public void glEnable_PointSmooth()- Specified by:
glEnable_PointSmoothin interfaceIPainter
-
glHint_PointSmooth_Nicest
public void glHint_PointSmooth_Nicest()- Specified by:
glHint_PointSmooth_Nicestin interfaceIPainter
-
glDepthFunc
- Specified by:
glDepthFuncin interfaceIPainter
-
glEnable_DepthTest
public void glEnable_DepthTest()- Specified by:
glEnable_DepthTestin interfaceIPainter
-
glDisable_DepthTest
public void glDisable_DepthTest()- Specified by:
glDisable_DepthTestin interfaceIPainter
-
glEnable_Stencil
public void glEnable_Stencil()- Specified by:
glEnable_Stencilin interfaceIPainter
-
glDisable_Stencil
public void glDisable_Stencil()- Specified by:
glDisable_Stencilin interfaceIPainter
-
direct
-
glGenBuffers
public void glGenBuffers(int n, int[] buffers, int offset) - Specified by:
glGenBuffersin interfaceIPainter
-
glDeleteBuffers
public void glDeleteBuffers(int n, int[] buffers, int offset) - Specified by:
glDeleteBuffersin interfaceIPainter
-
glBindBuffer
public void glBindBuffer(int target, int buffer) - Specified by:
glBindBufferin interfaceIPainter
-
glBufferData
- Specified by:
glBufferDatain interfaceIPainter
-
glBufferSubData
- Specified by:
glBufferSubDatain interfaceIPainter
-
glEnableClientState
public void glEnableClientState(int array) - Specified by:
glEnableClientStatein interfaceIPainter
-
glDisableClientState
public void glDisableClientState(int array) - Specified by:
glDisableClientStatein interfaceIPainter
-
glVertexPointer
public void glVertexPointer(int size, int type, int stride, long pointerOffset) - Specified by:
glVertexPointerin interfaceIPainter
-
glNormalPointer
public void glNormalPointer(int type, int stride, long pointerOffset) - Specified by:
glNormalPointerin interfaceIPainter
-
glColorPointer
public void glColorPointer(int size, int type, int stride, long pointerOffset) - Specified by:
glColorPointerin interfaceIPainter
-
glTexCoordPointer
public void glTexCoordPointer(int size, int type, int stride, long pointerOffset) - Specified by:
glTexCoordPointerin interfaceIPainter
-
glDrawArrays
public void glDrawArrays(int mode, int first, int count) - Specified by:
glDrawArraysin interfaceIPainter
-
glDrawElements
public void glDrawElements(int mode, int count, int type, long indicesOffset) - Specified by:
glDrawElementsin interfaceIPainter
-
glMultiDrawArrays
- Specified by:
glMultiDrawArraysin interfaceIPainter
-
glMultiDrawElements
public void glMultiDrawElements(int mode, IntBuffer count, int type, LongBuffer indicesOffsets, int drawcount) - Specified by:
glMultiDrawElementsin interfaceIPainter
-
glPrimitiveRestartIndex
public void glPrimitiveRestartIndex(int index) - Specified by:
glPrimitiveRestartIndexin interfaceIPainter
-
glCreateShader
public int glCreateShader(int type) - Specified by:
glCreateShaderin interfaceIPainter
-
glShaderSource
- Specified by:
glShaderSourcein interfaceIPainter
-
glCompileShader
public void glCompileShader(int shader) - Specified by:
glCompileShaderin interfaceIPainter
-
glGetShaderiv
public void glGetShaderiv(int shader, int pname, int[] params, int offset) - Specified by:
glGetShaderivin interfaceIPainter
-
glGetShaderInfoLog
- Specified by:
glGetShaderInfoLogin interfaceIPainter
-
glDeleteShader
public void glDeleteShader(int shader) - Specified by:
glDeleteShaderin interfaceIPainter
-
glCreateProgram
public int glCreateProgram()- Specified by:
glCreateProgramin interfaceIPainter
-
glAttachShader
public void glAttachShader(int program, int shader) - Specified by:
glAttachShaderin interfaceIPainter
-
glDetachShader
public void glDetachShader(int program, int shader) - Specified by:
glDetachShaderin interfaceIPainter
-
glLinkProgram
public void glLinkProgram(int program) - Specified by:
glLinkProgramin interfaceIPainter
-
glValidateProgram
public void glValidateProgram(int program) - Specified by:
glValidateProgramin interfaceIPainter
-
glGetProgramiv
public void glGetProgramiv(int program, int pname, int[] params, int offset) - Specified by:
glGetProgramivin interfaceIPainter
-
glGetProgramInfoLog
- Specified by:
glGetProgramInfoLogin interfaceIPainter
-
glUseProgram
public void glUseProgram(int program) - Specified by:
glUseProgramin interfaceIPainter
-
glDeleteProgram
public void glDeleteProgram(int program) - Specified by:
glDeleteProgramin interfaceIPainter
-
glGetUniformLocation
- Specified by:
glGetUniformLocationin interfaceIPainter
-
glUniform1i
public void glUniform1i(int location, int v0) - Specified by:
glUniform1iin interfaceIPainter
-
glUniform1f
public void glUniform1f(int location, float v0) - Specified by:
glUniform1fin interfaceIPainter
-
glUniform1fv
public void glUniform1fv(int location, int count, float[] value, int offset) - Specified by:
glUniform1fvin interfaceIPainter
-
glUniform2fv
public void glUniform2fv(int location, int count, float[] value, int offset) - Specified by:
glUniform2fvin interfaceIPainter
-
glUniform3fv
public void glUniform3fv(int location, int count, float[] value, int offset) - Specified by:
glUniform3fvin interfaceIPainter
-
glUniform4fv
public void glUniform4fv(int location, int count, float[] value, int offset) - Specified by:
glUniform4fvin interfaceIPainter
-
glUniformMatrix4fv
public void glUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset) - Specified by:
glUniformMatrix4fvin interfaceIPainter
-
glGenTextures
public void glGenTextures(int n, int[] textures, int offset) - Specified by:
glGenTexturesin interfaceIPainter
-
glDeleteTextures
public void glDeleteTextures(int n, int[] textures, int offset) - Specified by:
glDeleteTexturesin interfaceIPainter
-
glBindTexture
public void glBindTexture(int target, int texture) - Specified by:
glBindTexturein interfaceIPainter
-
glActiveTexture
public void glActiveTexture(int texture) - Specified by:
glActiveTexturein interfaceIPainter
-
glTexParameteri
public void glTexParameteri(int target, int pname, int param) - Specified by:
glTexParameteriin interfaceIPainter
-
glTexImage1D
public void glTexImage1D(int target, int level, int internalFormat, int width, int border, int format, int type, Buffer pixels) - Specified by:
glTexImage1Din interfaceIPainter
-
glTexImage2D
public void glTexImage2D(int target, int level, int internalFormat, int width, int height, int border, int format, int type, Buffer pixels) - Specified by:
glTexImage2Din interfaceIPainter
-
glTexImage3D
public void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, Buffer pixels) - Specified by:
glTexImage3Din interfaceIPainter
-
glTexSubImage3D
public void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, Buffer pixels) - Specified by:
glTexSubImage3Din interfaceIPainter
-
glTexCoord3f
public void glTexCoord3f(float s, float t, float r) - Specified by:
glTexCoord3fin interfaceIPainter
-
glGenFramebuffers
public void glGenFramebuffers(int n, int[] framebuffers, int offset) - Specified by:
glGenFramebuffersin interfaceIPainter
-
glDeleteFramebuffers
public void glDeleteFramebuffers(int n, int[] framebuffers, int offset) - Specified by:
glDeleteFramebuffersin interfaceIPainter
-
glBindFramebuffer
public void glBindFramebuffer(int target, int framebuffer) - Specified by:
glBindFramebufferin interfaceIPainter
-
glFramebufferTexture2D
public void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level) - Specified by:
glFramebufferTexture2Din interfaceIPainter
-
glCheckFramebufferStatus
public int glCheckFramebufferStatus(int target) - Specified by:
glCheckFramebufferStatusin interfaceIPainter
-
glDrawBuffer
public void glDrawBuffer(int mode) - Specified by:
glDrawBufferin interfaceIPainter
-
glDrawBuffers
public void glDrawBuffers(int n, int[] buffers, int offset) - Specified by:
glDrawBuffersin interfaceIPainter
-
glGenQueries
public void glGenQueries(int n, int[] ids, int offset) - Specified by:
glGenQueriesin interfaceIPainter
-
glDeleteQueries
public void glDeleteQueries(int n, int[] ids, int offset) - Specified by:
glDeleteQueriesin interfaceIPainter
-
glBeginQuery
public void glBeginQuery(int target, int id) - Specified by:
glBeginQueryin interfaceIPainter
-
glEndQuery
public void glEndQuery(int target) - Specified by:
glEndQueryin interfaceIPainter
-
glGetQueryObjectuiv
public void glGetQueryObjectuiv(int id, int pname, int[] params, int offset) - Specified by:
glGetQueryObjectuivin interfaceIPainter
-
glAlphaFunc
public void glAlphaFunc(int func, float ref) - Specified by:
glAlphaFuncin interfaceIPainter
-
glBlendEquation
public void glBlendEquation(int mode) - Specified by:
glBlendEquationin interfaceIPainter
-
glBlendFuncSeparate
public void glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) - Specified by:
glBlendFuncSeparatein interfaceIPainter
-
glGetError
public int glGetError()- Specified by:
glGetErrorin interfaceIPainter
-
glGetString
- Specified by:
glGetStringin interfaceIPainter
-
glReadPixels
- Specified by:
glReadPixelsin interfaceIPainter
-