00001 #ifndef DDL_RotationByAxis_H 00002 #define DDL_RotationByAxis_H 00003 00004 // ------------------------------------------------------------------------- 00005 // Includes 00006 // ------------------------------------------------------------------------- 00007 #include "DDXMLElement.h" 00008 00009 // Base dependency 00010 #include "DetectorDescription/Base/interface/DDRotationMatrix.h" 00011 00012 #include <string> 00013 00014 //namespace ddl { 00015 00017 00029 class DDLRotationByAxis : public DDXMLElement 00030 { 00031 00032 public: 00033 00035 DDLRotationByAxis(); 00036 00038 virtual ~DDLRotationByAxis(); 00039 00040 virtual void preProcessElement (const std::string& name, const std::string& nmspace); 00041 00042 virtual void processElement (const std::string& name, const std::string& nmspace); 00043 00044 virtual DDRotationMatrix processOne(DDRotationMatrix R, std::string& axis, std::string& angle); 00045 00046 protected: 00047 00048 private: 00049 std::string pNameSpace; 00050 std::string pName; 00051 00052 }; 00053 00054 //} 00055 #endif