LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 65 of file pyG4VTouchable.cc.

References pyG4VTouchable::GetRotation.

Referenced by BOOST_PYTHON_MODULE().

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