Gazebo Gui

API Reference

8.3.0
CameraTrackingConfig.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2024 CogniPilot Foundation
3  * Copyright (C) 2024 Rudis Laboratories LLC
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17 */
18 #ifndef GZ_GUI_PLUGINS_CAMERATRACKINGCONFIG_HH_
19 #define GZ_GUI_PLUGINS_CAMERATRACKINGCONFIG_HH_
20 
21 #include <memory>
22 #include <QEvent>
23 #include <QObject>
24 
25 #include "gz/gui/Plugin.hh"
26 
27 namespace gz
28 {
29 namespace gui
30 {
31 namespace plugins
32 {
33  class CameraTrackingConfigPrivate;
34 
36  {
37  Q_OBJECT
38 
41 
43  public: virtual ~CameraTrackingConfig();
44 
45  // Documentation inherited
46  public: virtual void LoadConfig(const tinyxml2::XMLElement *)
47  override;
48 
58  public slots: void SetTracking(
59  double _tx, double _ty, double _tz, double _tp,
60  double _fx, double _fy, double _fz, double _fp);
61 
62  // Documentation inherited
63  private: bool eventFilter(QObject *_obj, QEvent *_event) override;
64 
68  };
69 }
70 }
71 }
72 #endif