iicm.vrml.vrwave
Class Builder

java.lang.Object
  |
  +--iicm.vrml.pw.Traverser
        |
        +--iicm.vrml.vrwave.Builder

public class Builder
extends Traverser

Builder - preprocessing traversal. Copyright 1998 IICM, Graz University of Technology.


Constructor Summary
Builder()
           
 
Method Summary
static void buildTextureMatrix(float[] c, float r, float[] s, float[] t, float[] trfmat)
           
static void buildTransform(float[] t, float[] r, float[] s, float[] sr, float[] c, float[] trfmat)
           
 void clearThreads()
           
protected  void tAppearance(Appearance app)
           
protected  void tAudioClip(AudioClip n)
           
protected  void tBackground(Background n)
           
protected  void tBillboard(Billboard billb)
           
protected  void tBox(Box box)
           
protected  void tColor(Color n)
           
protected  void tColorInterpolator(ColorInterpolator n)
           
protected  void tCone(Cone cone)
           
protected  void tCoordinate(Coordinate n)
           
protected  void tCoordinateInterpolator(CoordinateInterpolator n)
           
protected  void tCylinder(Cylinder cylinder)
           
protected  void tCylinderSensor(CylinderSensor n)
           
protected  void tDirectionalLight(DirectionalLight lgt)
           
protected  void tElevationGrid(ElevationGrid n)
           
protected  void tExtrusion(Extrusion extr)
           
protected  void tFog(Fog n)
           
protected  void tFontStyle(FontStyle n)
           
 void tGroupNode(GroupNode group)
          traverse a group node by traversing all children; this function will be typically called on the root node (should be non-null); traversal of all nodes derived from GroupNode will call this function by default; all other nodes traversals are abstract
protected  void tImageTexture(ImageTexture texture)
           
protected  void tIndexedFaceSet(IndexedFaceSet faceset)
           
protected  void tIndexedLineSet(IndexedLineSet lineset)
           
protected  void tInline(Inline inline)
           
protected  void tLOD(LOD lod)
           
protected  void tMaterial(Material n)
           
protected  void tMovieTexture(MovieTexture n)
           
protected  void tNavigationInfo(NavigationInfo n)
           
protected  void tNormal(Normal n)
           
protected  void tNormalInterpolator(NormalInterpolator n)
           
protected  void tOrientationInterpolator(OrientationInterpolator n)
           
protected  void tPixelTexture(PixelTexture texture)
           
protected  void tPlaneSensor(PlaneSensor n)
           
protected  void tPointLight(PointLight lgt)
           
protected  void tPointSet(PointSet pset)
           
protected  void tPositionInterpolator(PositionInterpolator n)
           
protected  void tProtoInstance(ProtoInstance p)
           
protected  void tProximitySensor(ProximitySensor n)
           
protected  void tScalarInterpolator(ScalarInterpolator n)
           
protected  void tScript(Script n)
           
protected  void tShape(Shape shape)
           
protected  void tSound(Sound n)
           
protected  void tSphere(Sphere n)
           
protected  void tSphereSensor(SphereSensor n)
           
protected  void tSpotLight(SpotLight lgt)
           
protected  void tSwitch(Switch sw)
           
protected  void tText(Text n)
           
protected  void tTextureCoordinate(TextureCoordinate n)
           
protected  void tTextureTransform(TextureTransform trf)
           
protected  void tTimeSensor(TimeSensor n)
           
protected  void tTouchSensor(TouchSensor n)
           
protected  void tTransform(Transform trf)
           
protected  void tViewpoint(Viewpoint vp)
           
protected  void tVisibilitySensor(VisibilitySensor n)
           
protected  void tWorldInfo(WorldInfo n)
           
 
Methods inherited from class iicm.vrml.pw.Traverser
tAnchor, tCollision, tGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Builder

public Builder()
Method Detail

tGroupNode

public void tGroupNode(GroupNode group)
Description copied from class: Traverser
traverse a group node by traversing all children; this function will be typically called on the root node (should be non-null); traversal of all nodes derived from GroupNode will call this function by default; all other nodes traversals are abstract
Overrides:
tGroupNode in class Traverser

tTransform

protected void tTransform(Transform trf)
Overrides:
tTransform in class Traverser

buildTransform

public static void buildTransform(float[] t,
                                  float[] r,
                                  float[] s,
                                  float[] sr,
                                  float[] c,
                                  float[] trfmat)

tInline

protected void tInline(Inline inline)
Overrides:
tInline in class Traverser

tSwitch

protected void tSwitch(Switch sw)
Overrides:
tSwitch in class Traverser

tLOD

protected void tLOD(LOD lod)
Overrides:
tLOD in class Traverser

tBillboard

protected void tBillboard(Billboard billb)
Overrides:
tBillboard in class Traverser

tAudioClip

protected void tAudioClip(AudioClip n)
Overrides:
tAudioClip in class Traverser

tDirectionalLight

protected void tDirectionalLight(DirectionalLight lgt)
Overrides:
tDirectionalLight in class Traverser

tPointLight

protected void tPointLight(PointLight lgt)
Overrides:
tPointLight in class Traverser

tSpotLight

protected void tSpotLight(SpotLight lgt)
Overrides:
tSpotLight in class Traverser

