Public Member Functions | Private Member Functions | Private Attributes | List of all members
lvr2::LVRCamDataItem Class Reference

#include <LVRCamDataItem.hpp>

Inheritance diagram for lvr2::LVRCamDataItem:
Inheritance graph
[legend]

Public Member Functions

size_t getCamId ()
 
QString getName ()
 
Pose getPose ()
 
 LVRCamDataItem (ScanImage &data, std::shared_ptr< ScanDataManager > sdm, size_t cam_id, vtkSmartPointer< vtkRenderer > renderer, QString name="", QTreeWidgetItem *parent=NULL)
 
void setCameraView ()
 
void setVisibility (bool visible)
 
 ~LVRCamDataItem ()
 
- Public Member Functions inherited from lvr2::TransformableBase< T >
Eigen::Matrix< T, 4, 4 > getTransform ()
 
void setTransform (Eigen::Matrix< T, 4, 4 > transform)
 

Private Member Functions

vtkSmartPointer< vtkActor > genFrustrum (float scale=1.0)
 
std::vector< Vector3dgenFrustrumLVR (float scale=1.0)
 
Transformd getGlobalTransform ()
 Get Transformation from Camera frame to Global. QTree used as TF tree, lvr2::Transformable types are used to determine the global Transform. Output T can be used for: p_global = T * p_local. More...
 
void reload (vtkSmartPointer< vtkRenderer > renderer)
 

Private Attributes

size_t m_cam_id
 
LVRCvImageItemm_cvItem
 
ScanImage m_data
 
vtkSmartPointer< vtkActor > m_frustrum_actor
 
Intrinsicsd m_intrinsics
 
Transformd m_matrix
 
QString m_name
 
LVRPoseItemm_pItem
 
Pose m_pose
 
vtkSmartPointer< vtkRenderer > m_renderer
 
std::shared_ptr< ScanDataManagerm_sdm
 

Detailed Description

Definition at line 36 of file LVRCamDataItem.hpp.

Constructor & Destructor Documentation

◆ LVRCamDataItem()

lvr2::LVRCamDataItem::LVRCamDataItem ( ScanImage data,
std::shared_ptr< ScanDataManager sdm,
size_t  cam_id,
vtkSmartPointer< vtkRenderer >  renderer,
QString  name = "",
QTreeWidgetItem *  parent = NULL 
)

Definition at line 29 of file LVRCamDataItem.cpp.

◆ ~LVRCamDataItem()

lvr2::LVRCamDataItem::~LVRCamDataItem ( )

Definition at line 330 of file LVRCamDataItem.cpp.

Member Function Documentation

◆ genFrustrum()

vtkSmartPointer< vtkActor > lvr2::LVRCamDataItem::genFrustrum ( float  scale = 1.0)
private

Definition at line 226 of file LVRCamDataItem.cpp.

◆ genFrustrumLVR()

std::vector< Vector3d > lvr2::LVRCamDataItem::genFrustrumLVR ( float  scale = 1.0)
private

Definition at line 151 of file LVRCamDataItem.cpp.

◆ getCamId()

size_t lvr2::LVRCamDataItem::getCamId ( )
inline

Definition at line 56 of file LVRCamDataItem.hpp.

◆ getGlobalTransform()

Transformd lvr2::LVRCamDataItem::getGlobalTransform ( )
private

Get Transformation from Camera frame to Global. QTree used as TF tree, lvr2::Transformable types are used to determine the global Transform. Output T can be used for: p_global = T * p_local.

Returns
Returns the Transformation as type lvr2::Matrix4

Definition at line 103 of file LVRCamDataItem.cpp.

◆ getName()

QString lvr2::LVRCamDataItem::getName ( )
inline

Definition at line 50 of file LVRCamDataItem.hpp.

◆ getPose()

Pose lvr2::LVRCamDataItem::getPose ( )
inline

Definition at line 52 of file LVRCamDataItem.hpp.

◆ reload()

void lvr2::LVRCamDataItem::reload ( vtkSmartPointer< vtkRenderer >  renderer)
private

Definition at line 87 of file LVRCamDataItem.cpp.

◆ setCameraView()

void lvr2::LVRCamDataItem::setCameraView ( )

Definition at line 122 of file LVRCamDataItem.cpp.

◆ setVisibility()

void lvr2::LVRCamDataItem::setVisibility ( bool  visible)

Definition at line 92 of file LVRCamDataItem.cpp.

Member Data Documentation

◆ m_cam_id

size_t lvr2::LVRCamDataItem::m_cam_id
private

Definition at line 81 of file LVRCamDataItem.hpp.

◆ m_cvItem

LVRCvImageItem* lvr2::LVRCamDataItem::m_cvItem
private

Definition at line 85 of file LVRCamDataItem.hpp.

◆ m_data

ScanImage lvr2::LVRCamDataItem::m_data
private

Definition at line 82 of file LVRCamDataItem.hpp.

◆ m_frustrum_actor

vtkSmartPointer<vtkActor> lvr2::LVRCamDataItem::m_frustrum_actor
private

Definition at line 89 of file LVRCamDataItem.hpp.

◆ m_intrinsics

Intrinsicsd lvr2::LVRCamDataItem::m_intrinsics
private

Definition at line 87 of file LVRCamDataItem.hpp.

◆ m_matrix

Transformd lvr2::LVRCamDataItem::m_matrix
private

Definition at line 86 of file LVRCamDataItem.hpp.

◆ m_name

QString lvr2::LVRCamDataItem::m_name
private

Definition at line 79 of file LVRCamDataItem.hpp.

◆ m_pItem

LVRPoseItem* lvr2::LVRCamDataItem::m_pItem
private

Definition at line 84 of file LVRCamDataItem.hpp.

◆ m_pose

Pose lvr2::LVRCamDataItem::m_pose
private

Definition at line 83 of file LVRCamDataItem.hpp.

◆ m_renderer

vtkSmartPointer<vtkRenderer> lvr2::LVRCamDataItem::m_renderer
private

Definition at line 90 of file LVRCamDataItem.hpp.

◆ m_sdm

std::shared_ptr<ScanDataManager> lvr2::LVRCamDataItem::m_sdm
private

Definition at line 80 of file LVRCamDataItem.hpp.


The documentation for this class was generated from the following files:


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:27