00001 #ifndef __domKinematics_scene_h__ 00002 #define __domKinematics_scene_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domAsset.h> 00009 #include <dom/domInstance_kinematics_model.h> 00010 #include <dom/domInstance_articulated_system.h> 00011 #include <dom/domExtra.h> 00012 class DAE; 00013 00014 class domKinematics_scene : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::KINEMATICS_SCENE; } 00018 static daeInt ID() { return 451; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attributes 00021 xsID attrId; 00022 xsToken attrName; 00023 00024 protected: // Elements 00025 domAssetRef elemAsset; 00026 domInstance_kinematics_model_Array elemInstance_kinematics_model_array; 00027 domInstance_articulated_system_Array elemInstance_articulated_system_array; 00028 domExtra_Array elemExtra_array; 00029 00030 public: //Accessors and Mutators 00035 xsID getId() const { return attrId; } 00040 void setId( xsID atId ) { *(daeStringRef*)&attrId = atId; 00041 if( _document != NULL ) _document->changeElementID( this, attrId ); 00042 } 00043 00048 xsToken getName() const { return attrName; } 00053 void setName( xsToken atName ) { *(daeStringRef*)&attrName = atName;} 00054 00059 const domAssetRef getAsset() const { return elemAsset; } 00064 domInstance_kinematics_model_Array &getInstance_kinematics_model_array() { return elemInstance_kinematics_model_array; } 00069 const domInstance_kinematics_model_Array &getInstance_kinematics_model_array() const { return elemInstance_kinematics_model_array; } 00074 domInstance_articulated_system_Array &getInstance_articulated_system_array() { return elemInstance_articulated_system_array; } 00079 const domInstance_articulated_system_Array &getInstance_articulated_system_array() const { return elemInstance_articulated_system_array; } 00084 domExtra_Array &getExtra_array() { return elemExtra_array; } 00089 const domExtra_Array &getExtra_array() const { return elemExtra_array; } 00090 protected: 00094 domKinematics_scene(DAE& dae) : daeElement(dae), attrId(), attrName(), elemAsset(), elemInstance_kinematics_model_array(), elemInstance_articulated_system_array(), elemExtra_array() {} 00098 virtual ~domKinematics_scene() {} 00102 virtual domKinematics_scene &operator=( const domKinematics_scene &cpy ) { (void)cpy; return *this; } 00103 00104 public: // STATIC METHODS 00109 static DLLSPEC daeElementRef create(DAE& dae); 00115 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00116 }; 00117 00118 00119 #endif