public interface ThreeDService
Modifier and Type | Method and Description |
---|---|
BlobHolder |
batchConvert(ThreeD originalThreed)
Batch convert the
originalThreed to all needed blobs (lod transmission formats and thumbnail render) |
void |
cleanBatchData(DocumentModel doc)
Clears data model for render views and transmission formats.
|
TransmissionThreeD |
convertColladaToglTF(TransmissionThreeD colladaThreeD)
Batch convert the Collada
colladaThreeD to glTF |
AutomaticLOD |
getAutomaticLOD(String id)
Returns the available registered Automatic LOD by id.
|
Collection<AutomaticLOD> |
getAutomaticLODs()
Returns the automatic registered automatic LODs on a 3D content.
|
Collection<RenderView> |
getAutomaticRenderViews()
Returns the automatic registered render views on a 3D content.
|
Collection<AutomaticLOD> |
getAvailableLODs()
Returns the available registered automatic LODs on a 3D content.
|
Collection<RenderView> |
getAvailableRenderViews()
Returns the available registered render views on a 3D content.
|
ThreeDBatchProgress |
getBatchProgress(String repositoryName,
String docId)
Get the batch processing progress
|
RenderView |
getRenderView(Integer azimuth,
Integer Zenith)
Returns the available registered render views by azimuth and zenith (the combination is always unique).
|
RenderView |
getRenderView(String id)
Returns the available registered render views by id.
|
void |
launchBatchConversion(DocumentModel doc)
Launch all the registered automatic lod transmission version and thumbnail render on the given
doc . |
void launchBatchConversion(DocumentModel doc)
doc
.doc
- the 3D document to be convertedBlobHolder batchConvert(ThreeD originalThreed)
originalThreed
to all needed blobs (lod transmission formats and thumbnail render)originalThreed
- the 3d to convertBlobHolder
object of the converted assets.void cleanBatchData(DocumentModel doc)
TransmissionThreeD convertColladaToglTF(TransmissionThreeD colladaThreeD)
colladaThreeD
to glTFcolladaThreeD
- the 3d to convertTransmissionThreeD
object of in glTF.Collection<RenderView> getAvailableRenderViews()
Collection<RenderView> getAutomaticRenderViews()
Collection<AutomaticLOD> getAvailableLODs()
Collection<AutomaticLOD> getAutomaticLODs()
AutomaticLOD getAutomaticLOD(String id)
RenderView getRenderView(String id)
RenderView getRenderView(Integer azimuth, Integer Zenith)
ThreeDBatchProgress getBatchProgress(String repositoryName, String docId)
repositoryName
- docId
- of the document being processedThreeDBatchProgress
with status (queued, running, unknown) and a message of the running stateCopyright © 2018 Nuxeo. All rights reserved.