qscene.cpp
Go to the documentation of this file.
00001 #include "qscene.h"
00002 #include "qscene.moc"
00003 
00004 #include "qlaserdata.h"
00005 
00006 QScene::QScene() {
00007         setSceneRect(-20, -20, 20, 20);
00008         setItemIndexMethod(QGraphicsScene::NoIndex);
00009 }
00010 
00011 
00012 void QScene::new_laser_data(LDP ld) {
00013         addItem(new QLaserData(ld));
00014 }
00015 
00016 void QScene::adjust() {
00017         setSceneRect(itemsBoundingRect());
00018 }
00019 
00020 


csm
Author(s): Andrea Censi
autogenerated on Mon Jan 16 2017 03:48:29