org.autochthonous.graphics.rt.models
Class DXFFile
java.lang.Object
org.autochthonous.graphics.rt.Renderable
org.autochthonous.graphics.rt.objects.Aggregate
org.autochthonous.graphics.rt.models.DXFFile
- All Implemented Interfaces:
- java.lang.Cloneable, ColorCalculator, Illuminated, Traceable
- public class DXFFile
- extends Aggregate
a parser for the DXF files.
<DXFFile geometry="ant.dxf">
<Plastic name="body" diffuse="1.0, 0.0, 0.0"/>
</DXFFile>
Shaders specified within the body of the file object are used for
objects appearing in the DXF layer with the same name.
Constructor Summary |
DXFFile(java.lang.String geometry)
|
Methods inherited from class org.autochthonous.graphics.rt.objects.Aggregate |
add, add, add, add, affectingAtmospheres, affectingAtmospheres, atmospheres, bBox, intersections, isIntersected, isShadowing, lights, objectCount, shaders, traceables, visibleLights, visibleLights |
Methods inherited from class org.autochthonous.graphics.rt.Renderable |
clone, createObjectSpaceRay, getColor, getColor, getShader, hasShader, isSelfShadowing, readObject, setColor, setColor, setSelfShadowing, setShader, toObjectSpace, toObjectSpace, transform, transformNormal |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.autochthonous.graphics.rt.Traceable |
clone |
DXFFile
public DXFFile(java.lang.String geometry)
throws java.io.IOException
getInstance
public static Aggregate getInstance(RMLReader in)
throws java.io.IOException
- Throws:
java.io.IOException
processObject
protected void processObject(java.lang.Object obj)
- Overrides:
processObject
in class Renderable
processParameters
protected void processParameters(ParametersMap params)
- Overrides:
processParameters
in class Renderable