Element
, ElementBox
, ElementObject
, InteractionSource
public class ElementObject extends ElementBox implements ElementObject
Title: ElementBox
Description: Painter's algorithm implementation of a Box
corners, numberOfTiles
TARGET_POSITION, TARGET_SIZE
targetPosition, targetSize
Constructor | Description |
---|---|
ElementObject() |
Modifier and Type | Method | Description |
---|---|---|
static XML.ObjectLoader |
getLoader() |
Returns an XML.ObjectLoader to save and load object data.
|
java.lang.String |
getObjectFile() |
Gets the image displayed
|
double |
getRotationAngle() |
|
void |
setObjectFile(java.lang.String file) |
Sets the image file to be displayed
|
void |
setRotationAngle(double angle) |
getTargetHit, projectPoints, setColorBelowWhenEqual, setColorOriginAndDirection, setColorRegions, setCorners, setDrawQuickInterior
getDrawingPanel3D, getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isVisible, loadUnmutableObjects, setName, setSizeX, setSizeXYZ, setSizeXYZ, setSizeY, setSizeZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrame
addInteractionListener, getAxesMode, getDrawingPanel3D, getHotSpotBodyCoordinates, getInteractionTarget, getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isReallyVisible, isVisible, loadUnmutableObjects, removeInteractionListener, setName, setSizeX, setSizeXYZ, setSizeXYZ, setSizeY, setSizeZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrame
computeCorners, isClosedBottom, isClosedTop, setClosedBottom, setClosedTop
addInteractionListener, getInteractionTarget, removeInteractionListener
public void setObjectFile(java.lang.String file)
ElementObject
setObjectFile
in interface ElementObject
public java.lang.String getObjectFile()
ElementObject
getObjectFile
in interface ElementObject
public void setRotationAngle(double angle)
public double getRotationAngle()
public static XML.ObjectLoader getLoader()