org.jagatoo.loaders.models.collada.datastructs.geometries
Class GeometryProvider
java.lang.Object
org.jagatoo.loaders.models.collada.datastructs.geometries.GeometryProvider
- Direct Known Subclasses:
- Controller
public abstract class GeometryProvider
- extends java.lang.Object
A Geometry provider. Basically it can be, what
instance_geometry or instance_controller is in a COLLADA file,
library_visuals_scenes section.
|
Field Summary |
protected Geometry |
destinationGeometry
The destination geometry : it will contain the result of the computations of this COLLADAController |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
destinationGeometry
protected Geometry destinationGeometry
- The destination geometry : it will contain the result of the computations of this COLLADAController
GeometryProvider
public GeometryProvider(LibraryGeometries libGeoms)
- Creates a new COLLADAController.
- Parameters:
libGeoms - The LibraryGeometries we need to compute
the destination mesh.
getLibraryGeometries
protected final LibraryGeometries getLibraryGeometries()
updateDestinationGeometry
public abstract Geometry updateDestinationGeometry(long currentTime)
- Parameters:
currentTime - the frame time in miliseconds
- Returns:
- the destinationGeometry computed from the source mesh
getDestinationGeometry
public Geometry getDestinationGeometry()
- Returns:
- the destinationGeometry
setDestinationMesh
public void setDestinationMesh(Geometry destinationGeometry)
- Parameters:
destinationGeometry - the destinationGeometry to set