MeVisLabToolboxReference
|
00001 // **InsertLicense** code 00002 //---------------------------------------------------------------------------------- 00004 00009 // 00010 // Defines the classes: 00011 // - Mat3List, Mat4List 00012 //---------------------------------------------------------------------------------- 00013 00014 00015 00016 #ifndef __mlMatList_H 00017 #define __mlMatList_H 00018 00019 00020 00021 // ML includes 00022 #ifndef __mlBaseInit_H 00023 #include "mlBaseInit.h" 00024 #endif 00025 #ifndef __mlModuleIncludes_H 00026 #include "mlModuleIncludes.h" 00027 #endif 00028 #ifndef __mlLinearAlgebra_H 00029 #include "mlLinearAlgebra.h" 00030 #endif 00031 00032 00033 // Local includes 00034 #ifndef __mlListBase_H 00035 #include "mlListBase.h" 00036 #endif 00037 00038 00039 00040 ML_START_NAMESPACE 00041 00042 00043 00044 // ------------------------------------------------------------------ 00046 // ------------------------------------------------------------------ 00047 00050 class MLBASEEXPORT Mat3List : public ListTemplate<Matrix3> 00051 { 00052 public: 00053 00055 Mat3List () : ListTemplate<Matrix3>(true) {} 00056 00057 protected: 00058 00060 00061 00064 virtual char *getItemState (Mat3List::const_iterator it) const; 00065 00067 virtual void setItemState (Mat3List::iterator it, const char *state); 00068 00070 00071 00072 private: 00073 00075 ML_CLASS_HEADER(Mat3List); 00076 00077 00078 }; 00079 00080 00081 00082 // ------------------------------------------------------------------ 00084 // ------------------------------------------------------------------ 00085 00088 class MLBASEEXPORT Mat4List : public ListTemplate<Matrix4> 00089 { 00090 public: 00091 00093 Mat4List () : ListTemplate<Matrix4>(true) {} 00094 00095 protected: 00096 00098 00099 00102 virtual char *getItemState (Mat4List::const_iterator it) const; 00103 00105 virtual void setItemState (Mat4List::iterator it, const char *state); 00106 00108 00109 00110 private: 00111 00113 ML_CLASS_HEADER(Mat4List); 00114 00115 }; 00116 00117 00118 ML_END_NAMESPACE 00119 00120 00121 #endif // __mlMatList_H