OGS
VtkPickCallback.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6// ** INCLUDES **
7#include <QObject>
8#include <vtkCommand.h>
9
10class vtkProp3D;
11
16class VtkPickCallback : public QObject, public vtkCommand
17{
18 Q_OBJECT
19
20public:
21 static VtkPickCallback* New();
22
23 void Execute(vtkObject* caller, unsigned long eventId,
24 void* callData) override;
25
26protected:
28
29signals:
31 void actorPicked (vtkProp3D* actor);
32};
void actorPicked(vtkProp3D *actor)
Is emitted when an vtkActor was picked.
static VtkPickCallback * New()
void Execute(vtkObject *caller, unsigned long eventId, void *callData) override