public abstract class ImageComponentState extends NodeComponentState
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
byReference |
protected int |
format |
static byte |
GZIP_COMPRESSION
Use GZIP to compress images.
|
protected int |
height |
static byte |
JPEG_COMPRESSION
Use JPEG compression for images
JPEG compression is currently the default.
|
static byte |
NO_COMPRESSION
Do not compress the images
|
protected int |
width |
protected boolean |
yUp |
control, node, nodeClassName, symbol| Constructor and Description |
|---|
ImageComponentState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
protected BufferedImage |
readBufferedImage(DataInput in) |
protected void |
readConstructorParams(DataInput in)
Read the parameters required for the constructor of the Java3D object
|
protected void |
writeBufferedImage(DataOutput out,
BufferedImage image) |
protected void |
writeConstructorParams(DataOutput out)
Write the parameters required for the constructor of the Java3D object
|
addSubReference, readObject, writeObjectbuildGraph, cleanup, createNode, createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeStringprotected int format
protected int height
protected int width
protected boolean byReference
protected boolean yUp
public static final byte NO_COMPRESSION
public static final byte GZIP_COMPRESSION
public static final byte JPEG_COMPRESSION
public ImageComponentState(SymbolTableData symbol, Controller control)
protected void writeConstructorParams(DataOutput out) throws IOException
SceneGraphObjectStatewriteConstructorParams in class SceneGraphObjectStateIOExceptionprotected void readConstructorParams(DataInput in) throws IOException
SceneGraphObjectStatereadConstructorParams in class SceneGraphObjectStateIOExceptionprotected void writeBufferedImage(DataOutput out, BufferedImage image) throws IOException
IOExceptionprotected BufferedImage readBufferedImage(DataInput in) throws IOException
IOExceptionCopyright © 2016–2022 SciJava. All rights reserved.