public class ElementPlane extends AbstractTile implements ElementPlane
Title: ElementBox
Description: Painter's algorithm implementation of a Plane
ElementPlane.ElementPlaneLoadercorners, numberOfTilestargetPosition, targetSizeTARGET_POSITION, TARGET_SIZE| Constructor and Description |
|---|
ElementPlane() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeCorners()
This will be used by subclasses whenever there is a need to recompute
the actual values of the corners before drawing.
|
double[] |
getFirstDirection()
Gets the first direction vector of th eplane
|
static XML.ObjectLoader |
getLoader()
Returns an XML.ObjectLoader to save and load object data.
|
double[] |
getSecondDirection()
Gets the second direction vector of th eplane
|
void |
setFirstDirection(double[] vector)
Sets the first direction vector of th eplane
|
void |
setSecondDirection(double[] vector)
Sets the second direction vector of th eplane
|
GetDisplacementFactor, getTargetHit, projectPoints, setColorBelowWhenEqual, setColorOriginAndDirection, setColorRegions, setCorners, setDisplacementFactor, setDrawQuickInterioraddInteractionListener, 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, toSpaceFrameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isVisible, loadUnmutableObjects, setName, setSizeX, setSizeXYZ, setSizeXYZ, setSizeY, setSizeZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrameaddInteractionListener, getInteractionTarget, removeInteractionListenerpublic void setFirstDirection(double[] vector)
ElementPlanesetFirstDirection in interface ElementPlanepublic double[] getFirstDirection()
ElementPlanegetFirstDirection in interface ElementPlanepublic void setSecondDirection(double[] vector)
ElementPlanesetSecondDirection in interface ElementPlanepublic double[] getSecondDirection()
ElementPlanegetSecondDirection in interface ElementPlaneprotected void computeCorners()
AbstractTilecomputeCorners in class AbstractTilepublic static XML.ObjectLoader getLoader()