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 virtual void OnLeftButtonUp()
std::vector< bool > m_SelectedPoints
void SetPoints(vtkSmartPointer< vtkPolyData > points)
virtual void OnRightButtonUp()
std::vector< std::vector< uint8_t > > colors
vtkSmartPointer< vtkIdTypeArray > m_selectedIds
void calculateSelection(bool select)
std::vector< vtkSmartPointer< vtkActor > > m_labelActors
Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle.
vtkSmartPointer< vtkDataSetMapper > SelectedMapper
vtkTypeMacro(LVRLabelInteractorStyle, LVRInteractorStylePolygonPick)
std::vector< std::vector< bool > > foo2
void labelSelectedPoints(QString label)
std::vector< uint8_t > m_pointLabels
vtkSmartPointer< vtkActor > SelectedActor
vtkSmartPointer< vtkPolyData > m_points
static LVRLabelInteractorStyle * New()
LVRLabelInteractorStyle()
virtual void OnRightButtonDown()