1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#include "declarativescene_p.h"
5
6QT_BEGIN_NAMESPACE
7
8Declarative3DScene::Declarative3DScene(QObject *parent)
9 : Q3DScene(parent)
10{
11 QObject::connect(sender: this, signal: &Q3DScene::selectionQueryPositionChanged, context: this,
12 slot: &Declarative3DScene::selectionQueryPositionChanged);
13}
14
15Declarative3DScene::~Declarative3DScene()
16{
17}
18
19void Declarative3DScene::setSelectionQueryPosition(const QPointF &point)
20{
21 Q3DScene::setSelectionQueryPosition(point.toPoint());
22}
23
24QPointF Declarative3DScene::selectionQueryPosition() const
25{
26 return QPointF(Q3DScene::selectionQueryPosition());
27}
28
29QPoint Declarative3DScene::invalidSelectionPoint() const
30{
31 return Q3DScene::invalidSelectionPoint();
32}
33
34QT_END_NAMESPACE
35

source code of qtdatavis3d/src/datavisualizationqml/declarativescene.cpp