Class AWTNativeSymbolHandler
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.symbols.SymbolHandler
-
- org.jzy3d.plot3d.primitives.symbols.AWTNativeSymbolHandler
-
public class AWTNativeSymbolHandler extends SymbolHandler
CreateNativeDrawableImagesymbols 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 AWTImageWrapperimageprotected SharedTexturesharedTexture-
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 voidaddSymbolOn(Point point)static AWTNativeSymbolHandlerfrom(BufferedImage image)static AWTNativeSymbolHandlerfrom(Shape shape)static AWTNativeSymbolHandlerfrom(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:
addSymbolOnin classSymbolHandler
-
from
public static AWTNativeSymbolHandler from(Shape shape)
-
from
public static AWTNativeSymbolHandler from(BufferedImage image)
-
from
public static AWTNativeSymbolHandler from(IImageWrapper image)
-
-