The CamAcq class provides a set of methods which
give you simple access to the functionality of this package.
The InstrumentController, Camera, AcquisitionController, DataModel,
etc. are 'wrapped' by CamAcq so that you can easily use the camera
and acquire images.
CamAcq is a 'singleton' (only one instance of it
can exist, thus avoiding conflicts with hardware i/o). So,
rather than doing something like this:
CamAcq camAcq = new
CamAcq();
you do this:
CamAcq camAcq =
CamAcq.getInstance();
Then you can call methods like this:
camAcq.method();
Note:
In order to
compile and run plugins that use the CamAcq API, it is necessary to
have CamAcqJ.jar and a copy of ij.jar in the
jre\lib\ext directory. (ij.jar is necessary because
CamAcq classes make reference to ImageJ classes)