MirrorSettings.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: UnstructGrid
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2011, 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/Plane.h"
17 
18 namespace cee {
19 namespace ug {
20 
21 
22 
23 //==================================================================================================
24 //
25 //
26 //
27 //==================================================================================================
28 class CEE_UG_EXPORT MirrorSettings
29 {
30 public:
31  virtual ~MirrorSettings();
32 
33  bool isMirrorEnabled() const;
34  void enableMirroring(bool enable);
35 
36  bool isReflective() const;
37  void setReflective(bool reflective);
38 
39  unsigned int numberOfMirrorPasses() const;
40  void setNumberOfMirrorPasses(unsigned int numPasses);
41  unsigned int maximumNumberOfMirrorPasses() const;
42 
43  Plane firstPlane() const;
44  Plane secondPlane() const;
45  Plane masterPlane() const;
46  void setFirstPlane(Plane plane);
47  void setSecondPlane(Plane plane);
48  void setMasterPlane(Plane plane);
49 
50 private:
52  CEE_PRIVATE_F(UnstructGridModel);
53  CEE_PRIVATE_IMPL(MirrorSettings);
54  CEE_DISALLOW_COPY_AND_ASSIGN(MirrorSettings);
55 };
56 
57 } // namespace ug
58 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Class defining a plane in space.
Definition: Plane.h:27
Settings for mirrors in the model.
Definition: MirrorSettings.h:28
UnstructGridModel is a subclass of Model which adds specific model structure and functionality for re...
Definition: UnstructGridModel.h:72