AnimatableFlags.h

Go to the documentation of this file.
00001 //**************************************************************************/
00002 // Copyright (c) 1998-2006 Autodesk, Inc.
00003 // All rights reserved.
00004 // 
00005 // These coded instructions, statements, and computer programs contain
00006 // unpublished proprietary information written by Autodesk, Inc., and are
00007 // protected by Federal copyright law. They may not be disclosed to third
00008 // parties or copied or duplicated in any form, in whole or in part, without
00009 // the prior written consent of Autodesk, Inc.
00010 //**************************************************************************/
00011 #pragma once
00012 
00013 
00014 #define ANIMTYPE_NODE       1
00015 #define ANIMTYPE_ROOTNODE   3
00016 #define ANIMTYPE_CONTROL    2
00017 
00018 // The maximum number of track views that can be opened. Each
00019 // animatable stores 3 bits for each track to identify it's open/close
00020 // state and selection state.
00021 #define MAX_TRACK_VIEWS 16
00022 
00023 #define ALL_TRACK_VIEWS 0xffff
00024 
00025 // The maximum number of track view selection sets
00026 #define MAX_TRACKVIEW_SELSETS   16
00027 
00029 
00034 #define TRACKVIEW_NODE  0  //!< operate on the tree based on the node parent/child relationship
00035 #define TRACKVIEW_ANIM  1  //!< operate on the tree based on the animatable/subanim relationship
00036 
00047 
00048 
00049 // BITS 5-11, and 19 are reserved for specific sub-class use.
00050 
00052 
00053 
00054 #define A_ATMOS_DISABLED        (1<<5)
00055 
00056 #define A_ATMOS_OBJECTXREF      (1<<6)
00057 
00058 #define A_ATMOS_SCENEXREF       (1<<7)
00059 
00060 
00062 
00063 
00064 #define A_TONEOP_DISABLED       (1<<5)
00065 
00066 #define A_TONEOP_PROCESS_BG     (1<<6)
00067 
00068 #define A_TONEOP_INDIRECT_ONLY  (1<<7)
00069 
00070 
00072 
00073 
00074 #define A_OBJ_CREATING          (1<<5)      
00075 #ifdef _OSNAP
00076 
00078 #define A_OBJ_LONG_CREATE       (1<<6)      
00079 #endif
00080 #define A_OBJ_BEING_EDITED      (1<<7)
00081 
00082 
00084 
00085 
00086 #define A_MOD_DISABLED          (1<<5)
00087 
00088 #define A_MOD_BEING_EDITED      (1<<6)
00089 
00090 #define A_MOD_USE_SEL           (1<<7)
00091 
00092 #define A_MOD_DISABLED_INVIEWS  (1<<8)
00093 
00094 #define A_MOD_DISABLED_INRENDER (1<<9)
00095 
00096 
00098 
00099 
00100 #define A_MODAPP_DISABLED       (1<<5)
00101 
00102 #define A_MODAPP_SELECTED       (1<<6)
00103 
00104 #define A_MODAPP_DISPLAY_ACTIVE (1<<7)
00105 
00106 #define A_MODAPP_DYNAMIC_BOX    (1<<8)
00107 
00108 #define A_MODAPP_RENDERING      (1<<9)
00109 
00110 
00112 #define A_DERIVEDOBJ_DONTDELETE (1<<9)
00113 
00115 
00116 
00117 #define A_ORT_MASK              7
00118 
00119 #define A_ORT_BEFORESHIFT       5
00120 
00121 #define A_ORT_AFTERSHIFT        8
00122 
00123 #define A_CTRL_DISABLED         (1<<11)
00124 
00125 #define A_ORT_DISABLED          (1<<19)
00126 
00127 
00129 
00130 
00131 #define A_INODE_IK_TERMINATOR   (1<<5)
00132 
00133 #define A_INODE_IK_POS_PINNED   (1<<6)
00134 
00135 #define A_INODE_IK_ROT_PINNED   (1<<7)
00136 #ifdef _OSNAP
00137 #define A_INODE_CLONE_TARGET    (1<<8)
00138 #endif
00139 
00140 #define A_INODE_IN_UPDATE       (1<<9)
00141 
00142 #define A_INODE_IN_UPDATE_TM    (1<<10)
00143 
00144 
00146 
00147 #define A_COMPONENT_LOCKED      (1<<19)
00148 
00150 #define A_TVNODE_DONTRESACLECONTROLLERS (1 << 5)
00151 
00154 
00155 
00156 
00159 #define A_HELD              (1<<12)
00160 
00161 #define A_SET               (1<<13)
00162 
00163 
00164 #define A_IS_DELETED        (1<<14)
00165 
00166 
00167 #define A_BEING_AUTO_DELETED  (1<<15)
00168 
00169 
00171 #define A_RESERVED_B16                  (1<<16)
00172 
00174 
00176 #define A_CHANGE_PARENTS_DONE           (1<<17)
00177 
00179 
00181 #define A_REFMAKER_REFS_CHECKED         (1<<18)
00182 
00184 
00185 #define A_SUPERCLASS1       (1<<20)
00186 #define A_SUPERCLASS2       (1<<21)
00187 
00188 
00193 
00194 #define A_PLUGIN1           (1<<22)
00195 #define A_PLUGIN2           (1<<23)
00196 #define A_PLUGIN3           (1<<24)
00197 #define A_PLUGIN4           (1<<25)
00198 
00199 
00201 #define A_DEPENDENCY_TEST   (1<<26)
00202 
00204 
00210 #define A_LOCK_TARGET       (1<<27)
00211 
00218 
00219 #define A_WORK1             (1<<28)
00220 #define A_WORK2             (1<<29)
00221 #define A_WORK3             (1<<30)
00222 #define A_WORK4             (1<<31)
00223 
00224 
00230 
00231 #define A_EX_RESERVED_B00           (1<<0)
00232 #define A_EX_RESERVED_B01           (1<<1)
00233 #define A_EX_RESERVED_B02           (1<<2)
00234 #define A_EX_RESERVED_B03           (1<<3)
00235 #define A_EX_RESERVED_B04           (1<<4)
00236 #define A_EX_RESERVED_B05           (1<<5)
00237 #define A_EX_RESERVED_B06           (1<<6)
00238 #define A_EX_RESERVED_B07           (1<<7)
00239 #define A_EX_RESERVED_B08           (1<<8)
00240 #define A_EX_RESERVED_B09           (1<<9)
00241 #define A_EX_RESERVED_B10           (1<<10)
00242 #define A_EX_RESERVED_B11           (1<<11)
00243 #define A_EX_RESERVED_B12           (1<<12)
00244 #define A_EX_RESERVED_B13           (1<<13)
00245 #define A_EX_RESERVED_B14           (1<<14)
00246 #define A_EX_RESERVED_B15           (1<<15)
00247 #define A_EX_RESERVED_B16           (1<<16)
00248 #define A_EX_RESERVED_B17           (1<<17)
00249 #define A_EX_RESERVED_B18           (1<<18)
00250 #define A_EX_RESERVED_B19           (1<<19)
00251 #define A_EX_RESERVED_B20           (1<<20)
00252 #define A_EX_RESERVED_B21           (1<<21)
00253 #define A_EX_RESERVED_B22           (1<<22)
00254 #define A_EX_RESERVED_B23           (1<<23)
00255 #define A_EX_RESERVED_B24           (1<<24)
00256 #define A_EX_RESERVED_B25           (1<<25)
00257 #define A_EX_RESERVED_B26           (1<<26)
00258 #define A_EX_RESERVED_B27           (1<<27)
00259 #define A_EX_RESERVED_B28           (1<<28)
00260 #define A_EX_RESERVED_B29           (1<<29)
00261 #define A_EX_RESERVED_B30           (1<<30)
00262 #define A_EX_RESERVED_B31           (1<<31)
00263 
00264 
00269 
00270 
00271 #define A_EVALUATING            1
00272 
00273 #define A_NOTIFYDEP             (1<<1)
00274 
00275 #define A_DEPENDENTS_BEING_ENUMERATED   (1<<2)
00276 
00277 #define A_RESERVED_B03          (1<<3) 
00278 
00279 #define A_OBJECT_REDUCED        (1<<4)
00280 
00281