|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bruxton.sidx.Camera
public class Camera
Represent an open camera.
Each instance of SIDX can own multiple instances of the class. The user of SIDX
should not create the objects of this class. It should be obtained by using
openCamera/configureCamera functions of SIDX object.
| Method Summary | |
|---|---|
void |
close()
Shutdown the communication with the camera. |
Acquisition |
getAcquisition()
Obtain the Acquisition object. |
Dialogs |
getDialogs()
Obtain the Dialogs object. |
ExposureTime |
getExposureTime()
Return the ExposureTime object. |
double |
getFrameRate()
The function returns the frame rate (frames/seconds) of the last completed acquisition. |
Gains |
getGains()
Get a Gains object. |
ImageGeometry |
getImageGeometry()
Obtain the ImageGeometry object. |
Modes |
getModes()
Get a Modes object. |
java.lang.String |
getName()
The function returns the name of the current open camera. |
java.lang.String |
getService()
The function returns the current state of the camera for support use. |
double |
getServiceInterval()
The function returns the current service interval (in seconds) used. |
java.lang.String |
getSetting(java.lang.String tag)
Obtain the setting of a particular parameter specified by "tag". |
java.lang.String |
getSettings()
Obtain the current camera settings. |
Shutter |
getShutter()
Obtain the Shutter object. |
Temperature |
getTemperature()
Obtain the Temperature object. |
int |
getTimeToGetFirstImage()
The function returns the time (in milliseconds) that the camera takes from the start of the acquisition till the first image is retrieved. |
int |
getTimeToGetReady()
The function returns the time (in milliseconds) that the camera takes to prepare for the acquisition. |
Trigger |
getTrigger()
Obtain the Trigger object. |
boolean |
isVendor(int vendor)
The function returns whether the camera object is for controling the cameras from a particular vendor. |
void |
saveDefaultSettings()
Save the current camera settings into a file called "default.sidx" in the file system directory that servies as a common repository for the application-specific data. |
void |
setServiceInterval(double interval)
The function changes the service interval (in seconds) that SIDX requires from the application. |
void |
setSetting(java.lang.String tag,
java.lang.String setting)
Set a particular parameter specified by "tag". |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Acquisition getAcquisition()
Acquisition object.
Acquisition object that is associated with the camera object.
Each Camera object can only have one Acquisition object.public Dialogs getDialogs()
Dialogs object.
Dialogs object that is associated with the camera object.
Each Camera object can only have one Dialogs object.public ImageGeometry getImageGeometry()
ImageGeometry object.
ImageGeometry object that is associated with the camera object.
Each Camera object can only have one ImageGeometry object.public Temperature getTemperature()
Temperature object.
Temperature object that is associated with the camera object.
Each Camera object can only have one Temperature object.public void close()
Exception
public Shutter getShutter()
throws Exception
Shutter object.
Shutter object that is associated with the camera object.
Each Camera object can only have one Shutter object.
Exception
public Trigger getTrigger()
throws Exception
Trigger object.
Trigger object that is associated with the camera object.
Each Camera object can only have one Trigger object.
Exception
public java.lang.String getSettings()
throws Exception
Exception
public void setSetting(java.lang.String tag,
java.lang.String setting)
throws Exception
tag - the tag value for the parameter to be changed.
The supported parameters
that can be set through the call by the camera are:
setting - the new setting for the parameter.
Exception
public java.lang.String getSetting(java.lang.String tag)
throws Exception
tag - the tag of the parameter which setting is to be returned.
The supported parameters that can be retrieved through the call by camera types are:
Exception
public ExposureTime getExposureTime()
throws Exception
ExposureTime object.
ExposureTime object that is associated with the camera object.
Each Camera object can only have one ExposureTime object.
Exception
public Gains getGains()
throws Exception
Gains object.
Gains object
that is associated with the camera object.
Each Camera object can only have one Gains object.
Exception
public Modes getModes()
throws Exception
Modes object.
Modes object that is associated with the camera object.
Each Camera object can only have one Modes object.
Exception
public void saveDefaultSettings()
throws Exception
Exception
public int getTimeToGetReady()
throws Exception
Exception
public int getTimeToGetFirstImage()
throws Exception
Exception
public double getFrameRate()
throws Exception
Exception
public boolean isVendor(int vendor)
throws Exception
vendor - specify the vendor ID.
The supported vendors are:
| Vendor ID | Vendor name |
|---|---|
| 0 | Andor Technology |
| 1 | Bruxton Corporation Demonstration |
| 2 | Cooke/PCO Sensicam |
| 3 | DVC Company |
| 4 | Hamamatsu |
| 5 | QImaging |
| 6 | Photometrics |
| 7 | SciMeasure |
| 8 | Spectral Instruments |
| 9 | Cooke/PCO Dot camera |
| 10 | Digital camcorder |
Exception
public java.lang.String getName()
throws Exception
Exception
public java.lang.String getService()
throws Exception
Exception
public void setServiceInterval(double interval)
throws Exception
interval - the service interval in seconds to set.
Exception
public double getServiceInterval()
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||