Changeset 881 for trunk/src/python_SDLineFinder.cc
- Timestamp:
- 03/08/06 11:58:43 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python_SDLineFinder.cc
r370 r881 1 1 //#--------------------------------------------------------------------------- 2 //# python_S DLineFinder.cc: python exposure of C++ SDLineFinder class2 //# python_STLineFinder.cc: python exposure of C++ STLineFinder class 3 3 //#--------------------------------------------------------------------------- 4 4 //# Copyright (C) 2004 … … 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id: 29 //# $Id:$ 30 30 //#--------------------------------------------------------------------------- 31 31 #include <boost/python.hpp> … … 37 37 namespace asap { 38 38 namespace python { 39 void python_S DLineFinder() {40 class_<S DLineFinder>("linefinder")39 void python_STLineFinder() { 40 class_<STLineFinder>("linefinder") 41 41 .def( init <> () ) 42 .def("setoptions",&S DLineFinder::setOptions)43 .def("setscan",&S DLineFinder::setScan)44 .def("findlines",&S DLineFinder::findLines)45 .def("getmask",&S DLineFinder::getMask)46 .def("getlineranges",&S DLineFinder::getLineRanges)47 .def("getlinerangesinchannels",&S DLineFinder::getLineRangesInChannels)42 .def("setoptions",&STLineFinder::setOptions) 43 .def("setscan",&STLineFinder::setScan) 44 .def("findlines",&STLineFinder::findLines) 45 .def("getmask",&STLineFinder::getMask) 46 .def("getlineranges",&STLineFinder::getLineRanges) 47 .def("getlinerangesinchannels",&STLineFinder::getLineRangesInChannels) 48 48 ; 49 49 };
Note: See TracChangeset
for help on using the changeset viewer.