LibreOffice Module svx (master)  1
helperhittest3d.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef INCLUDED_SVX_HELPERHITTEST3D_HXX
21 #define INCLUDED_SVX_HELPERHITTEST3D_HXX
22 
23 #include <svx/svxdllapi.h>
24 #include <vector>
25 
26 
27 // predefines
28 
29 namespace basegfx {
30  class B2DPoint;
31 }
32 
33 namespace drawinglayer::geometry {
34  class ViewInformation3D;
35 }
36 
37 class E3dCompoundObject;
38 class E3dScene;
39 
40 
58  drawinglayer::geometry::ViewInformation3D& o_rViewInformation3D,
59  const E3dCompoundObject& rCandidate);
60 
77  const basegfx::B2DPoint& rPoint,
78  const E3dScene& rScene,
79  ::std::vector< const E3dCompoundObject* >& o_rResult);
80 
93  const basegfx::B2DPoint& rPoint,
94  const E3dCompoundObject& rCandidate);
95 
96 
97 #endif // INCLUDED_SVX_HELPERHITTEST3D_HXX
98 
99 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool checkHitSingle3DObject(const basegfx::B2DPoint &rPoint, const E3dCompoundObject &rCandidate)
support for checking if the single given 3d object is hit at position
E3dScene * fillViewInformation3DForCompoundObject(drawinglayer::geometry::ViewInformation3D &o_rViewInformation3D, const E3dCompoundObject &rCandidate)
support for getting a ViewInformation3D for a given CompoudObject3D with correct ObjectTransformation...
#define SVXCORE_DLLPUBLIC
Definition: svxdllapi.h:35
SVXCORE_DLLPUBLIC void getAllHit3DObjectsSortedFrontToBack(const basegfx::B2DPoint &rPoint, const E3dScene &rScene,::std::vector< const E3dCompoundObject * > &o_rResult)
support for getting all from a 2d position hit objects in a 3d scene in a depth sorted array ...