Search in sources :

Example 16 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class Plot2DSettings method setXAutoRange.

/**
 * Sets the xAutoRange property (cbit.image.Range) value.
 * @param xAutoRange The new value for the property.
 * @see #getXAutoRange
 */
public void setXAutoRange(Range xAutoRange) {
    Range oldValue = fieldXAutoRange;
    fieldXAutoRange = xAutoRange;
    firePropertyChange("xAutoRange", oldValue, xAutoRange);
}
Also used : Range(org.vcell.util.Range)

Example 17 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class ExportSpecs method setupDisplayAdapterService.

public static void setupDisplayAdapterService(DisplayPreferences displayPreferences, DisplayAdapterService displayAdapterService, Range valueDomain) {
    displayAdapterService.setValueDomain(valueDomain);
    Range activeScaleRange = (displayPreferences == null ? valueDomain : (displayPreferences.getScaleSettings() == null ? valueDomain : displayPreferences.getScaleSettings()));
    displayAdapterService.setActiveScaleRange(activeScaleRange);
    String colorMode = (displayPreferences == null ? DisplayAdapterService.BLUERED : (displayPreferences.getColorMode() == null ? DisplayAdapterService.BLUERED : displayPreferences.getColorMode()));
    displayAdapterService.setActiveColorModelID(colorMode);
    int[] specialColors = (displayPreferences == null ? displayAdapterService.getSpecialColors() : (displayPreferences.getSpecialColors() == null ? displayAdapterService.getSpecialColors() : displayPreferences.getSpecialColors()));
    System.arraycopy(specialColors, 0, displayAdapterService.getSpecialColors(), 0, specialColors.length);
}
Also used : Range(org.vcell.util.Range)

Example 18 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class DisplayAdapter method setScaleRange.

/**
 * Sets the scaleRange property (cbit.image.Range) value.
 * @param scaleRange The new value for the property.
 * @see #getScaleRange
 */
public final void setScaleRange(Range scaleRange) {
    Range oldValue = fieldScaleRange;
    fieldScaleRange = scaleRange;
    firePropertyChange("scaleRange", oldValue, scaleRange);
}
Also used : Range(org.vcell.util.Range)

Example 19 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class DisplayAdapterService method setCustomScaleRange.

/**
 * Sets the customScaleRange property (cbit.image.Range) value.
 * @param customScaleRange The new value for the property.
 * @see #getCustomScaleRange
 */
public void setCustomScaleRange(Range customScaleRange) {
    Range oldValue = fieldCustomScaleRange;
    fieldCustomScaleRange = customScaleRange;
    firePropertyChange(CUSTOM_SCALE_RANGE, oldValue, customScaleRange);
}
Also used : Range(org.vcell.util.Range)

Example 20 with Range

use of org.vcell.util.Range in project vcell by virtualcell.

the class PDEOffscreenRenderer method setVarAndTimeAndDisplay.

public void setVarAndTimeAndDisplay(String varName, double timepoint, DisplayPreferences displayPreferences) throws DataAccessException {
    getServerPDEDataContext().setVariableName(varName);
    getServerPDEDataContext().setTimePoint(timepoint);
    domainValid = (displayPreferences == null ? null : (displayPreferences.getDomainValid() == null ? null : displayPreferences.getDomainValid()));
    Range valueDomain = BeanUtils.calculateValueDomain(getServerPDEDataContext().getDataValues(), domainValid);
    ExportSpecs.setupDisplayAdapterService(displayPreferences, getDisplayAdapterService(), valueDomain);
}
Also used : Range(org.vcell.util.Range)

Aggregations

Range (org.vcell.util.Range)54 Point (java.awt.Point)12 SourceDataInfo (cbit.image.SourceDataInfo)5 Paint (java.awt.Paint)4 DecimalFormat (java.text.DecimalFormat)4 DisplayAdapterService (cbit.image.DisplayAdapterService)3 SinglePoint (cbit.vcell.geometry.SinglePoint)3 SpatialAnalysisResults (cbit.vcell.microscopy.SpatialAnalysisResults)3 DisplayPreferences (cbit.image.DisplayPreferences)2 Plot2D (cbit.plot.Plot2D)2 PlotData (cbit.plot.PlotData)2 ExportEvent (cbit.rmi.event.ExportEvent)2 AsynchClientTask (cbit.vcell.client.task.AsynchClientTask)2 VariableType (cbit.vcell.math.VariableType)2 VolVariable (cbit.vcell.math.VolVariable)2 MergedDataInfo (cbit.vcell.simdata.MergedDataInfo)2 VCSimulationDataIdentifier (cbit.vcell.solver.VCSimulationDataIdentifier)2 CartesianMesh (cbit.vcell.solvers.CartesianMesh)2 ExternalDataIdentifier (org.vcell.util.document.ExternalDataIdentifier)2 VCDataIdentifier (org.vcell.util.document.VCDataIdentifier)2