MeVisLabToolboxReference
MeVisLab/Standard/Sources/ML/MLObjMgr/ObjMgr/mlObjMgrAttributes.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //-------------------------------------------------------------------------
00005 
00010 //-------------------------------------------------------------------------
00011 
00012 #ifndef __mlObjMgrAttributes_H
00013 #define __mlObjMgrAttributes_H
00014 
00015 #ifndef __mlObjMgrSubAttribute_H
00016 #include "mlObjMgrSubAttribute.h"
00017 #endif
00018 
00019 #ifndef __mlObjMgrDataTypes_H
00020 #include "mlObjMgrDataTypes.h"
00021 #endif
00022 
00023 // omAttribute_Message
00024 #ifndef __mlObjMgrAttribute_Message_H
00025 #include "mlObjMgrAttribute_Message.h"
00026 #endif
00027 
00028 // Constants for all registered attribute (info) types
00029 #define omINFOTYPE_INT32      "omAttribute_MLint32"
00030 #define omINFOTYPE_BOOL       "omAttribute_bool"
00031 #define omINFOTYPE_DOUBLE     "omAttribute_double"
00032 #define omINFOTYPE_MAT4       "omAttribute_mat4"
00033 #define omINFOTYPE_INT32VEC   "omAttribute_std_MLint32Vec"
00034 #define omINFOTYPE_STRING     "omAttribute_std_string"
00035 #define omINFOTYPE_MESSAGE    "omAttribute_omMessage"
00036 #define omINFOTYPE_VEC3       "omAttribute_vec3"
00037 #define omINFOTYPE_VEC4       "omAttribute_vec4"
00038 #define omINFOTYPE_VEC3VEC    "omAttribute_std_vec3Vec"
00039 #define omINFOTYPE_BASEPTR    "omAttribute_BasePtr"
00040 
00041 ML_START_NAMESPACE
00042 
00044    //  Declaration of attribute data types
00045    //
00046    //  To add new types: see also mlObjMgrObject.cpp and MLObjMgrInit.cpp
00047    //  The macros are defined in mlObjMgrSubAttribute.h
00048 
00049    ATTRIBUTE_TYPE_HEADER(MLint32)
00050    ATTRIBUTE_TYPE_HEADER(bool)
00051    ATTRIBUTE_TYPE_HEADER(double)
00052    ATTRIBUTE_TYPE_HEADER(vec3)
00053    ATTRIBUTE_TYPE_HEADER(vec4)
00054    ATTRIBUTE_TYPE_HEADER(mat4)
00055    ATTRIBUTE_TYPE_HEADER(std_string)
00056    ATTRIBUTE_TYPE_HEADER(std_MLint32Vec)
00057    ATTRIBUTE_TYPE_HEADER(std_vec3Vec)
00058    ATTRIBUTE_TYPE_HEADER(BasePtr)
00059 
00060    
00062    std::list<std::string> omGetKnownAttributes();
00063 
00064 ML_END_NAMESPACE
00065 
00066 #endif // __mlObjMgrAttributes_H