LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pyG4VTouchable.cc File Reference
#include <boost/python.hpp>
#include "G4VTouchable.hh"
#include "G4VPhysicalVolume.hh"
#include "G4VSolid.hh"

Go to the source code of this file.

Namespaces

 pyG4VTouchable
 

Functions

 pyG4VTouchable::BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (f_GetTranslation, GetTranslation, 0, 1) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_GetRotation
 
void export_G4VTouchable ()
 

Variables

 pyG4VTouchable::GetRotation
 

Function Documentation

void export_G4VTouchable ( )

Definition at line 66 of file pyG4VTouchable.cc.

References pyG4VTouchable::GetRotation.

Referenced by BOOST_PYTHON_MODULE().

67 {
68  class_<G4VTouchable, G4VTouchable*, boost::noncopyable>
69  ("G4VTouchable", "touchable class", no_init)
70  .def("GetTranslation", &G4VTouchable::GetTranslation,
71  f_GetTranslation()
72  [return_value_policy<return_by_value>()])
73  .def("GetRotation", &G4VTouchable::GetRotation,
74  f_GetRotation()
75  [return_value_policy<reference_existing_object>()])
76  .def("GetVolume", &G4VTouchable::GetVolume,
77  f_GetVolume()
78  [return_value_policy<reference_existing_object>()])
79  .def("GetSolid", &G4VTouchable::GetSolid,
80  f_GetSolid()
81  [return_value_policy<reference_existing_object>()])
82  .def("GetReplicaNumber", &G4VTouchable::GetReplicaNumber,
83  f_GetReplicaNumber())
84  .def("GetHistoryDepth", &G4VTouchable::GetHistoryDepth)
85  .def("MoveUpHistory", &G4VTouchable::MoveUpHistory,
86  f_MoveUpHistory())
87  ;
88 }