de.grogra.imp3d.ray
Class RTBox
java.lang.Object
   de.grogra.imp3d.objects.SceneTree.Node
de.grogra.imp3d.objects.SceneTree.Node
       de.grogra.imp3d.objects.SceneTree.Leaf
de.grogra.imp3d.objects.SceneTree.Leaf
           de.grogra.imp3d.objects.SceneTreeWithShader.Leaf
de.grogra.imp3d.objects.SceneTreeWithShader.Leaf
               de.grogra.imp3d.ray.RaytracerLeaf
de.grogra.imp3d.ray.RaytracerLeaf
                   de.grogra.imp3d.ray.RTBox
de.grogra.imp3d.ray.RTBox
- All Implemented Interfaces: 
- ExportableToVRML, RTObject
- public class RTBox 
- extends RaytracerLeaf- implements RTObject, ExportableToVRML
 
 
 
 
 
 
| Constructor Summary | 
| RTBox(java.lang.Object object,
      boolean asNode,
      long pathId,
      float expansionX,
      float expansionY,
      float expansionZ)
 | 
 
 
 
 
| Methods inherited from class de.grogra.imp3d.objects.SceneTree.Leaf | 
| accept, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getObject, getShort, toString | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
m_boxInput
public final Intersections.BoxInput m_boxInput
m_boxLocalVariables
public final Intersections.BoxLocalVariables m_boxLocalVariables
m_boxOutput
public final Intersections.ObjectOutput m_boxOutput
RTBox
public RTBox(java.lang.Object object,
             boolean asNode,
             long pathId,
             float expansionX,
             float expansionY,
             float expansionZ)
exportToVRML
public void exportToVRML(java.io.BufferedWriter writer)
- 
- Specified by:
- exportToVRMLin interface- ExportableToVRML
 
- 
 
getBoundingVolume
public BoundingVolume getBoundingVolume()
- 
- Specified by:
- getBoundingVolumein interface- RTObject
 
- 
 
getDistance
public float getDistance(Ray ray,
                         RayContext context)
- 
- Specified by:
- getDistancein interface- RTObject
 
- 
 
getIntersectionDescription
public void getIntersectionDescription(IntersectionDescription desc)
- 
- Specified by:
- getIntersectionDescriptionin interface- RTObject
 
- 
 
isConvex
public boolean isConvex()
- 
- Specified by:
- isConvexin interface- RTObject
 
- 
 
isShadeable
public boolean isShadeable()
- 
- Specified by:
- isShadeablein interface- RTObject
 
- 
 
isSolid
public boolean isSolid()
- 
- Specified by:
- isSolidin interface- RTObject
 
- 
 
setTransformation
public void setTransformation(Matrix4f mat)
- 
- Overrides:
- setTransformationin class- RaytracerLeaf
 
-