SLCallbacks_COLLADA_1_4x.h

00001 /****************************************************************************************
00002 THIS CODE IS PUBLISHED AS A SAMPLE ONLY AND IS PROVIDED "AS IS".
00003 IN NO EVENT SHALL SOFTIMAGE, AVID TECHNOLOGY, INC. AND/OR THEIR RESPECTIVE 
00004 SUPPLIERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
00005 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
00006 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
00007 CONNECTION WITH THE USE OR PERFORMANCE OF THIS CODE . 
00008  
00009 COPYRIGHT NOTICE. Copyright © 1999-2002 Avid Technology Inc. . All rights reserved. 
00010 
00011 SOFTIMAGE is a registered trademark of Avid Technology Inc. or its subsidiaries 
00012 or divisions. Windows NT is a registered trademark of Microsoft Corp. All other
00013 trademarks contained herein are the property of their respective owners. 
00014 ****************************************************************************************/
00015 #ifndef _SLCALLBACKS_COLLADA_1_4X_H
00016 #define _SLCALLBACKS_COLLADA_1_4X_H
00017 
00018 #include "Template.h"
00019 #include "Scene.h"
00020 
00021 // registration function
00022 
00023 XSIEXPORT SI_Error Register_COLLADA_1_4x(CSLScene *in_pScene);
00024 
00025 // scene Load callbacks
00026 XSIEXPORT CSLTemplate *COLLADALightCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00027 XSIEXPORT CSLTemplate *COLLADANodeCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00028 XSIEXPORT CSLTemplate *COLLADAMeshCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00029 XSIEXPORT CSLTemplate *COLLADAControllerCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00030 XSIEXPORT CSLTemplate *COLLADAEnvelopeCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00031 XSIEXPORT CSLTemplate *COLLADAShapeAnimationCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext, CCOLLADATemplate *in_pMorphTemplate = NULL);
00032 XSIEXPORT CSLTemplate *COLLADAModelCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00033 XSIEXPORT CSLTemplate *COLLADACameraCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00034 XSIEXPORT CSLTemplate *COLLADAAnimationLibraryNodeCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00035 XSIEXPORT CSLTemplate *COLLADAImageLibraryCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00036 XSIEXPORT CSLTemplate *COLLADAImageCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00037 XSIEXPORT CSLTemplate *COLLADAMaterialLibraryCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00038 XSIEXPORT CSLTemplate *COLLADAMaterialCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00039 XSIEXPORT CSLTemplate *COLLADAEffectLibraryCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00040 XSIEXPORT CSLTemplate *COLLADAEffectCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00041 XSIEXPORT CSLTemplate *COLLADAFXCommonProfileCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00042 XSIEXPORT CSLTemplate *COLLADAFXCommonShaderCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00043 XSIEXPORT CSLTemplate *COLLADASetParamCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00044 XSIEXPORT CSLTemplate *COLLADATranslateCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00045 XSIEXPORT CSLTemplate *COLLADARotateCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00046 XSIEXPORT CSLTemplate *COLLADAScaleCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00047 XSIEXPORT CSLTemplate *COLLADAShearCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00048 XSIEXPORT CSLTemplate *COLLADALookatCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00049 XSIEXPORT CSLTemplate *COLLADAMatrixCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00050 XSIEXPORT CSLTemplate *COLLADAXSIParamCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00051 XSIEXPORT CSLTemplate *COLLADAInstanceCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00052 XSIEXPORT CSLTemplate *COLLADAAnimationClipCallback(CdotXSITemplate *in_pTemplate, SLContext *in_pContext);
00053 
00054 // node Post load callbacks
00055 XSIEXPORT SI_Error      COLLADAPostChildrenModelCallback(CSLTemplate *in_pTemplate, SLContext *in_pContext);
00056 XSIEXPORT SI_Error      COLLADAMaterialPostChildrenCallback(CSLTemplate *in_pTemplate, SLContext *in_pContext);
00057 
00058 // scene Post load callbacks
00059 XSIEXPORT SI_Error      COLLADAAnimationLibraryCallback(SLContext *in_pContext);
00060 XSIEXPORT SI_Error      COLLADAControllerLibraryCallback(SLContext *in_pContext);
00061 XSIEXPORT SI_Error      COLLADAMaterialLibraryPostCallback(SLContext *in_pContext);
00062 XSIEXPORT SI_Error      COLLADAMaterialLibraryPostLoadCallback(SLContext *in_pContext);
00063 XSIEXPORT SI_Error      COLLADADotXSIFixupPostCallback(SLContext *in_pContext);
00064 XSIEXPORT SI_Error      COLLADAInstancePostCallback(SLContext *in_pContext);
00065 
00066 #endif