Element, ElementTetrahedron, InteractionSourcepublic class ElementTetrahedron extends AbstractTile implements ElementTetrahedron
Title: ElementTetrahedron
Description: A Tetrahedron using the painter's algorithm
corners, numberOfTilesTARGET_POSITION, TARGET_SIZEtargetPosition, targetSize| Constructor | Description |
|---|---|
ElementTetrahedron() |
| Modifier and Type | Method | 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.
|
static XML.ObjectLoader |
getLoader() |
Returns an XML.ObjectLoader to save and load object data.
|
double |
getTruncationHeight() |
Gets the truncation height for this tetrahedron.
|
boolean |
isClosedBottom() |
Whether the tetrahedron is closed at its bottom.
|
boolean |
isClosedTop() |
Whether the tetrahedron is closed at its top.
|
void |
setClosedBottom(boolean close) |
Whether the tetrahedron should be closed at its bottom.
|
void |
setClosedTop(boolean close) |
Whether an incomplete tetrahedron element should be closed at its top.
|
void |
setTruncationHeight(double height) |
Sets the truncation height for this tetrahedron.
|
getTargetHit, projectPoints, setColorBelowWhenEqual, setColorOriginAndDirection, setColorRegions, setCorners, setDrawQuickInteriorgetDrawingPanel3D, 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, toSpaceFrameaddInteractionListener, 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, toSpaceFrameaddInteractionListener, getInteractionTarget, removeInteractionListenerpublic void setTruncationHeight(double height)
ElementTetrahedronsetTruncationHeight in interface ElementTetrahedronheight - doublepublic double getTruncationHeight()
ElementTetrahedrongetTruncationHeight in interface ElementTetrahedron#setTruncationHeight()public void setClosedBottom(boolean close)
ElementTetrahedronsetClosedBottom in interface ElementTetrahedronclose - the desired valuepublic boolean isClosedBottom()
ElementTetrahedronisClosedBottom in interface ElementTetrahedronpublic void setClosedTop(boolean close)
ElementTetrahedronsetClosedTop in interface ElementTetrahedronpublic boolean isClosedTop()
ElementTetrahedronisClosedTop in interface ElementTetrahedronprotected void computeCorners()
AbstractTilecomputeCorners in class AbstractTilepublic static XML.ObjectLoader getLoader()