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, writeObject
buildGraph, cleanup, createNode, createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeString
protected 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
SceneGraphObjectState
writeConstructorParams
in class SceneGraphObjectState
IOException
protected void readConstructorParams(DataInput in) throws IOException
SceneGraphObjectState
readConstructorParams
in class SceneGraphObjectState
IOException
protected void writeBufferedImage(DataOutput out, BufferedImage image) throws IOException
IOException
protected BufferedImage readBufferedImage(DataInput in) throws IOException
IOException
Copyright © 2016–2022 SciJava. All rights reserved.