tShape

protected void tShape(Shape shape)
Overrides:
tShape in class Traverser

tSound

protected void tSound(Sound n)
Overrides:
tSound in class Traverser

tScript

protected void tScript(Script n)
Overrides:
tScript in class Traverser

tWorldInfo

protected void tWorldInfo(WorldInfo n)
Overrides:
tWorldInfo in class Traverser

tCylinderSensor

protected void tCylinderSensor(CylinderSensor n)
Overrides:
tCylinderSensor in class Traverser

tPlaneSensor

protected void tPlaneSensor(PlaneSensor n)
Overrides:
tPlaneSensor in class Traverser

tProximitySensor

protected void tProximitySensor(ProximitySensor n)
Overrides:
tProximitySensor in class Traverser

tSphereSensor

protected void tSphereSensor(SphereSensor n)
Overrides:
tSphereSensor in class Traverser

tTimeSensor

protected void tTimeSensor(TimeSensor n)
Overrides:
tTimeSensor in class Traverser

tTouchSensor

protected void tTouchSensor(TouchSensor n)
Overrides:
tTouchSensor in class Traverser

tVisibilitySensor

protected void tVisibilitySensor(VisibilitySensor n)
Overrides:
tVisibilitySensor in class Traverser

tBox

protected void tBox(Box box)
Overrides:
tBox in class Traverser

tCone

protected void tCone(Cone cone)
Overrides:
tCone in class Traverser

tCylinder

protected void tCylinder(Cylinder cylinder)
Overrides:
tCylinder in class Traverser

tElevationGrid

protected void tElevationGrid(ElevationGrid n)
Overrides:
tElevationGrid in class Traverser

tExtrusion

protected void tExtrusion(Extrusion extr)
Overrides:
tExtrusion in class Traverser

tIndexedFaceSet

protected void tIndexedFaceSet(IndexedFaceSet faceset)
Overrides:
tIndexedFaceSet in class Traverser

tIndexedLineSet

protected void tIndexedLineSet(IndexedLineSet lineset)
Overrides:
tIndexedLineSet in class Traverser

tPointSet

protected void tPointSet(PointSet pset)
Overrides:
tPointSet in class Traverser

tSphere

protected void tSphere(Sphere n)
Overrides:
tSphere in class Traverser

tText

protected void tText(Text n)
Overrides:
tText in class Traverser

tColor

protected void tColor(Color n)
Overrides:
tColor in class Traverser

tCoordinate

protected void tCoordinate(Coordinate n)
Overrides:
tCoordinate in class Traverser

tNormal

protected void tNormal(Normal n)
Overrides:
tNormal in class Traverser

tTextureCoordinate

protected void tTextureCoordinate(TextureCoordinate n)
Overrides:
tTextureCoordinate in class Traverser

tAppearance

protected void tAppearance(Appearance app)
Overrides:
tAppearance in class Traverser

tFontStyle

protected void tFontStyle(FontStyle n)
Overrides:
tFontStyle in class Traverser

tMaterial

protected void tMaterial(Material n)
Overrides:
tMaterial in class Traverser

tImageTexture

protected void tImageTexture(ImageTexture texture)
Overrides:
tImageTexture in class Traverser

tMovieTexture

protected void tMovieTexture(MovieTexture n)
Overrides:
tMovieTexture in class Traverser

tPixelTexture

protected void tPixelTexture(PixelTexture texture)
Overrides:
tPixelTexture in class Traverser

tTextureTransform

protected void tTextureTransform(TextureTransform trf)
Overrides:
tTextureTransform in class Traverser

buildTextureMatrix

public static void buildTextureMatrix(float[] c,
                                      float r,
                                      float[] s,
                                      float[] t,
                                      float[] trfmat)

tColorInterpolator

protected void tColorInterpolator(ColorInterpolator n)
Overrides:
tColorInterpolator in class Traverser

tCoordinateInterpolator

protected void tCoordinateInterpolator(CoordinateInterpolator n)
Overrides:
tCoordinateInterpolator in class Traverser

tNormalInterpolator

protected void tNormalInterpolator(NormalInterpolator n)
Overrides:
tNormalInterpolator in class Traverser

tOrientationInterpolator

protected void tOrientationInterpolator(OrientationInterpolator n)
Overrides:
tOrientationInterpolator in class Traverser

tPositionInterpolator

protected void tPositionInterpolator(PositionInterpolator n)
Overrides:
tPositionInterpolator in class Traverser

tScalarInterpolator

protected void tScalarInterpolator(ScalarInterpolator n)
Overrides:
tScalarInterpolator in class Traverser

tBackground

protected void tBackground(Background n)
Overrides:
tBackground in class Traverser

tFog

protected void tFog(Fog n)
Overrides:
tFog in class Traverser

tNavigationInfo

protected void tNavigationInfo(NavigationInfo n)
Overrides:
tNavigationInfo in class Traverser

tViewpoint

protected void tViewpoint(Viewpoint vp)
Overrides:
tViewpoint in class Traverser

tProtoInstance

protected void tProtoInstance(ProtoInstance p)
Overrides:
tProtoInstance in class Traverser

clearThreads

public void clearThreads()