|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.SceneGraphObject
org.j3d.aviatrix3d.RenderPass
Representation of a single pass in a multipass rendering layer setup.
A render pass encapsulates a viewpoint that is used to view the scene from, the geometry structure to render, global fog, the geometry of the scene and a collection of buffer states.
Each pass has its own view environment that works in addition to the global environment from the parent scene. Some aspects of this environment are ignored for multipass rendering, such as the stereo flags.
Field Summary |
Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject |
alive, LISTENER_SET_NOT_LIVE_MESSAGE, updateHandler, WRITE_TIMING_MSG |
Constructor Summary | |
RenderPass()
Create a default instance of this scene with no content provided. |
Method Summary | |
AccumulationBufferState |
getAccumulationBufferState()
Get the currently set accumulation buffer state. |
Viewpoint |
getActiveView()
Get the currently set active view. |
ColorBufferState |
getColorBufferState()
Get the currently set color buffer state. |
DepthBufferState |
getDepthBufferState()
Get the currently set depth buffer state. |
Group |
getRenderedGeometry()
Get the root of the currently rendered scene. |
StencilBufferState |
getStencilBufferState()
Get the currently set stencil buffer state. |
ViewEnvironment |
getViewEnvironment()
Get the currently set active view. |
void |
setAccumulationBufferState(AccumulationBufferState state)
Set the accumulation buffer state that should be applied to the during this pass. |
void |
setActiveView(Viewpoint vp)
Set the viewpoint path that should be applied to the current surface. |
void |
setColorBufferState(ColorBufferState state)
Set the color buffer state that should be applied to the during this pass. |
void |
setDepthBufferState(DepthBufferState state)
Set the depth buffer state that should be applied to the during this pass. |
protected void |
setLive(boolean state)
Notification that this object is live now. |
void |
setRenderedGeometry(Group geom)
Set the collection of geometry that should be rendered to this texture. |
void |
setStencilBufferState(StencilBufferState state)
Set the stencil buffer state that should be applied to the during this pass. |
protected void |
setUpdateHandler(NodeUpdateHandler handler)
Set the scenegraph update handler for this node. |
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject |
checkForCyclicChild, checkForCyclicParent, dataChanged, getUserData, isLive, setUserData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RenderPass()
Method Detail |
protected void setLive(boolean state)
setLive
in class SceneGraphObject
state
- true if this should be marked as live nowprotected void setUpdateHandler(NodeUpdateHandler handler)
setUpdateHandler
in class SceneGraphObject
handler
- The instance to use as a handlerpublic ViewEnvironment getViewEnvironment()
public void setRenderedGeometry(Group geom) throws InvalidWriteTimingException
geom
- The new geometry to use or null
InvalidWriteTimingException
- An attempt was made to write outside
of the ApplicationUpdateObserver callback methodpublic Group getRenderedGeometry()
public void setActiveView(Viewpoint vp) throws InvalidWriteTimingException, java.lang.IllegalArgumentException
vp
- The instance of the active viewpoint to use
java.lang.IllegalArgumentException
- The path contains a SharedGroup or
the node is not live
InvalidWriteTimingException
- An attempt was made to write outside
of the ApplicationUpdateObserver callback methodpublic Viewpoint getActiveView()
public void setStencilBufferState(StencilBufferState state) throws InvalidWriteTimingException
state
- The instance of the state to set
InvalidWriteTimingException
- An attempt was made to write outside
of the ApplicationUpdateObserver callback methodpublic StencilBufferState getStencilBufferState()
public void setDepthBufferState(DepthBufferState state) throws InvalidWriteTimingException
state
- The instance of the state to set
InvalidWriteTimingException
- An attempt was made to write outside
of the ApplicationUpdateObserver callback methodpublic DepthBufferState getDepthBufferState()
public void setColorBufferState(ColorBufferState state) throws InvalidWriteTimingException
state
- The instance of the state to set
InvalidWriteTimingException
- An attempt was made to write outside
of the ApplicationUpdateObserver callback methodpublic ColorBufferState getColorBufferState()
public void setAccumulationBufferState(AccumulationBufferState state) throws InvalidWriteTimingException
state
- The instance of the state to set
InvalidWriteTimingException
- An attempt was made to write outside
of the ApplicationUpdateObserver callback methodpublic AccumulationBufferState getAccumulationBufferState()
|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |