#include <QmitkToFSurfaceGenerationWidget.h>
|
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 = nullptr |
|
) |
| |
◆ ~QmitkToFSurfaceGenerationWidget()
QmitkToFSurfaceGenerationWidget::~QmitkToFSurfaceGenerationWidget |
( |
| ) |
|
|
override |
◆ CreateConnections()
virtual void QmitkToFSurfaceGenerationWidget::CreateConnections |
( |
| ) |
|
|
virtual |
◆ CreateQtPartControl()
virtual void QmitkToFSurfaceGenerationWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
virtual |
◆ GetSurface()
GetSurface Get the generated surface.
- Returns
- Surface.
◆ GetToFDistanceImageToSurfaceFilter()
GetToFDistanceImageToSurfaceFilter Get the internally used surface generation filter.
- Returns
- ToFDistanceImageToSurfaceFilter as filter.
◆ Initialize()
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. |
◆ IsActive()
bool QmitkToFSurfaceGenerationWidget::IsActive |
( |
| ) |
|
IsActive Check if the widget was initialized correctly.
- Returns
- True for success.
◆ 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? |
◆ OnDistanceColorMapCheckBoxChecked
void QmitkToFSurfaceGenerationWidget::OnDistanceColorMapCheckBoxChecked |
( |
bool |
checked | ) |
|
|
protectedslot |
OnDistanceColorMapCheckBoxChecked Show the distance color mapping (vtkColorTransferFunction) on the surface.
- Parameters
-
◆ OnReconstructionChanged
void QmitkToFSurfaceGenerationWidget::OnReconstructionChanged |
( |
int |
index | ) |
|
|
protectedslot |
OnReconstructionChanged Change the reconstruction mode of the ToFDistanceImageToSurfaceFilter.
◆ 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.
◆ 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. |
◆ OnShowAdvancedOptionsCheckboxChecked
void QmitkToFSurfaceGenerationWidget::OnShowAdvancedOptionsCheckboxChecked |
( |
bool |
checked | ) |
|
|
protectedslot |
OnShowAdvancedOptionsCheckboxChecked Show/hide advanced options.
- Parameters
-
◆ OnTriangulationThresholdSpinBoxChanged
void QmitkToFSurfaceGenerationWidget::OnTriangulationThresholdSpinBoxChanged |
( |
| ) |
|
|
protectedslot |
Slot trigged from the triangulation threshold spin box. Changed the threshold for connecting a vertex during triangulation.
◆ UpdateSurface()
bool QmitkToFSurfaceGenerationWidget::UpdateSurface |
( |
| ) |
|
UpdateSurface Generate new surface data according to the device properties.
- Returns
- True for success.
◆ m_Controls
Ui::QmitkToFSurfaceGenerationWidgetControls* QmitkToFSurfaceGenerationWidget::m_Controls |
|
protected |
◆ VIEW_ID
const std::string QmitkToFSurfaceGenerationWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following file: