#include <boost/python.hpp>
#include "G4Colour.hh"
#include "G4Color.hh"
Go to the source code of this file.
Definition at line 40 of file pyG4Colour.cc.
Referenced by BOOST_PYTHON_MODULE().
42 class_<G4Colour> (
"G4Color",
"color class", no_init)
45 .def(init<G4double>())
46 .def(init<G4double, G4double>())
47 .def(init<G4double, G4double, G4double>())
48 .def(init<G4double, G4double, G4double, G4double>())
49 .def(init<G4ThreeVector>())
51 .def(
"GetRed", &G4Colour::GetRed)
52 .def(
"GetGreen", &G4Colour::GetGreen)
53 .def(
"GetBlue", &G4Colour::GetBlue)
54 .def(
"GetAlpha", &G4Colour::GetAlpha)
56 .def(self_ns::str(
self))