org.ow2.weblab.core.model
Class SpatialSegment
java.lang.Object
org.ow2.weblab.core.model.Segment
org.ow2.weblab.core.model.SpatialSegment
- All Implemented Interfaces:
- java.io.Serializable
public class SpatialSegment
- extends Segment
- implements java.io.Serializable
A spatial segment is aiming to localise any
meaningful content in a spatial document. For example, one can think
to a picture showing some people. Specific segment can be localised
with coordinate descriptors defining the silhouettes of each person
in the picture. Then specific annotation can be applied to each
segment (i.e. to declare that those are human beings). It is the
kind of segment that may be used for image and video unit. When
there are only two coordinates given associated to the
spatialSegment, it means that the shape is a disk. The first
coordinate is the centre and the second one in one point of the
circle. Otherwise, coordinates are describing a closed shape since
the last coordinate of the list will be linked to the first one.
Data Exchange Model for WebLabplatform provided by CASSIDIAN - Version
1.2 - 2010/08
Java class for SpatialSegment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SpatialSegment">
<complexContent>
<extension base="{http://weblab.ow2.org/core/1.2/model#}Segment">
<sequence>
<element name="coordinate" type="{http://weblab.ow2.org/core/1.2/model#}Coordinate" maxOccurs="unbounded" minOccurs="2"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Fields inherited from class org.ow2.weblab.core.model.Segment |
uri |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
coordinate
protected java.util.List<Coordinate> coordinate
SpatialSegment
public SpatialSegment()
getCoordinate
public java.util.List<Coordinate> getCoordinate()
- Gets the value of the coordinate property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the coordinate property.
For example, to add a new item, do as follows:
getCoordinate().add(newItem);
Objects of the following type(s) are allowed in the list
Coordinate
Copyright © 2004-2010. All Rights Reserved.