Search in sources :

Example 16 with Curve

use of cbit.vcell.geometry.Curve in project vcell by virtualcell.

the class GeometryFilamentCurvePanel method setCurve.

/**
 * Sets the curve property (cbit.vcell.geometry.Curve) value.
 * @param curve The new value for the property.
 * @see #getCurve
 */
public void setCurve(cbit.vcell.geometry.Curve curve) {
    cbit.vcell.geometry.Curve oldValue = fieldCurve;
    fieldCurve = curve;
    firePropertyChange("curve", oldValue, curve);
}
Also used : Curve(cbit.vcell.geometry.Curve)

Example 17 with Curve

use of cbit.vcell.geometry.Curve in project vcell by virtualcell.

the class GeometryFilamentCurvePanel method setCurve1.

/**
 * Set the Curve1 to a new value.
 * @param newValue cbit.vcell.geometry.Curve
 */
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private void setCurve1(cbit.vcell.geometry.Curve newValue) {
    if (ivjCurve1 != newValue) {
        try {
            cbit.vcell.geometry.Curve oldValue = getCurve1();
            ivjCurve1 = newValue;
            connPtoP1SetSource();
            firePropertyChange("curve", 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 : Curve(cbit.vcell.geometry.Curve)

Aggregations

Curve (cbit.vcell.geometry.Curve)17 SampledCurve (cbit.vcell.geometry.SampledCurve)10 ControlPointCurve (cbit.vcell.geometry.ControlPointCurve)8 CurveSelectionCurve (cbit.vcell.geometry.CurveSelectionCurve)7 SinglePoint (cbit.vcell.geometry.SinglePoint)6 VariableType (cbit.vcell.math.VariableType)6 CurveSelectionInfo (cbit.vcell.geometry.CurveSelectionInfo)5 CurveRenderer (cbit.vcell.geometry.CurveRenderer)4 CartesianMesh (cbit.vcell.solvers.CartesianMesh)4 Coordinate (org.vcell.util.Coordinate)4 SpatialSelectionVolume (cbit.vcell.simdata.SpatialSelectionVolume)3 ImageException (cbit.image.ImageException)2 SpatialSelection (cbit.vcell.simdata.SpatialSelection)2 SpatialSelectionMembrane (cbit.vcell.simdata.SpatialSelectionMembrane)2 ActionEvent (java.awt.event.ActionEvent)2 ActionListener (java.awt.event.ActionListener)2 PropertyVetoException (java.beans.PropertyVetoException)2 Vector (java.util.Vector)2 JPanel (javax.swing.JPanel)2 DataAccessException (org.vcell.util.DataAccessException)2