|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Representation of a loaded model that came from a AVLoader
implementation.
The model contains all of the Aviatrix3D scenegraph structures as requested by the user of the loader interface. For example, if the loader was instructed to only load geometry, then it should not be possible to fetch runtime information from this model instance.
If the user asks the loader to maintain the raw model structure as part of
the load process, then that will be available through the
getRawModel()
method. The returned object type is dependent on the
model format and loader implementation. The derived documentation must
document what this class is so that the user can cast to the higher level
interface.
The order of the structures returned by the methods of this interface are not guaranteed to map to the order they were declared in the source file.
Method Summary | |
java.util.List |
getBackgrounds()
Get the list of backgrounds that are contained in the file. |
java.util.Map |
getExternallyDefinedFiles()
Get the listing of the external resources declared as being needed by this file. |
java.util.List |
getFogs()
Get the list of fogs that are contained in the file. |
java.util.List |
getLights()
Get the list of lights that are contained in the file. |
Group |
getModelRoot()
Get the root of the scene graph structure that represents this model. |
java.util.Map |
getNamedObjects()
Get a mapping of any internally named objects to their corresponding scene graph structure. |
java.lang.Object |
getRawModel()
Get the raw model representation of the scene as defined by a loader-specific set of classes. |
java.util.List |
getRuntimeComponents()
Get the list of runtime components that are contained in the file. |
java.util.List |
getViewpoints()
Get the list of viewpoints that are contained in the file. |
Method Detail |
public Group getModelRoot()
public java.lang.Object getRawModel()
public java.util.Map getNamedObjects()
public java.util.Map getExternallyDefinedFiles()
public java.util.List getViewpoints()
Viewpoint
instances
corresponding to each viewpoint declared in the file. If a file does
not declare any viewpoints, or the loader was requested not to load
viewpoints, this returns an empty list.
public java.util.List getBackgrounds()
Background
instances
corresponding to each background declared in the file. If a file does
not declare any backgrounds, or the loader was requested not to load
backgrounds, this returns an empty list.
public java.util.List getFogs()
Fog
instances
corresponding to each fog declared in the file. If a file does
not declare any fogs, or the loader was requested not to load
fogs, this returns an empty list.
public java.util.List getLights()
Light
instances
corresponding to each light declared in the file. If a file does
not declare any lights, or the loader was requested not to load
lights, this returns an empty list.
public java.util.List getRuntimeComponents()
AVRuntimeComponent
instances used for
controlling animation or any other runtime capabilities inherent to
the file format.If a file does not declare any runtime capabilities, or
the loader was requested not to load runtimes, this returns an empty
list.
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |