de.grogra.imp3d.glsl
Class GLDisplay.GLVisitor

java.lang.Object
  extended by de.grogra.imp3d.Visitor3D
      extended by de.grogra.imp3d.DisplayVisitor
          extended by de.grogra.imp3d.glsl.GLDisplay.GLVisitor
All Implemented Interfaces:
Visitor
Direct Known Subclasses:
GLSLUpdateCache
Enclosing class:
GLDisplay

public class GLDisplay.GLVisitor
extends DisplayVisitor

This class is used to traverse the graph and obtain all visible objects and the lights for visualisation.

Author:
Reinhard Hemmerling

Field Summary
 
Fields inherited from class de.grogra.imp3d.DisplayVisitor
lastEntered, lastEnteredIsNode
 
Fields inherited from class de.grogra.imp3d.Visitor3D
layer, state, transformation
 
Fields inherited from interface de.grogra.graph.Visitor
STOP
 
Constructor Summary
GLDisplay.GLVisitor()
           
 
Method Summary
 void init(GraphState gs, Matrix4d t, int minPathLength, boolean checkLayer)
           
protected  void visitImpl(java.lang.Object object, boolean asNode, Shader s, Path path)
           
 
Methods inherited from class de.grogra.imp3d.DisplayVisitor
getCurrentShader, init, isInVisibleLayer, resolveShader, visitEnterImpl, visitLeaveImpl
 
Methods inherited from class de.grogra.imp3d.Visitor3D
getCurrentTransformation, getGraphState, init, visitEnter, visitEnter, visitInstanceEnter, visitInstanceLeave, visitLeave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLDisplay.GLVisitor

public GLDisplay.GLVisitor()
Method Detail

init

public void init(GraphState gs,
                 Matrix4d t,
                 int minPathLength,
                 boolean checkLayer)

visitImpl

protected void visitImpl(java.lang.Object object,
                         boolean asNode,
                         Shader s,
                         Path path)
Specified by:
visitImpl in class DisplayVisitor