Aviatrix3D
2.0 Dev

org.j3d.aviatrix3d.pipeline.graphics
Class SortToSingleDrawListener

java.lang.Object
  extended byorg.j3d.aviatrix3d.pipeline.graphics.SortToSingleDrawListener
All Implemented Interfaces:
SortedGeometryReceiver

public class SortToSingleDrawListener
extends java.lang.Object
implements SortedGeometryReceiver

Handles the output of the geometry sorter.

Version:
$Revision: 3.1 $
Author:
Justin Couch

Constructor Summary
SortToSingleDrawListener()
          Create a new default instance of this class with nothing set.
 
Method Summary
 void setGraphicsOutputDevice(GraphicsOutputDevice device)
          Set the surfaces instance to be used as the target.
 void sortedOutput(GraphicsInstructions[] commands, int numValid)
          Here's the sorted output list of nodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortToSingleDrawListener

public SortToSingleDrawListener()
Create a new default instance of this class with nothing set.

Method Detail

sortedOutput

public void sortedOutput(GraphicsInstructions[] commands,
                         int numValid)
Here's the sorted output list of nodes.

Specified by:
sortedOutput in interface SortedGeometryReceiver
Parameters:
commands - The list of drawable surfaces to render
numValid - The number of valid items in the array

setGraphicsOutputDevice

public void setGraphicsOutputDevice(GraphicsOutputDevice device)
Set the surfaces instance to be used as the target. Passing a value of null will clear the current registered instance.

Parameters:
device - The surface instance to use or null

Aviatrix3D
2.0 Dev

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2005 j3d.org