public class McIdasXFrameInfo extends Object
Modifier and Type | Field and Description |
---|---|
private int[] |
colorTable |
private int[] |
graphicsTable |
private int |
height |
private boolean |
isLoaded |
private int |
myFrameNumber |
private byte[] |
myImage |
private McIdasXInfo |
myXInfo |
private int[] |
stretchTable |
private int |
width |
Constructor and Description |
---|
McIdasXFrameInfo()
Constructor
|
McIdasXFrameInfo(int frameNumber,
McIdasXInfo xInfo)
Create a new McIDAS-X frame using the given frame number and
"info" object.
|
McIdasXFrameInfo(McIdasXFrameInfo that)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
int[] |
getColorTable() |
int |
getElementSize() |
float[][] |
getEnhancementTable() |
int[] |
getFrameDirectory() |
int |
getFrameNumber() |
Image |
getGIF() |
List |
getGraphics() |
int[] |
getGraphicsTable() |
byte[] |
getImage() |
private int[] |
getInts(DataInputStream stream,
int count) |
int |
getLineSize() |
int[] |
getStretchTable() |
private boolean |
getTable(DataInputStream inputStream,
int[] tbl) |
private int |
setFrameData() |
void |
setRefreshData(boolean refresh) |
private int myFrameNumber
private McIdasXInfo myXInfo
private int width
private int height
private int[] stretchTable
private int[] colorTable
private int[] graphicsTable
private byte[] myImage
private boolean isLoaded
public McIdasXFrameInfo()
public McIdasXFrameInfo(McIdasXFrameInfo that)
that
- The McIdasXFrameInfo to copypublic McIdasXFrameInfo(int frameNumber, McIdasXInfo xInfo)
frameNumber
- Frame number.xInfo
- McIDAS-X "info" object. Cannot be null
.public void setRefreshData(boolean refresh)
private int setFrameData()
public List getGraphics()
public int[] getFrameDirectory()
private boolean getTable(DataInputStream inputStream, int[] tbl)
private int[] getInts(DataInputStream stream, int count)
public int getFrameNumber()
public int getLineSize()
public int getElementSize()
public int[] getStretchTable()
public int[] getColorTable()
public int[] getGraphicsTable()
public float[][] getEnhancementTable()
public byte[] getImage()