org.robokind.impl.vision
Class PortableImageRegionList

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

public class PortableImageRegionList
extends Object
implements org.robokind.api.vision.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(org.robokind.api.vision.ImageRegionList regionList)
          Creates a PortableImageRegionList from an existing ImageRegionList.
PortableImageRegionList(org.robokind.avrogen.vision.ImageRegionListRecord regions)
          Creates a new PortableImageRegionList from an ImageRegionListRecord.
 
Method Summary
 long getImageId()
           
 String getImageProcessorId()
           
 org.robokind.avrogen.vision.ImageRegionListRecord getImageRegionListRecord()
          Returns the underlying ImageRegionListRecord.
 org.robokind.api.vision.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(org.robokind.avrogen.vision.ImageRegionListRecord regions)
Creates a new PortableImageRegionList from an ImageRegionListRecord.

Parameters:
regions - ImageRegionListRecord to wrap

PortableImageRegionList

public PortableImageRegionList(org.robokind.api.vision.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 org.robokind.api.vision.ImageRegionList

getImageId

public long getImageId()
Specified by:
getImageId in interface org.robokind.api.vision.ImageRegionList

getImageTimestampUTC

public long getImageTimestampUTC()
Specified by:
getImageTimestampUTC in interface org.robokind.api.vision.ImageRegionList

getImageProcessorId

public String getImageProcessorId()
Specified by:
getImageProcessorId in interface org.robokind.api.vision.ImageRegionList

getImageRegionsId

public long getImageRegionsId()
Specified by:
getImageRegionsId in interface org.robokind.api.vision.ImageRegionList

getProcessorStartTimestampUTC

public long getProcessorStartTimestampUTC()
Specified by:
getProcessorStartTimestampUTC in interface org.robokind.api.vision.ImageRegionList

getProcessorCompleteTimestampUTC

public long getProcessorCompleteTimestampUTC()
Specified by:
getProcessorCompleteTimestampUTC in interface org.robokind.api.vision.ImageRegionList

getImageRegions

public org.robokind.api.vision.ImageRegion[] getImageRegions()
Specified by:
getImageRegions in interface org.robokind.api.vision.ImageRegionList

getImageRegionListRecord

public org.robokind.avrogen.vision.ImageRegionListRecord getImageRegionListRecord()
Returns the underlying ImageRegionListRecord.

Returns:
underlying ImageRegionListRecord


Copyright © 2011. All Rights Reserved.