PartSettingsTexture.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: UnstructGrid
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2014, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeUnstructGrid/Base.h"
16 #include "CeeCore/RefCountedObject.h"
17 
18 namespace cee {
19 class Image;
20 
21 namespace ug {
22 
23 
24 //==================================================================================================
25 //
26 //
27 //
28 //==================================================================================================
29 class CEE_UG_EXPORT PartSettingsTexture : public RefCountedObject
30 {
31 public:
32  virtual ~PartSettingsTexture();
33 
34  Image* image() const;
35  void setImage(Image* image);
36 
37  bool environmentMapping() const;
38  void setEnvironmentMapping(bool useEnvironmentMapping);
39 
40  float repeatFactor() const;
41  void setRepeatFactor(float repeatFactor);
42 
43  bool autoScaling() const;
44  void setAutoScaling(bool autoScaling);
45 
46  bool modulate() const;
47  void setModulate(bool modulate);
48 
49  bool filterNearest() const;
50  void setFilterNearest(bool filterNearest);
51 
52 private:
54  CEE_PRIVATE_F(PartSettings);
55  CEE_PRIVATE_IMPL(PartSettingsTexture);
56  CEE_DISALLOW_COPY_AND_ASSIGN(PartSettingsTexture);
57 };
58 
59 } // namespace ug
60 } // namespace cee
61 
Stores an RGBA image with 8 bits per pixel.
Definition: Image.h:25
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
Settings for a specific part.
Definition: PartSettings.h:31
Texture part settings.
Definition: PartSettingsTexture.h:29