#include <QmitkToFSurfaceGenerationWidget.h>
|
| | QmitkToFSurfaceGenerationWidget (QWidget *p=nullptr, Qt::WindowFlags f1={}) |
| |
| | ~QmitkToFSurfaceGenerationWidget () override |
| |
| virtual void | CreateQtPartControl (QWidget *parent) |
| |
| virtual void | CreateConnections () |
| |
| mitk::ToFDistanceImageToSurfaceFilter::Pointer | GetToFDistanceImageToSurfaceFilter () |
| | GetToFDistanceImageToSurfaceFilter Get the internally used surface generation filter.
|
| |
| bool | IsActive () |
| | IsActive Check if the widget was initialized correctly.
|
| |
| void | Initialize (mitk::ToFDistanceImageToSurfaceFilter::Pointer filter, mitk::ToFImageGrabber::Pointer grabber, mitk::CameraIntrinsics::Pointer intrinsics, mitk::DataNode::Pointer surface, vtkSmartPointer< vtkCamera > camera, bool generateSurface=false, bool showAdvancedOptions=true) |
| | Initialize Initialize the surface generation widget.
|
| |
| bool | UpdateSurface () |
| | UpdateSurface Generate new surface data according to the device properties.
|
| |
| mitk::Surface::Pointer | GetSurface () |
| | GetSurface Get the generated surface.
|
| |
|
| static const std::string | VIEW_ID = "org.mitk.views.qmitktofsurfacegenerationwidget" |
| |
|
| void | OnRepresentationChanged (int index) |
| | OnRepresentationChanged Change the representation of the surface. In other words: disable/enable triangulation (Point cloud/surface). If triangulation is enabled, this will also allow for editing a threshold for triangulating vertices.
|
| |
| void | OnReconstructionChanged (int index) |
| | OnReconstructionChanged Change the reconstruction mode of the ToFDistanceImageToSurfaceFilter.
|
| |
| void | OnCompute3DDataCheckboxChecked (bool checked) |
| | OnCompute3DDataCheckboxChecked Slot beeing called, if the "surface"-checkbox is clicked. This method initializes the surface once, if it is necessary.
|
| |
| void | OnShowAdvancedOptionsCheckboxChecked (bool checked) |
| | OnShowAdvancedOptionsCheckboxChecked Show/hide advanced options.
|
| |
| void | OnTriangulationThresholdSpinBoxChanged () |
| | Slot trigged from the triangulation threshold spin box. Changed the threshold for connecting a vertex during triangulation.
|
| |
| void | OnDistanceColorMapCheckBoxChecked (bool checked) |
| | OnDistanceColorMapCheckBoxChecked Show the distance color mapping (vtkColorTransferFunction) on the surface.
|
| |
| void | OnRGBTextureCheckBoxChecked (bool checked) |
| | OnRGBTextureCheckBoxChecked Put the RGB image as texture on the generated surface/point cloud.
|
| |
|
| Ui::QmitkToFSurfaceGenerationWidgetControls * | m_Controls |
| |
Documentation:
This widget provides GUI access for all basic surface generation properties and can be reused in any other GUI.
Definition at line 40 of file QmitkToFSurfaceGenerationWidget.h.
◆ QmitkToFSurfaceGenerationWidget()
| QmitkToFSurfaceGenerationWidget::QmitkToFSurfaceGenerationWidget |
( |
QWidget * | p = nullptr, |
|
|
Qt::WindowFlags | f1 = {} ) |
◆ ~QmitkToFSurfaceGenerationWidget()
| QmitkToFSurfaceGenerationWidget::~QmitkToFSurfaceGenerationWidget |
( |
| ) |
|
|
override |
◆ CreateConnections()
| void QmitkToFSurfaceGenerationWidget::CreateConnections |
( |
| ) |
|
|
virtual |
◆ CreateQtPartControl()
| void QmitkToFSurfaceGenerationWidget::CreateQtPartControl |
( |
QWidget * | parent | ) |
|
|
virtual |
◆ GetSurface()
| mitk::Surface::Pointer QmitkToFSurfaceGenerationWidget::GetSurface |
( |
| ) |
|
◆ GetToFDistanceImageToSurfaceFilter()
| mitk::ToFDistanceImageToSurfaceFilter::Pointer QmitkToFSurfaceGenerationWidget::GetToFDistanceImageToSurfaceFilter |
( |
| ) |
|
GetToFDistanceImageToSurfaceFilter Get the internally used surface generation filter.
- Returns
- ToFDistanceImageToSurfaceFilter as filter.
Definition at line 67 of file QmitkToFSurfaceGenerationWidget.cpp.
◆ Initialize()
| void QmitkToFSurfaceGenerationWidget::Initialize |
( |
mitk::ToFDistanceImageToSurfaceFilter::Pointer | filter, |
|
|
mitk::ToFImageGrabber::Pointer | grabber, |
|
|
mitk::CameraIntrinsics::Pointer | intrinsics, |
|
|
mitk::DataNode::Pointer | surface, |
|
|
vtkSmartPointer< vtkCamera > | camera, |
|
|
bool | generateSurface = false, |
|
|
bool | showAdvancedOptions = true ) |
Initialize Initialize the surface generation widget.
- Parameters
-
| filter | ToFDistanceImageToSurfaceFilter for surface computation. |
| grabber | ToFImageGrabber to get/set device properties. |
| intrinsics | Intrincs of the device. |
| surface | Generated Surface. |
| camera | |
| generateSurface | Check the generate surface combo box. |
| showAdvancedOptions | Show/Hide advanced options. |
Definition at line 83 of file QmitkToFSurfaceGenerationWidget.cpp.
◆ IsActive()
| bool QmitkToFSurfaceGenerationWidget::IsActive |
( |
| ) |
|
◆ OnCompute3DDataCheckboxChecked
| void QmitkToFSurfaceGenerationWidget::OnCompute3DDataCheckboxChecked |
( |
bool | checked | ) |
|
|
protectedslot |
OnCompute3DDataCheckboxChecked Slot beeing called, if the "surface"-checkbox is clicked. This method initializes the surface once, if it is necessary.
- Parameters
-
| checked | Is it checked or not? |
Definition at line 239 of file QmitkToFSurfaceGenerationWidget.cpp.
◆ OnDistanceColorMapCheckBoxChecked
| void QmitkToFSurfaceGenerationWidget::OnDistanceColorMapCheckBoxChecked |
( |
bool | checked | ) |
|
|
protectedslot |
◆ OnReconstructionChanged
| void QmitkToFSurfaceGenerationWidget::OnReconstructionChanged |
( |
int | index | ) |
|
|
protectedslot |
◆ OnRepresentationChanged
| void QmitkToFSurfaceGenerationWidget::OnRepresentationChanged |
( |
int | index | ) |
|
|
protectedslot |
OnRepresentationChanged Change the representation of the surface. In other words: disable/enable triangulation (Point cloud/surface). If triangulation is enabled, this will also allow for editing a threshold for triangulating vertices.
Definition at line 167 of file QmitkToFSurfaceGenerationWidget.cpp.
◆ OnRGBTextureCheckBoxChecked
| void QmitkToFSurfaceGenerationWidget::OnRGBTextureCheckBoxChecked |
( |
bool | checked | ) |
|
|
protectedslot |
OnRGBTextureCheckBoxChecked Put the RGB image as texture on the generated surface/point cloud.
- Parameters
-
| checked | Show/hide texture. |
Definition at line 185 of file QmitkToFSurfaceGenerationWidget.cpp.
◆ OnShowAdvancedOptionsCheckboxChecked
| void QmitkToFSurfaceGenerationWidget::OnShowAdvancedOptionsCheckboxChecked |
( |
bool | checked | ) |
|
|
protectedslot |
◆ OnTriangulationThresholdSpinBoxChanged
| void QmitkToFSurfaceGenerationWidget::OnTriangulationThresholdSpinBoxChanged |
( |
| ) |
|
|
protectedslot |
Slot trigged from the triangulation threshold spin box. Changed the threshold for connecting a vertex during triangulation.
Definition at line 126 of file QmitkToFSurfaceGenerationWidget.cpp.
◆ UpdateSurface()
| bool QmitkToFSurfaceGenerationWidget::UpdateSurface |
( |
| ) |
|
◆ m_Controls
| Ui::QmitkToFSurfaceGenerationWidgetControls* QmitkToFSurfaceGenerationWidget::m_Controls |
|
protected |
◆ VIEW_ID
| const std::string QmitkToFSurfaceGenerationWidget::VIEW_ID = "org.mitk.views.qmitktofsurfacegenerationwidget" |
|
static |
The documentation for this class was generated from the following files: