Class IntensityGraphModel

All Implemented Interfaces:
IPVWidgetModel, IAdaptable, IPropertySource

public class IntensityGraphModel extends AbstractPVWidgetModel
The model for intensity graph.
  • Field Details

  • Constructor Details

    • IntensityGraphModel

      public IntensityGraphModel()
  • Method Details

    • configureProperties

      protected void configureProperties()
      Description copied from class: AbstractWidgetModel
      Configure the properties of the widget. Subclass should add new properties in this method.
      Specified by:
      configureProperties in class AbstractWidgetModel
    • processVersionDifference

      public void processVersionDifference(org.osgi.framework.Version boyVersionOnFile)
      Description copied from class: AbstractWidgetModel
      Make necessary adjustment for widget compatibility between different versions.
      Overrides:
      processVersionDifference in class AbstractPVWidgetModel
    • makeROIPropID

      public static String makeROIPropID(String propIDPre, int index)
    • makeAxisPropID

      public static String makeAxisPropID(String axisID, String propIDPre)
    • getTypeID

      public String getTypeID()
      Specified by:
      getTypeID in class AbstractWidgetModel
      Returns:
      the unique typeID of the model.
    • getMaximum

      public Double getMaximum()
      Returns:
      the maximum value
    • getMinimum

      public Double getMinimum()
      Returns:
      the minimum value
    • getDataWidth

      public Integer getDataWidth()
      Returns:
      the data width
    • getDataHeight

      public Integer getDataHeight()
      Returns:
      the data height
    • getGraphAreaWidth

      public int getGraphAreaWidth()
      Returns:
      the graph area width
    • getGraphAreaHeight

      public int getGraphAreaHeight()
      Returns:
      the graph area height
    • getColorMap

      public ColorMap getColorMap()
      Returns:
      the color map
    • isShowRamp

      public Boolean isShowRamp()
      Returns:
      the color map
    • getCropLeft

      public int getCropLeft()
      Returns:
      the left crop part
    • getCropRight

      public int getCropRight()
      Returns:
      the right crop part
    • getCropTOP

      public int getCropTOP()
      Returns:
      the top crop part
    • getCropBottom

      public int getCropBottom()
      Returns:
      the bottom crop part
    • getHorizonProfileXPV

      public String getHorizonProfileXPV()
    • getVerticalProfileXPV

      public String getVerticalProfileXPV()
    • getHorizonProfileYPV

      public String getHorizonProfileYPV()
    • getVerticalProfileYPV

      public String getVerticalProfileYPV()
    • getPixelInfoPV

      public String getPixelInfoPV()
    • isRGBMode

      public boolean isRGBMode()
    • getColorDepth

      public IntensityGraphFigure.ColorDepth getColorDepth()
    • getROIColor

      public OPIColor getROIColor()
    • isSingleLineProfiling

      public boolean isSingleLineProfiling()