1 #ifndef LVR2_TOOLS_VIEWER_WIDGETS_LVRCAMDATAITEM_HPP 2 #define LVR2_TOOLS_VIEWER_WIDGETS_LVRCAMDATAITEM_HPP 5 #include <QTreeWidgetItem> 6 #include <QAbstractItemModel> 9 #include <vtkMatrix4x4.h> 11 #include <Eigen/Dense> 21 #include "../vtkBridge/LVRModelBridge.hpp" 22 #include "../vtkBridge/LVRBoundingBoxBridge.hpp" 29 #include <vtkSmartPointer.h> 42 std::shared_ptr<ScanDataManager> sdm,
44 vtkSmartPointer<vtkRenderer> renderer,
46 QTreeWidgetItem *parent =
NULL);
75 vtkSmartPointer<vtkActor>
genFrustrum(
float scale=1.0);
77 void reload(vtkSmartPointer<vtkRenderer> renderer);
80 std::shared_ptr<ScanDataManager>
m_sdm;
std::vector< Vector3d > genFrustrumLVR(float scale=1.0)
void reload(vtkSmartPointer< vtkRenderer > renderer)
vtkSmartPointer< vtkActor > m_frustrum_actor
vtkSmartPointer< vtkActor > genFrustrum(float scale=1.0)
Transform< double > Transformd
4x4 double precision transformation matrix
Intrinsics< double > Intrinsicsd
4x4 extrinsic calibration (double precision)
void setVisibility(bool visible)
std::shared_ptr< ScanDataManager > m_sdm
Transformd getGlobalTransform()
Get Transformation from Camera frame to Global. QTree used as TF tree, lvr2::Transformable types are ...
LVRCvImageItem * m_cvItem
vtkSmartPointer< vtkRenderer > m_renderer
LVRCamDataItem(ScanImage &data, std::shared_ptr< ScanDataManager > sdm, size_t cam_id, vtkSmartPointer< vtkRenderer > renderer, QString name="", QTreeWidgetItem *parent=NULL)