public class Marker extends HasVisibleObjectOrAppearance implements ModelComponentGenerator<ModelComponent>
VisibleBase.DisplayPreference
Constructor and Description |
---|
Marker() |
Modifier and Type | Method and Description |
---|---|
Marker |
clone() |
FrameMarker |
createComponent(java.io.File geometryPath,
ModelComponentMap componentMap)
Creates and returns a model component, using the provided component map
to look up other dependent objects.
|
java.lang.String |
getBody() |
java.lang.String |
getBodyOrSocketParentFrame() |
Point3d |
getLocation() |
java.lang.String |
getSocketParentFrame() |
boolean |
isFixed() |
void |
setBody(java.lang.String body) |
void |
setFixed(boolean state) |
void |
setLocation(Point3d pos) |
void |
setSocketParentFrame(java.lang.String path) |
java.lang.String |
toString() |
createRenderProps, getAppearance, setAppearance
getVisibleObject, setVisibleObject
getColor, getDisplayPreference, getOpacity, setColor, setDisplayPreference, setOpacity
public void setBody(java.lang.String body)
public java.lang.String getBody()
public void setSocketParentFrame(java.lang.String path)
public java.lang.String getSocketParentFrame()
public void setFixed(boolean state)
public boolean isFixed()
public void setLocation(Point3d pos)
public Point3d getLocation()
public java.lang.String toString()
toString
in class java.lang.Object
public Marker clone()
clone
in interface Clonable
clone
in class HasVisibleObjectOrAppearance
public FrameMarker createComponent(java.io.File geometryPath, ModelComponentMap componentMap)
ModelComponentGenerator
createComponent
in interface ModelComponentGenerator<ModelComponent>
geometryPath
- path to search for geometry filescomponentMap
- map for looking up other objectspublic java.lang.String getBodyOrSocketParentFrame()