Interface ThreeDService
-
- All Known Implementing Classes:
ThreeDServiceImpl
public interface ThreeDServiceService to asynchronously launch and monitor 3D format conversions (including lod) and rendering.- Since:
- 8.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlobHolderbatchConvert(ThreeD originalThreed)Batch convert theoriginalThreedto all needed blobs (lod transmission formats and thumbnail render)voidcleanBatchData(DocumentModel doc)Clears data model for render views and transmission formats.TransmissionThreeDconvertColladaToglTF(TransmissionThreeD colladaThreeD)Batch convert the ColladacolladaThreeDto glTFAutomaticLODgetAutomaticLOD(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.ThreeDBatchProgressgetBatchProgress(String repositoryName, String docId)Get the batch processing progressRenderViewgetRenderView(Integer azimuth, Integer Zenith)Returns the available registered render views by azimuth and zenith (the combination is always unique).RenderViewgetRenderView(String id)Returns the available registered render views by id.voidlaunchBatchConversion(DocumentModel doc)Launch all the registered automatic lod transmission version and thumbnail render on the givendoc.
-
-
-
Method Detail
-
launchBatchConversion
void launchBatchConversion(DocumentModel doc)
Launch all the registered automatic lod transmission version and thumbnail render on the givendoc.- Parameters:
doc- the 3D document to be converted
-
batchConvert
BlobHolder batchConvert(ThreeD originalThreed)
Batch convert theoriginalThreedto all needed blobs (lod transmission formats and thumbnail render)- Parameters:
originalThreed- the 3d to convert- Returns:
- a
BlobHolderobject of the converted assets.
-
cleanBatchData
void cleanBatchData(DocumentModel doc)
Clears data model for render views and transmission formats.
-
convertColladaToglTF
TransmissionThreeD convertColladaToglTF(TransmissionThreeD colladaThreeD)
Batch convert the ColladacolladaThreeDto glTF- Parameters:
colladaThreeD- the 3d to convert- Returns:
- a
TransmissionThreeDobject of in glTF.
-
getAvailableRenderViews
Collection<RenderView> getAvailableRenderViews()
Returns the available registered render views on a 3D content.
-
getAutomaticRenderViews
Collection<RenderView> getAutomaticRenderViews()
Returns the automatic registered render views on a 3D content.
-
getAvailableLODs
Collection<AutomaticLOD> getAvailableLODs()
Returns the available registered automatic LODs on a 3D content.
-
getAutomaticLODs
Collection<AutomaticLOD> getAutomaticLODs()
Returns the automatic registered automatic LODs on a 3D content.
-
getAutomaticLOD
AutomaticLOD getAutomaticLOD(String id)
Returns the available registered Automatic LOD by id.
-
getRenderView
RenderView getRenderView(String id)
Returns the available registered render views by id.
-
getRenderView
RenderView getRenderView(Integer azimuth, Integer Zenith)
Returns the available registered render views by azimuth and zenith (the combination is always unique).
-
getBatchProgress
ThreeDBatchProgress getBatchProgress(String repositoryName, String docId)
Get the batch processing progress- Parameters:
docId- of the document being processed- Returns:
- a
ThreeDBatchProgresswith status (queued, running, unknown) and a message of the running state
-
-