test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDLRotationByAxis.h
Go to the documentation of this file.
1 #ifndef DDL_RotationByAxis_H
2 #define DDL_RotationByAxis_H
3 
4 // -------------------------------------------------------------------------
5 // Includes
6 // -------------------------------------------------------------------------
7 #include "DDXMLElement.h"
8 
9 // Base dependency
11 
12 #include <string>
13 
15 
28 {
29 public:
30 
33 
35  virtual ~DDLRotationByAxis( void );
36 
37  virtual void preProcessElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv );
38 
39  virtual void processElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv );
40 
42 
43 private:
46 };
47 
48 #endif
type of data representation of DDCompactView
Definition: DDCompactView.h:77
DDLRotationByAxis(DDLElementRegistry *myreg)
Constructor.
std::string pNameSpace
virtual DDRotationMatrix processOne(DDRotationMatrix R, std::string &axis, std::string &angle)
virtual void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Called by loadAttributes AFTER attributes are loaded.
virtual void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.
This is a base class for processing XML elements in the DDD.
Definition: DDXMLElement.h:58
DDLRotationByAxis handles RotationByAxis elements.
virtual ~DDLRotationByAxis(void)
Destructor.
The main class for processing parsed elements.
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11