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