Changeset 2827 for branches/plotter2/src
- Timestamp:
- 07/27/13 01:23:26 (11 years ago)
- Location:
- branches/plotter2/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plotter2/src/Plotter2.cpp
r2825 r2827 270 270 } 271 271 272 std::string Plotter2::getFileName() { 273 return filename; 274 } 275 272 276 void Plotter2::setFileName(const std::string& inFilename) { 273 277 filename = inFilename; 278 } 279 280 std::string Plotter2::getDevice() { 281 return device; 274 282 } 275 283 -
branches/plotter2/src/Plotter2.h
r2825 r2827 158 158 ~Plotter2(); 159 159 160 std::string getFileName(); 160 161 void setFileName(const std::string& inFilename); 162 std::string getDevice(); 161 163 void setDevice(const std::string& inDevice); 162 164 -
branches/plotter2/src/python_Plotter2.cpp
r2825 r2827 40 40 class_<Plotter2>("Plotter2") 41 41 .def( init <> () ) 42 .def("get_filename",&Plotter2::getFileName) 42 43 .def("set_filename",&Plotter2::setFileName) 44 .def("get_device",&Plotter2::getDevice) 43 45 .def("set_device",&Plotter2::setDevice) 44 46 .def("add_viewport",&Plotter2::addViewport)
Note:
See TracChangeset
for help on using the changeset viewer.