pojos
Class MaskData

java.lang.Object
  extended by pojos.DataObject
      extended by pojos.ShapeData
          extended by pojos.MaskData

public class MaskData
extends ShapeData

Represents an Mask in the Euclidean space R2.

Since:
3.0-Beta4
Version:
3.0 (Internal version: $Revision: $Date: $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk, Donald MacDonald      donald@lifesci.dundee.ac.uk

Constructor Summary
MaskData(omero.model.Shape shape)
          Creates a new instance.
 
Method Summary
 double getHeight()
          Returns the height of the mask.
 BufferedImage getMask()
          Returns the mask image.
 double getWidth()
          Returns the width of the mask.
 double getX()
          Returns the x-coordinate of the top left corner of the mask.
 double getY()
          Returns the y-coordinate of the top left corner of the mask.
 
Methods inherited from class pojos.ShapeData
getShapeSettings, getT, getTransform, getZ
 
Methods inherited from class pojos.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaskData

public MaskData(omero.model.Shape shape)
Creates a new instance.

Parameters:
shape - The shape this object represents.
Method Detail

getX

public double getX()
Returns the x-coordinate of the top left corner of the mask.

Returns:
See above.

getY

public double getY()
Returns the y-coordinate of the top left corner of the mask.

Returns:
See above.

getWidth

public double getWidth()
Returns the width of the mask.

Returns:
See above.

getHeight

public double getHeight()
Returns the height of the mask.

Returns:
See above.

getMask

public BufferedImage getMask()
Returns the mask image.

Returns:
See above.


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.