Maven module :un.api : api-model3d :
Class : un.api.model3d.Model3DStore
Extends/Implements : un.api.store.Store
Subclasses : -

3D stores may contain various informations.
Most contains a single Mesh like OBJ,MD5,PLY,STL.
Some have a wide range of elements like Collada or Blend.
Or at the opposite can be very specialized like VPD,VMD, XNA POSE.
Since there are so many variation in the 3d file formats this interface
provide a general approach to list the content of the store or search for
a specific type of objects.
author  Johann Sorel


Variables : -
Functions : getElements, searchElements, writeElements




List all objects stored.
In the store contains a full Scene, only the root node
can be returned, it is the caller work to loop in the scene tree.
return  collection of all objects stored, never null, can be empty
throws  un.api.store.StoreException
Collection getElements ()


The store may contain multiple objects.
Since those can be long to create, this method allows to search
for a specific type of objects and avoid creating others.
param  type class of objects searched
return  collection of all objects of given type, never null, can be empty
throws  un.api.store.StoreException
Collection searchElements (Class type)


Erase and write given elements.
param  elements
throws  un.api.store.StoreException
void writeElements (Collection elements)