OGS
VtkPickCallback.h
Go to the documentation of this file.
1
16#pragma once
17
18// ** INCLUDES **
19#include <QObject>
20#include <vtkCommand.h>
21
22class vtkProp3D;
23
28class VtkPickCallback : public QObject, public vtkCommand
29{
30 Q_OBJECT
31
32public:
33 static VtkPickCallback* New();
34
35 void Execute(vtkObject* caller, unsigned long eventId,
36 void* callData) override;
37
38protected:
40
41signals:
43 void actorPicked (vtkProp3D* actor);
44};
void actorPicked(vtkProp3D *actor)
Is emitted when an vtkActor was picked.
static VtkPickCallback * New()
void Execute(vtkObject *caller, unsigned long eventId, void *callData) override