Class TwoAxisGridPointsModel
java.lang.Object
org.eclipse.scanning.api.AbstractNameable
org.eclipse.scanning.api.points.models.AbstractPointsModel
org.eclipse.scanning.api.points.models.AbstractMapModel
org.eclipse.scanning.api.points.models.AbstractBoundingBoxModel
org.eclipse.scanning.api.points.models.AbstractTwoAxisGridModel
org.eclipse.scanning.api.points.models.TwoAxisGridPointsModel
- All Implemented Interfaces:
INameable,IBoundingBoxModel,IBoundsToFit,IMapPathModel,IScanPathModel,IScanPointGeneratorModel
- Direct Known Subclasses:
TwoAxisGridPointsRandomOffsetModel
A model for a raster scan within a rectangular box in two-dimensional space, which evenly fills the box with a grid
defined by the numbers of points (along each of the two axes) set in this model.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.scanning.api.points.models.AbstractTwoAxisGridModel
AbstractTwoAxisGridModel.Orientation -
Field Summary
Fields inherited from class org.eclipse.scanning.api.points.models.AbstractPointsModel
HARDCODED_UNITS, pcsFields inherited from interface org.eclipse.scanning.api.points.models.IBoundsToFit
PROPERTY_DEFAULT_BOUNDS_FIT, PROPERTY_NAME_BOUNDS_TO_FIT -
Constructor Summary
ConstructorsConstructorDescriptionTwoAxisGridPointsModel(String xName, String yName) TwoAxisGridPointsModel(String xName, String yName, int xPoints, int yPoints) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintinthashCode()voidsetxAxisPoints(int newValue) voidsetyAxisPoints(int newValue) toString()voidupdateFromPropertiesMap(Map<String, Object> properties) Methods inherited from class org.eclipse.scanning.api.points.models.AbstractTwoAxisGridModel
enforceShape, getOrientation, isAlternateBothAxes, isBoundsToFit, isVerticalOrientation, setAlternateBothAxes, setBoundsToFit, setOrientationMethods inherited from class org.eclipse.scanning.api.points.models.AbstractBoundingBoxModel
getBoundingBox, setBoundingBox, setxAxisName, setyAxisNameMethods inherited from class org.eclipse.scanning.api.points.models.AbstractMapModel
getScannableNames, getUnits, getxAxisName, getxAxisUnits, getyAxisName, getyAxisUnits, setUnits, setxAxisUnits, setyAxisUnitsMethods inherited from class org.eclipse.scanning.api.points.models.AbstractPointsModel
addPropertyChangeListener, getSummary, isAlternating, isContinuous, removePropertyChangeListener, setAlternating, setContinuous, supportsAlternating, supportsContinuous, supportsRandomOffset, supportsVerticalMethods inherited from class org.eclipse.scanning.api.AbstractNameable
getName, setNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.scanning.api.points.models.IBoundsToFit
defaultBoundsToFitMethods inherited from interface org.eclipse.scanning.api.points.models.IMapPathModel
getxAxisName, getxAxisUnits, getyAxisName, getyAxisUnits, setxAxisUnits, setyAxisUnitsMethods inherited from interface org.eclipse.scanning.api.points.models.IScanPathModel
addPropertyChangeListener, getScannableNames, removePropertyChangeListenerMethods inherited from interface org.eclipse.scanning.api.points.models.IScanPointGeneratorModel
getUnits, isAlternating, isContinuous, setAlternating, setContinuous, setUnits
-
Constructor Details
-
TwoAxisGridPointsModel
public TwoAxisGridPointsModel() -
TwoAxisGridPointsModel
-
TwoAxisGridPointsModel
-
-
Method Details
-
getxAxisPoints
public int getxAxisPoints() -
setxAxisPoints
public void setxAxisPoints(int newValue) -
getyAxisPoints
public int getyAxisPoints() -
setyAxisPoints
public void setyAxisPoints(int newValue) -
updateFromPropertiesMap
- Specified by:
updateFromPropertiesMapin interfaceIScanPointGeneratorModel- Overrides:
updateFromPropertiesMapin classAbstractTwoAxisGridModel
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractTwoAxisGridModel
-
equals
- Overrides:
equalsin classAbstractTwoAxisGridModel
-
toString
- Overrides:
toStringin classAbstractTwoAxisGridModel
-