00001 #ifndef SIGEL_TOOLS_SIG_TYPECONVERTER_H
00002 #define SIGEL_TOOLS_SIG_TYPECONVERTER_H
00003
00004 #include <pointvector.h>
00005 #include <matrix.h>
00006 #include <newmat.h>
00007 #include <dm.h>
00008
00009 namespace SIGEL_Tools
00010 {
00011
00012 class SIG_TypeConverter
00013 {
00014
00015 public:
00016
00017 static DL_vector toDL_vector( NEWMAT::ColumnVector input );
00018
00019 static DL_vector toDL_vector( CartesianVector const input );
00020
00021 static NEWMAT::ColumnVector toColumnVector( DL_vector input );
00022
00023 static NEWMAT::ColumnVector toColumnVector( CartesianVector const input );
00024
00025 static void toCartesianVector( DL_vector input, CartesianVector result );
00026
00027 static void toCartesianVector( NEWMAT::ColumnVector input, CartesianVector result );
00028
00029 static DL_matrix toDL_matrix( NEWMAT::Matrix input );
00030
00031 static DL_matrix toDL_matrix( RotationMatrix const input );
00032
00033 static NEWMAT::Matrix toMatrix( DL_matrix input );
00034
00035 static NEWMAT::Matrix toMatrix( RotationMatrix const input );
00036
00037 static void toRotationMatrix( NEWMAT::Matrix input, RotationMatrix result );
00038
00039 static void toRotationMatrix( DL_matrix input, RotationMatrix result );
00040
00041 static NEWMAT::Matrix sigelToDynaMechs();
00042
00043 static NEWMAT::Matrix dynaMechsToSigel();
00044
00045 static NEWMAT::Matrix sigelToPovray();
00046 };
00047
00048 };
00049
00050 #endif // SIGEL_TOOLS_SIG_TYPECONVERTER_H