Package org.jzy3d.plot3d.primitives
Class EmulGLDrawableImage
java.lang.Object
org.jzy3d.plot3d.primitives.Drawable
org.jzy3d.plot3d.primitives.DrawableImage
org.jzy3d.plot3d.primitives.EmulGLDrawableImage
- All Implemented Interfaces:
IGLRenderer,ISortableDraw
Renders an image at the specified 3d position.
The equivalent of
.
invalid @link
DrawableTexture
-
Field Summary
FieldsFields inherited from class org.jzy3d.plot3d.primitives.Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore -
Constructor Summary
ConstructorsConstructorDescriptionEmulGLDrawableImage(BufferedImage image) EmulGLDrawableImage(BufferedImage image, Coord3d position) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyGeometryTransform(Transform transform) voidCall OpenGL2 routines for rendering the object.static BufferedImagestatic BufferedImagestatic BufferedImagestatic BufferedImagevoidsetPosition(Coord3d position) voidMethods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, asWireframeable, dispose, doDrawBoundsIfDisplayed, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, toString
-
Field Details
-
image
-
position
-
DEFAULT_IMG_WIDTH
public static int DEFAULT_IMG_WIDTH -
DEFAULT_IMG_HEIGHT
public static int DEFAULT_IMG_HEIGHT
-
-
Constructor Details
-
EmulGLDrawableImage
-
EmulGLDrawableImage
-
-
Method Details
-
draw
Description copied from class:DrawableCall OpenGL2 routines for rendering the object.- Specified by:
drawin interfaceIGLRenderer- Specified by:
drawin classDrawable
-
applyGeometryTransform
- Specified by:
applyGeometryTransformin classDrawable
-
updateBounds
public void updateBounds()- Specified by:
updateBoundsin classDrawable
-
getPosition
-
setPosition
-
getImage
-
getImage
-
getImage
-
getImage
public static BufferedImage getImage(Shape shape, int width, int height, int imageType, Color color)
-