Class AWTNativeSymbolHandler
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.symbols.SymbolHandler
-
- org.jzy3d.plot3d.primitives.symbols.AWTNativeSymbolHandler
-
public class AWTNativeSymbolHandler extends SymbolHandler
CreateNativeDrawableImage
symbols to be displayed on line strip points. Note that this symbol handler handle image like real 3d objects with an orientation. In other word, the image is standing on a static plane that remain unchanged when camera rotate. For a 2d sprite that will be always camera facing, tryAWTNativeSymbolHandler2d
.- Author:
- martin
-
-
Field Summary
Fields Modifier and Type Field Description protected AWTImageWrapper
image
protected SharedTexture
sharedTexture
-
Fields inherited from class org.jzy3d.plot3d.primitives.symbols.SymbolHandler
spaceTransformer, symbols
-
-
Constructor Summary
Constructors Constructor Description AWTNativeSymbolHandler(IImageWrapper image)
AWTNativeSymbolHandler(SharedTexture sharedTexture)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSymbolOn(Point point)
static AWTNativeSymbolHandler
from(BufferedImage image)
static AWTNativeSymbolHandler
from(Shape shape)
static AWTNativeSymbolHandler
from(IImageWrapper image)
-
Methods inherited from class org.jzy3d.plot3d.primitives.symbols.SymbolHandler
clear, drawSymbols, getSpaceTransformer, setSpaceTransformer
-
-
-
-
Field Detail
-
sharedTexture
protected SharedTexture sharedTexture
-
image
protected AWTImageWrapper image
-
-
Constructor Detail
-
AWTNativeSymbolHandler
public AWTNativeSymbolHandler(IImageWrapper image)
-
AWTNativeSymbolHandler
public AWTNativeSymbolHandler(SharedTexture sharedTexture)
-
-
Method Detail
-
addSymbolOn
public void addSymbolOn(Point point)
- Specified by:
addSymbolOn
in classSymbolHandler
-
from
public static AWTNativeSymbolHandler from(Shape shape)
-
from
public static AWTNativeSymbolHandler from(BufferedImage image)
-
from
public static AWTNativeSymbolHandler from(IImageWrapper image)
-
-