Package org.yamcs.studio.data.vtype
Interface VImage
- All Known Implementing Classes:
IVImage
Represent an image. Use
ValueUtil.toImage(org.yamcs.studio.data.vtype.VImage)
and
ValueUtil.toVImage(java.awt.image.BufferedImage)
to convert objects of this class to and from awt images.-
Method Summary
Modifier and TypeMethodDescriptiongetData()
Image data;Describes the type in which the data is storedVImageDataType
int
Height of the image in pixels.Returns the image type, The image type describes the mechanism in which the data is encoded and how it can be converted to something that can be rendered.int
getWidth()
Width of the image in pixels.Methods inherited from interface org.yamcs.studio.data.vtype.Alarm
getAlarmName, getAlarmSeverity
Methods inherited from interface org.yamcs.studio.data.vtype.Time
getTimestamp, getTimeUserTag, isTimeValid
-
Method Details
-
getHeight
int getHeight()Height of the image in pixels.- Returns:
- image height
-
getWidth
int getWidth()Width of the image in pixels.- Returns:
- image width
-
getData
ListNumber getData()Image data;- Returns:
- image data
-
getDataType
VImageDataType getDataType()Describes the type in which the data is storedVImageDataType
- Returns:
- image data type
-
getVImageType
VImageType getVImageType()Returns the image type, The image type describes the mechanism in which the data is encoded and how it can be converted to something that can be rendered.- Returns:
- the image type
VImageType
-