Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes
pcl::cloud_composer::CloudView Class Reference

View class for displaying ProjectModel data using PCLVisualizer. More...

#include <cloud_view.h>

List of all members.

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)
ProjectModelgetModel () 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.
ProjectModelmodel_
QVTKWidget * qvtk_
vtkSmartPointer
< InteractorStyleSwitch
style_switch_
boost::shared_ptr
< pcl::visualization::PCLVisualizer
vis_

Detailed Description

View class for displaying ProjectModel data using PCLVisualizer.

Author:
Jeremie Papon

Definition at line 55 of file cloud_view.h.


Constructor & Destructor Documentation

pcl::cloud_composer::CloudView::CloudView ( QWidget *  parent = 0)

Definition at line 9 of file cloud_view.cpp.

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.

Definition at line 50 of file cloud_view.cpp.


Member Function Documentation

Definition at line 223 of file cloud_view.cpp.

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.

Definition at line 68 of file cloud_view.h.

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.

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.

Parameters:
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.

Definition at line 79 of file cloud_view.cpp.

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.

Parameters:
startStart of new rows (inclusive)
endEnd 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.

Definition at line 207 of file cloud_view.cpp.

Definition at line 280 of file cloud_view.cpp.

Definition at line 55 of file cloud_view.cpp.


Member Data Documentation

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.

Definition at line 141 of file cloud_view.h.

Definition at line 142 of file cloud_view.h.

Definition at line 139 of file cloud_view.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:47