LibreOffice Module drawinglayer (master) 1
viewinformation3d.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_DRAWINGLAYER_GEOMETRY_VIEWINFORMATION3D_HXX
21#define INCLUDED_DRAWINGLAYER_GEOMETRY_VIEWINFORMATION3D_HXX
22
24
25#include <sal/config.h>
26#include <o3tl/cow_wrapper.hxx>
27
28
29// predefines
30
31namespace drawinglayer::geometry {
32 class ImpViewInformation3D;
33}
34
35namespace basegfx {
36 class B3DHomMatrix;
37}
38
39namespace com::sun::star::beans { struct PropertyValue; }
40namespace com::sun::star::uno { template <typename > class Sequence; }
41
43 {
53 {
54 public:
56
57 private:
60
61 public:
98 const basegfx::B3DHomMatrix& rObjectTransformation,
99 const basegfx::B3DHomMatrix& rOrientation,
100 const basegfx::B3DHomMatrix& rProjection,
101 const basegfx::B3DHomMatrix& rDeviceToView,
102 double fViewTime,
103 const css::uno::Sequence< css::beans::PropertyValue >& rExtendedParameters);
104
112 explicit ViewInformation3D(const css::uno::Sequence< css::beans::PropertyValue >& rViewParameters);
113
116
119
121
124
125 // checks if the incarnation is default constructed
126 bool isDefault() const;
127
131
133 bool operator==(const ViewInformation3D& rCandidate) const;
134 bool operator!=(const ViewInformation3D& rCandidate) const { return !operator==(rCandidate); }
135
137 const basegfx::B3DHomMatrix& getObjectTransformation() const;
139 const basegfx::B3DHomMatrix& getProjection() const;
140 const basegfx::B3DHomMatrix& getDeviceToView() const;
141 double getViewTime() const;
142
144 const basegfx::B3DHomMatrix& getObjectToView() const;
145
154 const css::uno::Sequence< css::beans::PropertyValue >& getExtendedInformationSequence() const;
155 };
156
157} // end of namespace drawinglayer::geometry
158
159
160#endif //INCLUDED_DRAWINGLAYER_GEOMETRY_VIEWINFORMATION3D_HXX
161
162/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ViewInformation3D(const ViewInformation3D &)
copy constructor
o3tl::cow_wrapper< ImpViewInformation3D, o3tl::ThreadSafeRefCountingPolicy > ImplType
ViewInformation3D(const basegfx::B3DHomMatrix &rObjectTransformation, const basegfx::B3DHomMatrix &rOrientation, const basegfx::B3DHomMatrix &rProjection, const basegfx::B3DHomMatrix &rDeviceToView, double fViewTime, const css::uno::Sequence< css::beans::PropertyValue > &rExtendedParameters)
Constructor: Create a ViewInformation3D.
ImplType mpViewInformation3D
pointer to private implementation class
ViewInformation3D(const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters)
Constructor: Create a ViewInformation3D.
ViewInformation3D & operator=(ViewInformation3D &&)
bool operator!=(const ViewInformation3D &rCandidate) const
ViewInformation3D & operator=(const ViewInformation3D &)
assignment operator
#define DRAWINGLAYER_DLLPUBLIC
B2VectorOrientation getOrientation(const B2DPolygon &rCandidate)
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)