Package org.nuxeo.ecm.platform.threed
Class BatchConverterHelper
- java.lang.Object
-
- org.nuxeo.ecm.platform.threed.BatchConverterHelper
-
public class BatchConverterHelper extends Object
Helper class to take out renders and list ofTransmissionThreeDform batch conversion- Since:
- 8.4
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static BlobHolderconvertTexture(BlobHolder resource, Integer percentage, String maxSize)protected static Map<String,Serializable>convertToInfo(Blob blob)protected static BlobcreateThumbnail(Blob render)protected static ThreeDInfogetInfo(Blob blob, List<BlobHolder> resources)static ThreeDInfogetMainInfo(BlobHolder batch, List<BlobHolder> resources)static List<ThreeDRenderView>getRenders(BlobHolder batch)static List<BlobHolder>getResources(BlobHolder batch)static List<TransmissionThreeD>getTransmissions(BlobHolder batch, List<BlobHolder> resources)
-
-
-
Field Detail
-
WIDTH
public static final String WIDTH
- See Also:
- Constant Field Values
-
HEIGHT
public static final String HEIGHT
- See Also:
- Constant Field Values
-
DEPTH
public static final String DEPTH
- See Also:
- Constant Field Values
-
FORMAT
public static final String FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public static final ThreeDInfo getMainInfo(BlobHolder batch, List<BlobHolder> resources)
-
getInfo
protected static final ThreeDInfo getInfo(Blob blob, List<BlobHolder> resources) throws IOException
- Throws:
IOException
-
convertToInfo
protected static final Map<String,Serializable> convertToInfo(Blob blob) throws IOException
- Throws:
IOException
-
getResources
public static final List<BlobHolder> getResources(BlobHolder batch)
-
createThumbnail
protected static final Blob createThumbnail(Blob render)
-
getRenders
public static final List<ThreeDRenderView> getRenders(BlobHolder batch)
-
-