#include <boost/python.hpp>
#include "G4Transform3D.hh"
#include "G4ThreeVector.hh"
#include "G4RotationMatrix.hh"
Go to the source code of this file.
void export_G4Transform3D |
( |
| ) |
|
Definition at line 44 of file pyG4Transform3D.cc.
46 class_<G4Transform3D>(
"G4Transform3D",
"geometrical 3D transformation")
48 .def(init<const G4RotationMatrix&, const G4ThreeVector&>())
49 .def(init<const XXX&>())
52 .add_property(
"xx", &XXX::xx)
53 .add_property(
"xy", &XXX::xy)
54 .add_property(
"xz", &XXX::xz)
55 .add_property(
"yx", &XXX::yx)
56 .add_property(
"yy", &XXX::yy)
57 .add_property(
"yz", &XXX::yz)
58 .add_property(
"zx", &XXX::zx)
59 .add_property(
"zy", &XXX::zy)
60 .add_property(
"zz", &XXX::zz)
61 .add_property(
"dx", &XXX::dx)
62 .add_property(
"dy", &XXX::dy)
63 .add_property(
"dz", &XXX::dz)
64 .def_readonly(
"Identity", &XXX::Identity)
67 .def(
"inverse", &XXX::inverse)
68 .def(
"getRotation" , &XXX::getRotation)
69 .def(
"getTranslation", &XXX::getTranslation)