|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.Scene
A marker interface that represents a class capable of managing the complete rendering pipeline.
A manager is used to handle a system-specific rendering technique. The goal is to manage the contained pipeline(s) in a way that is most efficient to the hardware provided. Thus, it is expected there will be many different types of managers to suit the many hardware configurations available.
Example implementations of the pipeline manager would be one that handles all the pipelines with simultaneous threads, each pinned to a particular CPU/Graphics pipe that the machine has. Another implementation may hold all the pipelines for sequential evaluation piping the output from one into the input for another (eg for handling dynamic cubic environment maps).
Basic common methods are provided for all implementations to use. It is expected that implementations will add additional technique-specific extension methods to the basic features.
Constructor Summary | |
Scene()
Create a default instance of this scene with no content provided. |
Method Summary | |
Background |
getActiveBackground()
Get the currently set active view. |
Fog |
getActiveFog()
Get the currently set active view. |
Viewpoint |
getActiveView()
Get the currently set active view. |
Group |
getRenderedGeometry()
Get the root of the currently rendered scene. |
RenderEffectsProcessor |
getRenderEffectsProcessor()
Get the currently set scene processor instance. |
java.lang.Object |
getUserData()
Get the currently set instance of user data. |
ViewEnvironment |
getViewEnvironment()
Get the currently set active view. |
void |
setActiveBackground(Background bg)
Set the background path that should be applied to the current surface. |
void |
setActiveFog(Fog fog)
Set the fog that should be applied to the current surface. |
void |
setActiveView(Viewpoint vp)
Set the viewpoint path that should be applied to the current surface. |
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 |
setRenderEffectsProcessor(RenderEffectsProcessor prc)
Register the scene processor to be used for this scene for pre and post rendering effects. |
void |
setUserData(java.lang.Object data)
Assign some arbitrary piece of user data to this scene. |
void |
setViewEnvironment(ViewEnvironment env)
Set the view environment that is used to render this surface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Scene()
Method Detail |
protected void setLive(boolean state)
state
- true if this should be marked as live nowpublic void setRenderEffectsProcessor(RenderEffectsProcessor prc)
prc
- The instance to use or nullpublic RenderEffectsProcessor getRenderEffectsProcessor()
public void setUserData(java.lang.Object data)
data
- some arbitrary data the user wants to providepublic java.lang.Object getUserData()
public void setRenderedGeometry(Group geom)
geom
- The new geometry to use or nullpublic Group getRenderedGeometry()
public void setActiveView(Viewpoint vp) throws 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 livepublic Viewpoint getActiveView()
public void setActiveFog(Fog fog) throws java.lang.IllegalArgumentException
fog
- The instance of the active fog node
java.lang.IllegalArgumentException
- The path contains a SharedGroup or
the node is not livepublic Fog getActiveFog()
public void setActiveBackground(Background bg) throws java.lang.IllegalArgumentException
bg
- The instance of the active background
java.lang.IllegalArgumentException
- The path contains a SharedGroup or
the node is not livepublic Background getActiveBackground()
public void setViewEnvironment(ViewEnvironment env)
env
- The environment instance to use for the render setuppublic ViewEnvironment getViewEnvironment()
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |