org.robokind.impl.vision
Class PortableImageRegionList

java.lang.Object
  extended by org.robokind.impl.vision.PortableImageRegionList
All Implemented Interfaces:
ImageRegionList

public class PortableImageRegionList
extends Object
implements ImageRegionList

ImageRegionList implementation wrapping an ImageRegionListRecord.

Author:
Matthew Stevenson

Nested Class Summary
static class PortableImageRegionList.ImageRegionListRecordAdapter
          Converts an ImageRegionListRecor to a PortableImageRegionList
 
Constructor Summary
PortableImageRegionList(ImageRegionList regionList)
          Creates a PortableImageRegionList from an existing ImageRegionList.
PortableImageRegionList(ImageRegionListRecord regions)
          Creates a new PortableImageRegionList from an ImageRegionListRecord.
 
Method Summary
 long getImageId()
           
 String getImageProcessorId()
           
 ImageRegionListRecord getImageRegionListRecord()
          Returns the underlying ImageRegionListRecord.
 ImageRegion[] getImageRegions()
           
 long getImageRegionsId()
           
 String getImageSourceId()
           
 long getImageTimestampUTC()
           
 long getProcessorCompleteTimestampUTC()
           
 long getProcessorStartTimestampUTC()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableImageRegionList

public PortableImageRegionList(ImageRegionListRecord regions)
Creates a new PortableImageRegionList from an ImageRegionListRecord.

Parameters:
regions - ImageRegionListRecord to wrap

PortableImageRegionList

public PortableImageRegionList(ImageRegionList regionList)
Creates a PortableImageRegionList from an existing ImageRegionList.

Parameters:
regionList - ImageRegionList to wrap
Method Detail

getImageSourceId

public String getImageSourceId()
Specified by:
getImageSourceId in interface ImageRegionList

getImageId

public long getImageId()
Specified by:
getImageId in interface ImageRegionList

getImageTimestampUTC

public long getImageTimestampUTC()
Specified by:
getImageTimestampUTC in interface ImageRegionList

getImageProcessorId

public String getImageProcessorId()
Specified by:
getImageProcessorId in interface ImageRegionList

getImageRegionsId

public long getImageRegionsId()
Specified by:
getImageRegionsId in interface ImageRegionList

getProcessorStartTimestampUTC

public long getProcessorStartTimestampUTC()
Specified by:
getProcessorStartTimestampUTC in interface ImageRegionList

getProcessorCompleteTimestampUTC

public long getProcessorCompleteTimestampUTC()
Specified by:
getProcessorCompleteTimestampUTC in interface ImageRegionList

getImageRegions

public ImageRegion[] getImageRegions()
Specified by:
getImageRegions in interface ImageRegionList

getImageRegionListRecord

public ImageRegionListRecord getImageRegionListRecord()
Returns the underlying ImageRegionListRecord.

Returns:
underlying ImageRegionListRecord


Copyright © 2011-2012. All Rights Reserved.