Device¶
-
public class
Device
¶ Encapsulator class which contains all device objects (camera, laser…)
Author: Marcel Stefko, Kyle M. Douglass
Constructors¶
Device¶
-
public
Device
(Camera cam, FluorophoreProperties fluo, Laser laser, ArrayList<DefaultFluorophore> emitters, ArrayList<Obstructor> obstructors)¶ Initializes the device with given parameters.
Parameters: - cam – camera properties
- fluo – fluorophore properties
- laser – laser settings
- emitters – list of fluorophores
- obstructors – list of obstructors
Methods¶
getLaserPower¶
-
public double
getLaserPower
()¶ Return current power of the laser.
Returns: laser power
getOnEmitterCount¶
-
public double
getOnEmitterCount
()¶ Returns the number of currently active emitters.
Returns: number of shining emitters
getResolution¶
-
public int[]
getResolution
()¶ Return the camera resolution
Returns: [res_x, res_y] int array