001/* 002 * (C) Copyright 2006-2016 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Tiago Cardoso <tcardoso@nuxeo.com> 018 */ 019package org.nuxeo.ecm.platform.threed.convert; 020 021import org.apache.commons.io.FilenameUtils; 022import org.nuxeo.ecm.core.api.Blob; 023import org.nuxeo.ecm.core.api.blobholder.BlobHolder; 024import org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolderWithProperties; 025import org.nuxeo.ecm.core.api.impl.blob.FileBlob; 026import org.nuxeo.ecm.platform.commandline.executor.api.CmdParameters; 027import org.nuxeo.ecm.core.convert.api.ConversionException; 028 029import java.io.File; 030import java.io.Serializable; 031import java.util.ArrayList; 032import java.util.HashMap; 033import java.util.List; 034import java.util.Map; 035 036import static org.nuxeo.ecm.platform.threed.convert.Constants.LOD_IDS_PARAMETER; 037import static org.nuxeo.ecm.platform.threed.convert.Constants.OUT_DIR_PARAMETER; 038 039/** 040 * Conversion from any supported 3D type to Collada 041 * 042 * @since 8.4 043 */ 044public class ColladaConverter extends BaseBlenderConverter { 045 046 @Override 047 protected Map<String, Blob> getCmdBlobParameters(BlobHolder blobHolder, Map<String, Serializable> parameters) 048 throws ConversionException { 049 return null; 050 } 051 052 @Override 053 protected Map<String, String> getCmdStringParameters(BlobHolder blobHolder, Map<String, Serializable> parameters) 054 throws ConversionException { 055 return null; 056 } 057 058}