RemoteSimulationService.Iface¶
-
public interface
Iface
¶ RPC wrapper around the Simulator class.
Methods¶
createSimulation¶
-
public int
createSimulation
()¶ Creates a new simulation. The ID of the simulation is returned.
deleteSimulation¶
-
public void
deleteSimulation
(int id)¶ Deletes a simulation with the given ID.
Parameters: - id –
getCameraJsonName¶
getControlSignal¶
-
public double
getControlSignal
(int id)¶ Returns the current value for the control signal.
Parameters: - id –
getFluorescenceJsonName¶
getFovSize¶
-
public double
getFovSize
(int id)¶ Returns the size of the field-of-view in object space units.
Parameters: - id –
getImageCount¶
-
public int
getImageCount
(int id)¶ Returns the number of images that have been simulated.
Parameters: - id –
getLaserJsonName¶
getNextImage¶
-
public java.nio.ByteBuffer
getNextImage
(int id)¶ Increments the simulation by one time step and returns an image.
Parameters: - id –
getObjectSpacePixelSize¶
-
public double
getObjectSpacePixelSize
(int id)¶ Returns the object space pixel size. Units are the same as those of the camera’s pixel size.
Parameters: - id –
getObjectiveJsonName¶
getServerStatus¶
getShortTrueSignalDescription¶
getStageJsonName¶
getTrueSignal¶
-
public double
getTrueSignal
(int id, int imageNum)¶ Returns the true simulation signal at the given image.
Parameters: - id –
- imageNum –
incrementTimeStep¶
-
public void
incrementTimeStep
(int id)¶ Advances the simulation without creating a new image.
Parameters: - id –
setControlSignal¶
-
public void
setControlSignal
(int id, double power)¶ Changes the simulation’s control signal.
Parameters: - id –
- power –