fbfbxoptions.h

00001 #ifndef __FBFBXOPTIONS_H__
fbfbxoptions.h
00002 #define __FBFBXOPTIONS_H__ 00003 /************************************************************************** 00004 Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors. 00005 All Rights Reserved. 00006 00007 The coded instructions, statements, computer programs, and/or related 00008 material (collectively the "Data") in these files contain unpublished 00009 information proprietary to Autodesk, Inc. and/or its licensors, which is 00010 protected by Canada and United States of America federal copyright law 00011 and by international treaties. 00012 00013 The Data may not be disclosed or distributed to third parties, in whole 00014 or in part, without the prior written consent of Autodesk, Inc. 00015 ("Autodesk"). 00016 00017 THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY. 00018 ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO 00019 WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR 00020 ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES 00021 OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR 00022 PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT 00023 WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR 00024 FREE. 00025 00026 IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS 00027 OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR 00028 EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE 00029 DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS 00030 OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR 00031 DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF 00032 LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT 00033 LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE 00034 DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS 00035 BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. 00036 00037 **************************************************************************/ 00038 00047 #include <kaydaradef.h> 00048 #ifndef FBSDK_DLL 00049 00052 #define FBSDK_DLL K_DLLIMPORT 00053 #endif 00054 00055 #include <fbsdk/fbcomponent.h> 00056 00057 #ifdef FBSDKUseNamespace 00058 namespace FBSDKNamespace { 00059 #endif 00060 00061 00063 00066 enum FBElementAction { 00067 kFBElementActionSave , 00068 kFBElementActionAppend , 00069 kFBElementActionMerge , 00070 kFBElementActionDiscard, 00071 }; 00072 FB_DEFINE_ENUM( FBSDK_DLL, ElementAction ); // FBPropertyElementAction 00073 00076 enum FBTakeSpanOnLoad { kFBLeaveAsIs , 00077 kFBImportFromFile, 00078 kFBFrameAnimation, 00079 }; 00080 FB_DEFINE_ENUM( FBSDK_DLL, TakeSpanOnLoad ); // FBPropertyTakeSpanOnLoad 00081 00087 __FB_FORWARD( FBFbxOptions ); 00088 00089 class FBSDK_DLL FBFbxOptions : public FBComponent { 00090 __FBClassDeclare( FBFbxOptions, FBComponent ); 00091 public: 00097 FBFbxOptions( bool pLoad, HIObject pObject = NULL); 00098 00104 void SetAll( FBElementAction pElementAction, bool pAnimation ); 00105 00110 FBPropertyTakeSpanOnLoad TakeSpan; 00111 00112 00113 00119 FBPropertyBool ConvertImageToTiff; 00120 FBPropertyBool EmbedMedia; 00121 FBPropertyBool SaveSelectedModelsOnly; 00122 FBPropertyBool UseASCIIFormat; 00123 FBPropertyBool CompressArray; 00124 FBPropertyInt CompressMinSize; 00125 FBPropertyInt CompressLevel; 00126 00127 00128 00132 FBPropertyBool BaseCameras; 00133 FBPropertyBool CameraSwitcherSettings; 00134 FBPropertyBool CurrentCameraSettings; 00135 FBPropertyBool GlobalLightingSettings; 00136 FBPropertyBool TransportSettings; 00137 00138 00139 FBPropertyString CustomImportNamespace; 00140 00144 FBPropertyElementAction Actors; 00145 FBPropertyElementAction ActorFaces; 00146 FBPropertyElementAction Audio; 00147 FBPropertyElementAction Bones; 00148 FBPropertyElementAction Cameras; 00149 FBPropertyElementAction Characters; 00150 FBPropertyElementAction CharacterFaces; 00151 FBPropertyElementAction CharacterExtensions; 00152 FBPropertyElementAction Constraints; 00153 FBPropertyElementAction Devices; 00154 FBPropertyElementAction Groups; 00155 FBPropertyElementAction KeyingGroups; 00156 FBPropertyElementAction Lights; 00157 FBPropertyElementAction Materials; 00158 FBPropertyElementAction Models; 00159 FBPropertyElementAction Notes; 00160 FBPropertyElementAction OpticalData; 00161 FBPropertyElementAction PhysicalProperties; 00162 FBPropertyElementAction Poses; 00163 FBPropertyElementAction Scripts; 00164 FBPropertyElementAction Sets; 00165 FBPropertyElementAction Shaders; 00166 FBPropertyElementAction Solvers; 00167 FBPropertyElementAction Story; 00168 FBPropertyElementAction Textures; 00169 FBPropertyElementAction Video; 00170 00171 00172 00177 FBPropertyBool ActorFacesAnimation; 00178 FBPropertyBool BonesAnimation; 00179 FBPropertyBool CamerasAnimation; 00180 FBPropertyBool CharactersAnimation; 00181 FBPropertyBool CharacterFacesAnimation; 00182 FBPropertyBool ConstraintsAnimation; 00183 FBPropertyBool DevicesAnimation; 00184 FBPropertyBool LightsAnimation; 00185 FBPropertyBool MaterialsAnimation; 00186 FBPropertyBool ModelsAnimation; 00187 FBPropertyBool NotesAnimation; 00188 FBPropertyBool PhysicalPropertiesAnimation; 00189 FBPropertyBool ShadersAnimation; 00190 FBPropertyBool SolversAnimation; 00191 FBPropertyBool TexturesAnimation; 00192 00193 }; 00194 00195 #ifdef FBSDKUseNamespace 00196 } 00197 #endif 00198 00199 #endif

Please send us your comments about this page.