public class Marker
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static ObjectType |
OBJECT_TYPE
Marker object type.
|
static long |
PROP_ALL
Get all marker information (search selection flag).
|
static long |
PROP_ORIENTATION
Get the marker orientation (search selection flag).
|
static long |
PROP_POINT
Get the marker location (search selection flag).
|
static long |
PROP_PROPERTIES
Get the marker properties (search selection flag).
|
| Constructor and Description |
|---|
Marker() |
Marker(Point point) |
Marker(Point point,
Quaternion orient)
Create a marker.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Copy this marker.
|
Quaternion |
getOrientation()
Get marker orientation.
|
Point |
getPoint()
Get marker location.
|
java.io.Serializable |
getProperty(java.lang.String key)
Get property value.
|
java.util.Map<java.lang.String,java.io.Serializable> |
getPropertyMapRef()
Get the property map.
|
void |
setOrientation(Quaternion orient)
Set marker orientation.
|
void |
setPoint(Point point)
Set marker location.
|
void |
setProperties(java.util.Map<java.lang.String,java.io.Serializable> props)
Set the marker property map.
|
java.io.Serializable |
setProperty(java.lang.String key,
java.io.Serializable value)
Set property value.
|
java.lang.String |
toString() |
public static final long PROP_POINT
public static final long PROP_ORIENTATION
public static final long PROP_PROPERTIES
public static final long PROP_ALL
public static final ObjectType OBJECT_TYPE
public Marker()
public Marker(Point point)
public Marker(Point point, Quaternion orient)
point - Marker location.orient - Marker orientation.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic Point getPoint()
public void setPoint(Point point)
public Quaternion getOrientation()
public void setOrientation(Quaternion orient)
public java.io.Serializable getProperty(java.lang.String key)
key - Property namesetProperty(String, Serializable)public java.io.Serializable setProperty(java.lang.String key,
java.io.Serializable value)
key - Property name.value - Property value.public java.util.Map<java.lang.String,java.io.Serializable> getPropertyMapRef()
public void setProperties(java.util.Map<java.lang.String,java.io.Serializable> props)