|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metaio.sdk.jni.ImageStruct
public class ImageStruct
Structure that defines a image.
Constructor Summary | |
---|---|
ImageStruct()
|
|
ImageStruct(byte[] _buffer,
int _width,
int _height,
ECOLOR_FORMAT _colorFormat,
boolean _originIsUpperLeft)
|
|
ImageStruct(byte[] _buffer,
int _width,
int _height,
ECOLOR_FORMAT _colorFormat,
boolean _originIsUpperLeft,
double _timestamp)
|
|
ImageStruct(ImageStruct other)
|
|
ImageStruct(long cPtr,
boolean cMemoryOwn)
|
Method Summary | |
---|---|
void |
delete()
|
void |
deleteBuffer()
|
byte[] |
getBuffer()
|
ECOLOR_FORMAT |
getColorFormat()
color format |
static long |
getCPtr(ImageStruct obj)
|
int |
getHeight()
height component of the vector |
boolean |
getOriginIsUpperLeft()
true if the orgigin is in the upper left corner; false, if lower left |
double |
getTimestamp()
timestamp when the image was created |
int |
getWidth()
width component of the vector |
void |
setColorFormat(ECOLOR_FORMAT value)
color format |
void |
setHeight(int value)
height component of the vector |
void |
setOriginIsUpperLeft(boolean value)
true if the orgigin is in the upper left corner; false, if lower left |
void |
setTimestamp(double value)
timestamp when the image was created |
void |
setWidth(int value)
width component of the vector |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageStruct(long cPtr, boolean cMemoryOwn)
public ImageStruct()
public ImageStruct(byte[] _buffer, int _width, int _height, ECOLOR_FORMAT _colorFormat, boolean _originIsUpperLeft, double _timestamp)
_buffer
- pointer to the image data_width
- width of the image_height
- height of the image_colorFormat
- the color format_originIsUpperLeft
- true if the origin is upper left corner, false if lower left_timestamp
- timestamp when the image was createdpublic ImageStruct(byte[] _buffer, int _width, int _height, ECOLOR_FORMAT _colorFormat, boolean _originIsUpperLeft)
public ImageStruct(ImageStruct other)
Method Detail |
---|
public static long getCPtr(ImageStruct obj)
public void delete()
public void setWidth(int value)
public int getWidth()
public void setHeight(int value)
public int getHeight()
public void setColorFormat(ECOLOR_FORMAT value)
public ECOLOR_FORMAT getColorFormat()
public void setOriginIsUpperLeft(boolean value)
public boolean getOriginIsUpperLeft()
public void setTimestamp(double value)
public double getTimestamp()
public byte[] getBuffer()
public void deleteBuffer()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |