org.osm2world.core.world.modules
public class TreeModule.Tree extends NoOutlineNodeWorldObject implements RenderableToAllTargets, RenderableToPOVRay
node
Constructor and Description |
---|
TreeModule.Tree(MapNode node) |
Modifier and Type | Method and Description |
---|---|
void |
addDeclarationsTo(POVRayTarget target)
lets the Renderable add global declarations.
|
AxisAlignedBoundingBoxXZ |
getAxisAlignedBoundingBoxXZ() |
GroundState |
getGroundState()
returns whether this feature is on, above or below the ground.
|
void |
renderTo(POVRayTarget target) |
void |
renderTo(Target<?> target) |
defineEleConstraints, getBase, getEleConnectors, getPrimaryMapElement, toString
public TreeModule.Tree(MapNode node)
public GroundState getGroundState()
WorldObject
getGroundState
in interface WorldObject
public AxisAlignedBoundingBoxXZ getAxisAlignedBoundingBoxXZ()
getAxisAlignedBoundingBoxXZ
in interface IntersectionTestObject
getAxisAlignedBoundingBoxXZ
in class NoOutlineNodeWorldObject
public void renderTo(Target<?> target)
renderTo
in interface RenderableToAllTargets
public void addDeclarationsTo(POVRayTarget target)
RenderableToPOVRay
addDeclarationsTo
in interface RenderableToPOVRay
public void renderTo(POVRayTarget target)
renderTo
in interface RenderableToPOVRay