#include <boost/python.hpp>
#include "G4RotationMatrix.hh"
Go to the source code of this file.
|
typedef G4RotationMatrix | XXX |
|
typedef G4RotationMatrix XXX |
void export_G4RotationMatrix |
( |
| ) |
|
Definition at line 53 of file pyG4RotationMatrix.cc.
References pyG4RotationMatrix::f1_rotate, pyG4RotationMatrix::f2_rotate, trkf::invert(), xx, and zz.
Referenced by BOOST_PYTHON_MODULE().
55 class_<G4RotationMatrix>(
"G4RotationMatrix",
"rotation matrix")
57 .def(init<const XXX&>())
61 .add_property(
"xy", &XXX::xy)
62 .add_property(
"xz", &XXX::xz)
63 .add_property(
"yx", &XXX::yx)
64 .add_property(
"yy", &XXX::yy)
65 .add_property(
"yz", &XXX::yz)
66 .add_property(
"zx", &XXX::zx)
67 .add_property(
"zy", &XXX::zy)
69 .def_readonly(
"IDENTITY", &XXX::IDENTITY)
72 .def(
"colX", &XXX::colX)
73 .def(
"colY", &XXX::colY)
74 .def(
"colZ", &XXX::colZ)
75 .def(
"rowX", &XXX::rowX)
76 .def(
"rowY", &XXX::rowY)
77 .def(
"rowZ", &XXX::rowZ)
78 .def(
"getPhi", &XXX::getPhi)
79 .def(
"getTheta", &XXX::getTheta)
80 .def(
"getPsi", &XXX::getPsi)
81 .def(
"phi", &XXX::phi)
82 .def(
"theta", &XXX::theta)
83 .def(
"psi", &XXX::psi)
84 .def(
"getDelta", &XXX::getDelta)
85 .def(
"getAxis", &XXX::getAxis)
86 .def(
"delta", &XXX::axis)
87 .def(
"axis", &XXX::delta)
88 .def(
"phiX", &XXX::phiX)
89 .def(
"phiY", &XXX::phiY)
90 .def(
"phiZ", &XXX::phiZ)
91 .def(
"thetaX", &XXX::thetaX)
92 .def(
"thetaY", &XXX::thetaY)
93 .def(
"thetaZ", &XXX::thetaZ)
94 .def(
"setPhi", &XXX::setPhi)
95 .def(
"setTheta", &XXX::setTheta)
96 .def(
"setPsi", &XXX::setPsi)
97 .def(
"setAxis", &XXX::setAxis)
98 .def(
"setDelta", &XXX::setDelta)
99 .def(
"isIdentity", &XXX::isIdentity)
100 .def(
"rotateX", &XXX::rotateX,
101 return_value_policy<reference_existing_object>())
102 .def(
"rotateY", &XXX::rotateY,
103 return_value_policy<reference_existing_object>())
104 .def(
"rotateZ", &XXX::rotateZ,
105 return_value_policy<reference_existing_object>())
107 return_value_policy<reference_existing_object>())
109 return_value_policy<reference_existing_object>())
110 .def(
"rotateAxes", &XXX::rotateAxes,
111 return_value_policy<reference_existing_object>())
112 .def(
"inverse", &XXX::inverse)
114 return_value_policy<reference_existing_object>())
117 .def(self_ns::str(
self))
125 .def(
self * G4ThreeVector())
XXX &(XXX::* f2_rotate)(G4double, const G4ThreeVector *)
XXX &(XXX::* f1_rotate)(G4double, const G4ThreeVector &)
bool invert(ublas::matrix< T, L, A > &m)