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_ */
void writeToStream(QTextStream &out)
vtkSmartPointer< vtkCamera > m_recordedFrame
LVRRecordedFrameItem(vtkSmartPointer< vtkCameraRepresentation > pathCamera, QString name="")
vtkSmartPointer< vtkCamera > getFrame()
static LVRRecordedFrameItem * createFromStream(QTextStream &in)


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 Mon Feb 28 2022 22:46:08