1 #ifndef LVR2_TOOLS_VIEWER_WIDGETS_LVRCVIMAGEITEM_HPP 2 #define LVR2_TOOLS_VIEWER_WIDGETS_LVRCVIMAGEITEM_HPP 5 #include <QTreeWidgetItem> 6 #include <QAbstractItemModel> 10 #include <QGraphicsScene> 11 #include <QGraphicsView> 14 #include <vtkMatrix4x4.h> 28 vtkSmartPointer<vtkRenderer> renderer,
30 QTreeWidgetItem *parent =
NULL);
51 void reload(vtkSmartPointer<vtkRenderer> renderer);
54 std::shared_ptr<ScanDataManager>
m_sdm;
LVRGraphicsView * m_graphics_view
void reload(vtkSmartPointer< vtkRenderer > renderer)
std::shared_ptr< ScanDataManager > m_sdm
QGraphicsScene * m_graphics_scene
void setVisibility(bool visible)
void graphicsViewClosed()
LVRCvImageItem(std::shared_ptr< ScanDataManager > sdm, vtkSmartPointer< vtkRenderer > renderer, QString name="", QTreeWidgetItem *parent=NULL)
vtkSmartPointer< vtkRenderer > m_renderer
QImage * convertCvImageToQt(cv::Mat &cv_img)