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
Fields inherited from class org.jzy3d.plot3d.primitives.Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
-
Constructor Summary
ConstructorDescriptionEmulGLDrawableImage
(BufferedImage image) EmulGLDrawableImage
(BufferedImage image, Coord3d position) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyGeometryTransform
(Transform transform) void
Call OpenGL2 routines for rendering the object.static BufferedImage
static BufferedImage
static BufferedImage
static BufferedImage
void
setPosition
(Coord3d position) void
Methods 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:Drawable
Call OpenGL2 routines for rendering the object.- Specified by:
draw
in interfaceIGLRenderer
- Specified by:
draw
in classDrawable
-
applyGeometryTransform
- Specified by:
applyGeometryTransform
in classDrawable
-
updateBounds
public void updateBounds()- Specified by:
updateBounds
in classDrawable
-
getPosition
-
setPosition
-
getImage
-
getImage
-
getImage
-
getImage
public static BufferedImage getImage(Shape shape, int width, int height, int imageType, Color color)
-