net.java.joglutils.msg.nodes
Class Node

java.lang.Object
  extended by net.java.joglutils.msg.nodes.Node
Direct Known Subclasses:
Blend, Camera, Color4, Coordinate3, DepthTest, Group, ShaderNode, Shape, Texture2, TextureCoordinate2, Transform

public class Node
extends Object

The base class for all nodes in the scene graph.


Constructor Summary
Node()
           
 
Method Summary
 void doAction(Action action)
          Performs the "typical" operation for this node when an action is applied to it.
 void rayPick(RayPickAction action)
          Support for the built-in RayPickAction.
 void render(GLRenderAction action)
          Support for the built-in GLRenderAction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node()
Method Detail

doAction

public void doAction(Action action)
Performs the "typical" operation for this node when an action is applied to it. The default implementation does nothing.


render

public void render(GLRenderAction action)
Support for the built-in GLRenderAction. Note that supplying virtual methods in Node subclasses to support various actions is not required due to the framework supporting action methods, but for built-in actions it may make it simpler.


rayPick

public void rayPick(RayPickAction action)
Support for the built-in RayPickAction. Note that supplying virtual methods in Node subclasses to support various actions is not required due to the framework supporting action methods, but for built-in actions it may make it simpler.