|
Aviatrix3D 2.1.0 |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
AVLoader | The definition of a class that is capable of parsing a file format and turning it into an Aviatrix3D scene graph. |
AVModel | Representation of a loaded model that came from a AVLoader
implementation. |
AVRuntimeComponent | A piece of code that will execute runtime component parts of the loaded model format. |
Implementations of file loaders that produce an Aviatrix3D scene graph.
File loaders are built over the top of the basic parsing framework defined in
the org.j3d.loaders
package and subpackages.
AVLoader
interface represents
this desire for a loader's functionality to explicitly exclude some parts of
the model capability by the use of a set of load flags.
AVModel
to fetch the loaded contents from.
The behaviour of the loader is is dependent on whether or not a fileformat and particular file contain layers. Most formats do not contain any concept of composited scenes, but a few do. Aviatrix3D also has the capability to render composited scenes, so we allow model loaders to expose this capability as well.
When the user requests that layers are loaded, and some are found in the
requested file, then no root model is defined and
AVModel.getModelRoot()
will return
null. All content is accessed through the
AVModel.getLayers()
method. Layers
are returned in the order of front-most to rear-most. Layers that are defined,
but contain no content will still have valid layer object instances. With all
layers, unless the file format contains a specific size, the
Viewport
will have zero size. It is up to the
calling application to ensure that viewports are correctly sized before
adding them to the scene.
When no layer loading is requested, or the loaded file does not contain any
layers, then the AVModel.getLayers()
method will return an empty list and
AVModel.getModelRoot()
will return a
valid object representing the root of the loaded model.
|
Aviatrix3D 2.1.0 |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |