Package org.nuxeo.ecm.platform.threed
Class BatchConverterHelper
java.lang.Object
org.nuxeo.ecm.platform.threed.BatchConverterHelper
Helper class to take out renders and list of
TransmissionThreeD form batch conversion- Since:
- 8.4
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected static final BlobHolderconvertTexture(BlobHolder resource, Integer percentage, String maxSize) protected static final Map<String,Serializable> convertToInfo(Blob blob) protected static final BlobcreateThumbnail(Blob render) protected static final ThreeDInfogetInfo(Blob blob, List<BlobHolder> resources) static final ThreeDInfogetMainInfo(BlobHolder batch, List<BlobHolder> resources) static final List<ThreeDRenderView>getRenders(BlobHolder batch) static final List<BlobHolder>getResources(BlobHolder batch) static final List<TransmissionThreeD>getTransmissions(BlobHolder batch, List<BlobHolder> resources)
-
Field Details
-
WIDTH
- See Also:
-
HEIGHT
- See Also:
-
DEPTH
- See Also:
-
FORMAT
- See Also:
-
-
Method Details
-
convertTexture
protected static final BlobHolder convertTexture(BlobHolder resource, Integer percentage, String maxSize) -
getTransmissions
public static final List<TransmissionThreeD> getTransmissions(BlobHolder batch, List<BlobHolder> resources) -
getMainInfo
-
getInfo
- Throws:
IOException
-
convertToInfo
- Throws:
IOException
-
getResources
-
createThumbnail
-
getRenders
-