The Robot Application Programming Interface Delegate Project
|
Public Member Functions | |
ImageSensorView () | |
void | createPartControl (Composite parent) |
void | reshowImage () |
void | dispose () |
void | setFocus () |
boolean | mimeTypeIsViewable (String mimeType) |
void | populateCameraCombo () |
Query the CameraManager for the current list of camera names. | |
boolean | imageAcquired (final RapidImageSensorSample image) |
store thumbnail in m_image (for disposal reasons) | |
void | rapidEventReceived (Agent agent, MessageType type, final IRapidMessage msg) |
void | changeAgent (final Agent agent) |
Public Attributes | |
final String | DEFAULT_CAMERA = "Default" |
Static Public Attributes | |
static String | ID = ImageSensorView.class.getName() |
Protected Member Functions | |
void | loadInitialImage (String initialImage) |
load up a default image | |
void | hookActions () |
void | createActions () |
Create Actions. | |
void | setInfoLabel (String msg) |
throw a message up on the info label | |
void | setCameraCombo (int index) |
Combo | setupRoverCombo (Composite parent) |
set up the rover combo box and associated action | |
Combo | setupCameraCombo (Composite parent) |
Combo | setupImageManipulation (Composite parent) |
Protected Attributes | |
Image | m_image = null |
ImageData | m_imageData = null |
Integer | m_imageLock = new Integer(0) |
Label | m_imageLabel = null |
Label | m_infoLabel = null |
int | m_numErrors = 0 |
int | m_imageCount = 0 |
boolean | m_autoScale = true |
ImageSensorViewSize | m_viewAreaSize = new ImageSensorViewSize() |
String | m_initialImage = "images/CameraIconGrey256.png" |
Map< Agent, String[]> | m_cameraNamesMap = new HashMap<Agent, String[]>() |
MessageType | m_subscribedType = null |
Integer | m_subLock = new Integer(0) |
Button | m_startButton = null |
Button | m_stopButton = null |
Agent | m_agent = null |
Combo | m_agentCombo = null |
Combo | m_cameraCombo = null |
Combo | m_imageManipulationCombo = null |
boolean | m_roverOverridden = false |
Action | m_pinRoverAction |
Action | m_startAction |
Action | m_stopAction |
Action | m_imageFullAction |
Action | m_imageScaleAction |
Static Protected Attributes | |
static final Logger | logger = Logger.getLogger(ImageSensorView.class) |
static final int | COMBO_TYPE = SWT.READ_ONLY |
Package Functions | |
void | setCameraComboRunnable (final String camera) |
Button | setupStartButton (Composite parent) |
Button | setupStopButton (Composite parent) |
ImageSensorView | ( | ) |
void changeAgent | ( | final Agent | agent | ) |
void createActions | ( | ) | [protected] |
void createPartControl | ( | Composite | parent | ) |
void dispose | ( | ) |
void hookActions | ( | ) | [protected] |
boolean imageAcquired | ( | final RapidImageSensorSample | image | ) |
void loadInitialImage | ( | String | initialImage | ) | [protected] |
boolean mimeTypeIsViewable | ( | String | mimeType | ) |
mimeType |
void populateCameraCombo | ( | ) |
void rapidEventReceived | ( | Agent | agent, |
MessageType | type, | ||
final IRapidMessage | msg | ||
) |
void reshowImage | ( | ) |
void setCameraCombo | ( | int | index | ) | [protected] |
index |
void setCameraComboRunnable | ( | final String | camera | ) | [package] |
camera |
void setFocus | ( | ) |
void setInfoLabel | ( | String | msg | ) | [protected] |
msg |
Combo setupCameraCombo | ( | Composite | parent | ) | [protected] |
parent |
Combo setupImageManipulation | ( | Composite | parent | ) | [protected] |
Combo setupRoverCombo | ( | Composite | parent | ) | [protected] |
parent |
Button setupStartButton | ( | Composite | parent | ) | [package] |
parent |
Button setupStopButton | ( | Composite | parent | ) | [package] |
parent |
final int COMBO_TYPE = SWT.READ_ONLY [static, protected] |
final String DEFAULT_CAMERA = "Default" |
String ID = ImageSensorView.class.getName() [static] |
final Logger logger = Logger.getLogger(ImageSensorView.class) [static, protected] |
Combo m_agentCombo = null [protected] |
boolean m_autoScale = true [protected] |
Combo m_cameraCombo = null [protected] |
Map<Agent, String[]> m_cameraNamesMap = new HashMap<Agent, String[]>() [protected] |
Image m_image = null [protected] |
int m_imageCount = 0 [protected] |
ImageData m_imageData = null [protected] |
Action m_imageFullAction [protected] |
Label m_imageLabel = null [protected] |
Integer m_imageLock = new Integer(0) [protected] |
Combo m_imageManipulationCombo = null [protected] |
Action m_imageScaleAction [protected] |
Label m_infoLabel = null [protected] |
String m_initialImage = "images/CameraIconGrey256.png" [protected] |
int m_numErrors = 0 [protected] |
Action m_pinRoverAction [protected] |
boolean m_roverOverridden = false [protected] |
Action m_startAction [protected] |
Button m_startButton = null [protected] |
Action m_stopAction [protected] |
Button m_stopButton = null [protected] |
Integer m_subLock = new Integer(0) [protected] |
MessageType m_subscribedType = null [protected] |
ImageSensorViewSize m_viewAreaSize = new ImageSensorViewSize() [protected] |