Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4VTouchable.cc File Reference
#include <boost/python.hpp>
#include "G4VTouchable.hh"
#include "G4VPhysicalVolume.hh"
#include "G4VSolid.hh"
Include dependency graph for pyG4VTouchable.cc:

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.

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 }
virtual G4VSolid * GetSolid(G4int depth=0) const
Definition: G4VTouchable.cc:51
virtual G4int MoveUpHistory(G4int num_levels=1)
Definition: G4VTouchable.cc:65
virtual G4int GetHistoryDepth() const
Definition: G4VTouchable.cc:79
virtual const G4ThreeVector & GetTranslation(G4int depth=0) const =0
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
Definition: G4VTouchable.cc:44
virtual G4int GetReplicaNumber(G4int depth=0) const
Definition: G4VTouchable.cc:58
virtual const G4RotationMatrix * GetRotation(G4int depth=0) const =0

Here is the call graph for this function:

Here is the caller graph for this function: