LVRRecordedFrameItem.hpp
Go to the documentation of this file.
1 
28 #ifndef LVRRECORDEDFRAMEITEM_H_
29 #define LVRRECORDEDFRAMEITEM_H_
30 
31 #include <QString>
32 #include <QStringList>
33 #include <QListWidgetItem>
34 #include <QTextStream>
35 
36 #include <vtkSmartPointer.h>
37 #include <vtkCamera.h>
38 #include <vtkCameraRepresentation.h>
39 
40 namespace lvr2
41 {
42 
43 class LVRRecordedFrameItem : public QListWidgetItem
44 {
45 public:
46  LVRRecordedFrameItem(vtkSmartPointer<vtkCameraRepresentation> pathCamera, QString name = "");
47  LVRRecordedFrameItem(QString name = "");
48 
49  virtual ~LVRRecordedFrameItem();
50  void writeToStream(QTextStream &out);
51  static LVRRecordedFrameItem* createFromStream(QTextStream &in);
52 
53 public Q_SLOTS:
54  vtkSmartPointer<vtkCamera> getFrame();
55 
56 protected:
57  vtkSmartPointer<vtkCamera> m_recordedFrame;
58  QString m_name;
59 };
60 
61 } /* namespace lvr2 */
62 
63 #endif /* LVRRECORDEDFRAMEITEM_H_ */
lvr2::LVRRecordedFrameItem::LVRRecordedFrameItem
LVRRecordedFrameItem(vtkSmartPointer< vtkCameraRepresentation > pathCamera, QString name="")
Definition: LVRRecordedFrameItem.cpp:35
lvr2::LVRRecordedFrameItem::getFrame
vtkSmartPointer< vtkCamera > getFrame()
Definition: LVRRecordedFrameItem.cpp:60
lvr2::LVRRecordedFrameItem::m_name
QString m_name
Definition: LVRRecordedFrameItem.hpp:58
lvr2::LVRRecordedFrameItem
Definition: LVRRecordedFrameItem.hpp:43
lvr2::LVRRecordedFrameItem::createFromStream
static LVRRecordedFrameItem * createFromStream(QTextStream &in)
Definition: LVRRecordedFrameItem.cpp:77
lvr2::LVRRecordedFrameItem::writeToStream
void writeToStream(QTextStream &out)
Definition: LVRRecordedFrameItem.cpp:65
lvr2::LVRRecordedFrameItem::~LVRRecordedFrameItem
virtual ~LVRRecordedFrameItem()
Definition: LVRRecordedFrameItem.cpp:55
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::LVRRecordedFrameItem::m_recordedFrame
vtkSmartPointer< vtkCamera > m_recordedFrame
Definition: LVRRecordedFrameItem.hpp:57


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24