View class for displaying ProjectModel data using PCLVisualizer. More...
#include <cloud_view.h>
Public Slots | |
void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
Slot called when the data in model changes. | |
void | refresh () |
void | selectedItemChanged (const QItemSelection &selected, const QItemSelection &deselected) |
Slot called when the item selected in cloud browser changes. | |
Public Member Functions | |
CloudView (QWidget *parent=0) | |
CloudView (const CloudView &to_copy) | |
CloudView (ProjectModel *model, QWidget *parent=0) | |
ProjectModel * | getModel () const |
boost::shared_ptr < pcl::visualization::PCLVisualizer > | getPCLVisualizer () const |
QVTKWidget * | getQVTK () const |
void | setAxisVisibility (bool visible) |
void | setInteractorStyle (interactor_styles::INTERACTOR_STYLES style) |
void | setModel (ProjectModel *new_model) |
virtual | ~CloudView () |
Protected Slots | |
void | itemChanged (QStandardItem *item) |
Slot called when an item in the model changes. | |
void | manipulationCompleted (vtkObject *caller, unsigned long event_id, void *client_data, void *call_data) |
void | rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
void | rowsInserted (const QModelIndex &parent, int start, int end) |
Slot called when rows inserted to model. | |
void | selectionCompleted (vtkObject *caller, unsigned long event_id, void *client_data, void *call_data) |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) |
void | resizeEvent (QResizeEvent *event) |
Private Member Functions | |
void | addOrientationMarkerWidgetAxes () |
void | connectSignalsAndSlots () |
void | initializeInteractorSwitch () |
Internal function for setting up the style_switch_. | |
void | removeOrientationMarkerWidgetAxes () |
Private Attributes | |
vtkSmartPointer< vtkAxesActor > | axes_ |
vtkSmartPointer < vtkOrientationMarkerWidget > | axes_widget_ |
vtkSmartPointer < vtkEventQtSlotConnect > | connections_ |
Manages VTK events by connecting them to QT slots. | |
ProjectModel * | model_ |
QVTKWidget * | qvtk_ |
vtkSmartPointer < InteractorStyleSwitch > | style_switch_ |
boost::shared_ptr < pcl::visualization::PCLVisualizer > | vis_ |
View class for displaying ProjectModel data using PCLVisualizer.
Definition at line 55 of file cloud_view.h.
pcl::cloud_composer::CloudView::CloudView | ( | QWidget * | parent = 0 | ) |
Definition at line 9 of file cloud_view.cpp.
pcl::cloud_composer::CloudView::CloudView | ( | const CloudView & | to_copy | ) |
Definition at line 41 of file cloud_view.cpp.
pcl::cloud_composer::CloudView::CloudView | ( | ProjectModel * | model, |
QWidget * | parent = 0 |
||
) |
Definition at line 24 of file cloud_view.cpp.
pcl::cloud_composer::CloudView::~CloudView | ( | ) | [virtual] |
Definition at line 50 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::addOrientationMarkerWidgetAxes | ( | ) | [private] |
Definition at line 223 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::connectSignalsAndSlots | ( | ) | [private] |
Definition at line 68 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::dataChanged | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight | ||
) | [slot] |
Slot called when the data in model changes.
Definition at line 198 of file cloud_view.cpp.
ProjectModel* pcl::cloud_composer::CloudView::getModel | ( | ) | const [inline] |
Definition at line 68 of file cloud_view.h.
boost::shared_ptr<pcl::visualization::PCLVisualizer> pcl::cloud_composer::CloudView::getPCLVisualizer | ( | ) | const [inline] |
Definition at line 74 of file cloud_view.h.
QVTKWidget* pcl::cloud_composer::CloudView::getQVTK | ( | ) | const [inline] |
Definition at line 71 of file cloud_view.h.
void pcl::cloud_composer::CloudView::initializeInteractorSwitch | ( | ) | [private] |
Internal function for setting up the style_switch_.
Definition at line 259 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::itemChanged | ( | QStandardItem * | item | ) | [protected, slot] |
Slot called when an item in the model changes.
topLeft | |
bottomRight |
Definition at line 85 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::manipulationCompleted | ( | vtkObject * | caller, |
unsigned long | event_id, | ||
void * | client_data, | ||
void * | call_data | ||
) | [protected, slot] |
Definition at line 300 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::paintEvent | ( | QPaintEvent * | event | ) | [protected] |
Definition at line 156 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::refresh | ( | ) | [slot] |
Definition at line 79 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::removeOrientationMarkerWidgetAxes | ( | ) | [private] |
Definition at line 246 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::resizeEvent | ( | QResizeEvent * | event | ) | [protected] |
Definition at line 162 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::rowsAboutToBeRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) | [protected, slot] |
Definition at line 127 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::rowsInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) | [protected, slot] |
Slot called when rows inserted to model.
start | Start of new rows (inclusive) |
end | End of new rows (inclusive) |
Definition at line 99 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::selectedItemChanged | ( | const QItemSelection & | selected, |
const QItemSelection & | deselected | ||
) | [slot] |
Slot called when the item selected in cloud browser changes.
Definition at line 168 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::selectionCompleted | ( | vtkObject * | caller, |
unsigned long | event_id, | ||
void * | client_data, | ||
void * | call_data | ||
) | [protected, slot] |
Definition at line 286 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::setAxisVisibility | ( | bool | visible | ) |
Definition at line 207 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::setInteractorStyle | ( | interactor_styles::INTERACTOR_STYLES | style | ) |
Definition at line 280 of file cloud_view.cpp.
void pcl::cloud_composer::CloudView::setModel | ( | ProjectModel * | new_model | ) |
Definition at line 55 of file cloud_view.cpp.
vtkSmartPointer<vtkAxesActor> pcl::cloud_composer::CloudView::axes_ [private] |
Definition at line 145 of file cloud_view.h.
vtkSmartPointer<vtkOrientationMarkerWidget> pcl::cloud_composer::CloudView::axes_widget_ [private] |
Definition at line 144 of file cloud_view.h.
vtkSmartPointer<vtkEventQtSlotConnect> pcl::cloud_composer::CloudView::connections_ [private] |
Manages VTK events by connecting them to QT slots.
Definition at line 148 of file cloud_view.h.
Definition at line 140 of file cloud_view.h.
QVTKWidget* pcl::cloud_composer::CloudView::qvtk_ [private] |
Definition at line 141 of file cloud_view.h.
vtkSmartPointer<InteractorStyleSwitch> pcl::cloud_composer::CloudView::style_switch_ [private] |
Definition at line 142 of file cloud_view.h.
boost::shared_ptr<pcl::visualization::PCLVisualizer> pcl::cloud_composer::CloudView::vis_ [private] |
Definition at line 139 of file cloud_view.h.