j3d.org Aviatrix3D

org.j3d.aviatrix3d
Class RenderEnvironmentData

java.lang.Object
  extended byorg.j3d.aviatrix3d.RenderEnvironmentData

public class RenderEnvironmentData
extends java.lang.Object

Data holder class used to pass the current environment data along the rendering pipeline.

End-user code should never be making use of this class unless the end user is implementing a customised rendering pipeline. This class is used as a simple internal collection of the per-frame renderable data that is passed along each stage of the pipeline.

Version:
$Revision: 1.6 $
Author:
Justin Couch

Field Summary
 Background background
          The current background instance
 javax.vecmath.Matrix4f backgroundTransform
          Matrix representing the transformation of the background node from the root of the scene to it's location.
 RenderEffectsProcessor effectsProcessor
          If set, use this to do pre and post rendered effects
 float[] eyeOffset
          The amount of eye offset in use from the nominal middle.
 Fog fog
          The current fog instance
 javax.vecmath.Matrix4f projectionMatrix
          Matrix representing the projection transform
 java.lang.Object userData
          Any user provided data registered with the effects processor
 ViewEnvironment viewEnvironment
          Current view environment
 double[] viewFrustum
          ViewFrustum positions.
 Viewpoint viewpoint
          The current viewpoint instance
 javax.vecmath.Matrix4f viewTransform
          Matrix representing the view frustum transformation
 
Constructor Summary
RenderEnvironmentData()
          Create a new instance of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userData

public java.lang.Object userData
Any user provided data registered with the effects processor


effectsProcessor

public RenderEffectsProcessor effectsProcessor
If set, use this to do pre and post rendered effects


viewpoint

public Viewpoint viewpoint
The current viewpoint instance


fog

public Fog fog
The current fog instance


backgroundTransform

public javax.vecmath.Matrix4f backgroundTransform
Matrix representing the transformation of the background node from the root of the scene to it's location. It already has the translation components removed by the time it is set here.


background

public Background background
The current background instance


viewEnvironment

public ViewEnvironment viewEnvironment
Current view environment


viewFrustum

public double[] viewFrustum
ViewFrustum positions. left,right,bottom,top,near,far


viewTransform

public javax.vecmath.Matrix4f viewTransform
Matrix representing the view frustum transformation


projectionMatrix

public javax.vecmath.Matrix4f projectionMatrix
Matrix representing the projection transform


eyeOffset

public float[] eyeOffset
The amount of eye offset in use from the nominal middle. This is a convenience data item to save the need to regenerate it at the renderer level.

Constructor Detail

RenderEnvironmentData

public RenderEnvironmentData()
Create a new instance of this class. The variables are initialized to their default values and arrays constructed.


j3d.org Aviatrix3D

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