LibreOffice Module drawinglayer (master) 1
sdrobjectattribute3d.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_ATTRIBUTE_SDROBJECTATTRIBUTE3D_HXX
21#define INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDROBJECTATTRIBUTE3D_HXX
22
24
25#include <com/sun/star/drawing/NormalsKind.hpp>
26#include <com/sun/star/drawing/TextureProjectionMode.hpp>
27#include <com/sun/star/drawing/TextureKind2.hpp>
28#include <com/sun/star/drawing/TextureMode.hpp>
29#include <o3tl/cow_wrapper.hxx>
30
31
32// predefines
33
35 class ImpSdr3DObjectAttribute;
36 class MaterialAttribute3D;
37}
38
39
41 {
43 {
44 public:
46
47 private:
49
50 public:
51 // constructors/destructor
53 css::drawing::NormalsKind aNormalsKind,
54 css::drawing::TextureProjectionMode aTextureProjectionX,
55 css::drawing::TextureProjectionMode aTextureProjectionY,
56 css::drawing::TextureKind2 aTextureKind,
57 css::drawing::TextureMode aTextureMode,
58 const MaterialAttribute3D& rMaterial,
59 bool bNormalsInvert,
60 bool bDoubleSided,
61 bool bShadow3D,
62 bool bTextureFilter,
63 bool bReducedLineGeometry);
66
67 // assignment operator
69
70 // compare operator
71 bool operator==(const Sdr3DObjectAttribute& rCandidate) const;
72
73 // data read access
74 css::drawing::NormalsKind getNormalsKind() const;
75 css::drawing::TextureProjectionMode getTextureProjectionX() const;
76 css::drawing::TextureProjectionMode getTextureProjectionY() const;
77 css::drawing::TextureKind2 getTextureKind() const;
78 css::drawing::TextureMode getTextureMode() const;
79 const MaterialAttribute3D& getMaterial() const;
80 bool getNormalsInvert() const;
81 bool getDoubleSided() const;
82 bool getShadow3D() const;
83 bool getTextureFilter() const;
84 bool getReducedLineGeometry() const;
85 };
86
87} // end of namespace drawinglayer::attribute
88
89
90#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDROBJECTATTRIBUTE3D_HXX
91
92/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Sdr3DObjectAttribute & operator=(const Sdr3DObjectAttribute &)
o3tl::cow_wrapper< ImpSdr3DObjectAttribute > ImplType
Sdr3DObjectAttribute(const Sdr3DObjectAttribute &)
#define DRAWINGLAYER_DLLPUBLIC
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)