public class ImageViewpoint extends ProtocolZero
Modifier and Type | Field and Description |
---|---|
static int |
BYTESPERPIXEL |
formatted, paramscan, priority
Constructor and Description |
---|
ImageViewpoint() |
ImageViewpoint(long period) |
ImageViewpoint(long period,
priority_t priority) |
ImageViewpoint(priority_t priority) |
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.image.BufferedImage b,
int width,
int height) |
byte[] |
getEncodedBytestream() |
int |
getHeight() |
int |
getWidth() |
void |
setData(int width,
int height,
byte[] bytes) |
void |
setData(java.lang.String params)
Sets command response data.
|
protected void |
setOp() |
getPriority, hasTerminated, pause, resume, run, setExecutor, terminate, update
addTerminationListener, compareTo, getDelay, getExitCode, getFrequency, getID, getOp, getPeriod, getRuntime, toDataString, toString, verifyClient, waitForTerminate, whatAmI
public static final int BYTESPERPIXEL
public ImageViewpoint(priority_t priority)
public ImageViewpoint()
public ImageViewpoint(long period)
public ImageViewpoint(long period, priority_t priority)
protected void setOp()
setOp
in class ProtocolZero
public int getWidth()
public int getHeight()
public byte[] getEncodedBytestream()
public void setData(java.lang.String params)
ProtocolZero
setData
in class ProtocolZero
params
- Data string. For all "data" messages it is identified by the form:
public void setData(int width, int height, byte[] bytes)
public void draw(java.awt.image.BufferedImage b, int width, int height)