Go to the documentation of this file. 1 #ifndef LVRLABELINTERACTOR_STLYE_H
2 #define LVRLABELINTERACTOR_STLYE_H
3 #include <vtkVersion.h>
4 #include <vtkSmartPointer.h>
5 #include <vtkPointData.h>
6 #include <vtkIdTypeArray.h>
7 #include <vtkDataSetSurfaceFilter.h>
8 #include <vtkRendererCollection.h>
9 #include <vtkProperty.h>
10 #include <vtkPlanes.h>
11 #include <vtkObjectFactory.h>
12 #include <vtkPolyDataMapper.h>
14 #include <vtkRenderWindow.h>
15 #include <vtkRenderer.h>
16 #include <vtkRenderWindowInteractor.h>
17 #include <vtkPolyData.h>
18 #include <vtkPointSource.h>
20 #include <vtkInteractorStyleDrawPolygon.h>
21 #include <vtkAreaPicker.h>
22 #include <vtkExtractGeometry.h>
23 #include <vtkDataSetMapper.h>
24 #include <vtkUnstructuredGrid.h>
25 #include <vtkVertexGlyphFilter.h>
26 #include <vtkIdFilter.h>
29 #include <QStringList>
63 std::vector<std::vector<bool>>
foo2;
69 std::vector<std::vector<uint8_t>>
colors;
72 #endif // LVRLABELINTERACTOR_STLYE_H
void labelSelectedPoints(QString label)
std::vector< uint8_t > m_pointLabels
vtkSmartPointer< vtkPolyData > m_points
LVRLabelInteractorStyle()
virtual void OnRightButtonDown()
virtual void OnRightButtonUp()
vtkSmartPointer< vtkActor > SelectedActor
std::vector< std::vector< uint8_t > > colors
std::vector< vtkSmartPointer< vtkActor > > m_labelActors
std::vector< std::vector< bool > > foo2
vtkTypeMacro(LVRLabelInteractorStyle, LVRInteractorStylePolygonPick)
vtkSmartPointer< vtkIdTypeArray > m_selectedIds
Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle.
void calculateSelection(bool select)
static LVRLabelInteractorStyle * New()
virtual void OnLeftButtonUp()
vtkSmartPointer< vtkDataSetMapper > SelectedMapper
std::vector< bool > m_SelectedPoints
void SetPoints(vtkSmartPointer< vtkPolyData > points)
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:24