Search in sources :

Example 1 with ImagePlaneManager

use of cbit.image.ImagePlaneManager in project vcell by virtualcell.

the class ImagePaneRuler method setImagePlaneManager.

/**
 * Sets the imagePlaneManager property (cbit.image.ImagePlaneManager) value.
 * @param imagePlaneManager The new value for the property.
 * @see #getImagePlaneManager
 */
public void setImagePlaneManager(ImagePlaneManager imagePlaneManager) {
    ImagePlaneManager oldValue = fieldImagePlaneManager;
    fieldImagePlaneManager = imagePlaneManager;
    repaint();
    firePropertyChange("imagePlaneManager", oldValue, imagePlaneManager);
}
Also used : ImagePlaneManager(cbit.image.ImagePlaneManager)

Example 2 with ImagePlaneManager

use of cbit.image.ImagePlaneManager in project vcell by virtualcell.

the class ImagePlanePanel method setImagePlaneMananager.

/**
 * Sets the imagePlaneMananager property (cbit.image.ImagePlaneManager) value.
 * @param imagePlaneMananager The new value for the property.
 * @see #getImagePlaneMananager
 */
public void setImagePlaneMananager(ImagePlaneManager imagePlaneMananager) {
    ImagePlaneManager oldValue = fieldImagePlaneMananager;
    fieldImagePlaneMananager = imagePlaneMananager;
    firePropertyChange("imagePlaneMananager", oldValue, imagePlaneMananager);
}
Also used : ImagePlaneManager(cbit.image.ImagePlaneManager)

Example 3 with ImagePlaneManager

use of cbit.image.ImagePlaneManager in project vcell by virtualcell.

the class RasterExporter method createSlicer.

private ImagePlaneManager createSlicer(CartesianMesh mesh, double[] data, GeometrySpecs originalGeometrySpecs) {
    SourceDataInfo sdi = new SourceDataInfo(SourceDataInfo.RAW_VALUE_TYPE, data, mesh.getExtent(), mesh.getOrigin(), null, 0, mesh.getSizeX(), 1, mesh.getSizeY(), mesh.getSizeX(), mesh.getSizeZ(), mesh.getSizeX() * mesh.getSizeY());
    ImagePlaneManager imagePlaneManager = new ImagePlaneManager();
    imagePlaneManager.setSourceDataInfo(sdi);
    imagePlaneManager.setNormalAxis(originalGeometrySpecs.getAxis());
    imagePlaneManager.setSlice(originalGeometrySpecs.getSliceNumber());
    return imagePlaneManager;
}
Also used : ImagePlaneManager(cbit.image.ImagePlaneManager) SourceDataInfo(cbit.image.SourceDataInfo)

Example 4 with ImagePlaneManager

use of cbit.image.ImagePlaneManager in project vcell by virtualcell.

the class ImagePaneScroller method setImagePlaneManager.

/**
 * Sets the imagePlaneManager property (cbit.image.ImagePlaneManager) value.
 * @param imagePlaneManager The new value for the property.
 * @see #getImagePlaneManager
 */
public void setImagePlaneManager(ImagePlaneManager imagePlaneManager) {
    ImagePlaneManager oldValue = fieldImagePlaneManager;
    fieldImagePlaneManager = imagePlaneManager;
    firePropertyChange("imagePlaneManager", oldValue, imagePlaneManager);
}
Also used : ImagePlaneManager(cbit.image.ImagePlaneManager)

Example 5 with ImagePlaneManager

use of cbit.image.ImagePlaneManager in project vcell by virtualcell.

the class ImagePlanePanel method setimagePlaneMananager1.

/**
 * Set the imagePlaneMananager1 to a new value.
 * @param newValue cbit.image.ImagePlaneManager
 */
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private void setimagePlaneMananager1(ImagePlaneManager newValue) {
    if (ivjimagePlaneMananager1 != newValue) {
        try {
            cbit.image.ImagePlaneManager oldValue = getimagePlaneMananager1();
            /* Stop listening for events from the current object */
            if (ivjimagePlaneMananager1 != null) {
                ivjimagePlaneMananager1.removePropertyChangeListener(ivjEventHandler);
            }
            ivjimagePlaneMananager1 = newValue;
            /* Listen for events from the new object */
            if (ivjimagePlaneMananager1 != null) {
                ivjimagePlaneMananager1.addPropertyChangeListener(ivjEventHandler);
            }
            connPtoP1SetSource();
            connEtoC11(ivjimagePlaneMananager1);
            firePropertyChange("imagePlaneMananager", oldValue, newValue);
        // user code begin {1}
        // user code end
        } catch (java.lang.Throwable ivjExc) {
            // user code begin {2}
            // user code end
            handleException(ivjExc);
        }
    }
    ;
// user code begin {3}
// user code end
}
Also used : ImagePlaneManager(cbit.image.ImagePlaneManager)

Aggregations

ImagePlaneManager (cbit.image.ImagePlaneManager)6 SourceDataInfo (cbit.image.SourceDataInfo)1 Point (java.awt.Point)1