Class CameraConfiguration

java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.live.stream.view.CameraConfiguration
All Implemented Interfaces:
Findable
Direct Known Subclasses:
BeamSimulationCamera

public class CameraConfiguration extends FindableBase
A class to be used to hold camera configuration for use with the LiveMJPEGView.

For more info on configuring this class see Setup Live Stream Camera Views

  • Constructor Details

    • CameraConfiguration

      public CameraConfiguration()
  • Method Details

    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • isRgb

      public boolean isRgb()
    • setRgb

      public void setRgb(boolean rgb)
    • getSleepTime

      public long getSleepTime()
    • setSleepTime

      public void setSleepTime(long sleepTime)
    • getCacheSize

      public int getCacheSize()
    • setCacheSize

      public void setCacheSize(int cacheSize)
    • getArrayPv

      public String getArrayPv()
    • setArrayPv

      public void setArrayPv(String arrayPv)
    • getPvAccessPv

      public String getPvAccessPv()
    • setPvAccessPv

      public void setPvAccessPv(String pvAccessPv)
    • getRoiProvider

      public RemoteRectangularROIsProvider getRoiProvider()
    • setRoiProvider

      public void setRoiProvider(RemoteRectangularROIsProvider roiProvider)
    • getCalibratedAxesProvider

      public CalibratedAxesProvider getCalibratedAxesProvider()
    • setCalibratedAxesProvider

      public void setCalibratedAxesProvider(CalibratedAxesProvider calibratedAxesProvider)
    • isWithHistogram

      public boolean isWithHistogram()
    • setWithHistogram

      public void setWithHistogram(boolean withHistogram)
    • getTopUi

      public LiveStreamViewCustomUi getTopUi()
      Custom UI to be drawn above the live stream
      Returns:
      Returns the custom UI instance, or null if not set.
      Since:
      GDA 9.11
    • setTopUi

      public void setTopUi(LiveStreamViewCustomUi topUi)
      Custom UI to be drawn above the live stream
      Parameters:
      topUi - Custom UI instance
      Since:
      GDA 9.11
    • getBottomUi

      public LiveStreamViewCustomUi getBottomUi()
      Custom UI to be drawn below the live stream
      Returns:
      Returns the custom UI instance, or null if not set.
      Since:
      GDA 9.11
    • setBottomUi

      public void setBottomUi(LiveStreamViewCustomUi bottomUi)
      Custom UI to be drawn below the live stream
      Parameters:
      bottomUi - Custom UI instance
      Since:
      GDA 9.11
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class FindableBase
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class FindableBase
    • cameraStreamTypes

      public List<StreamType> cameraStreamTypes()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getViewID

      public String getViewID()
    • setViewID

      public void setViewID(String viewID)