TransparencyMode.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Visualization
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 "CeeVisualization/Base.h"
16 
17 namespace cee {
18 namespace vis {
19 
20 
21 //==================================================================================================
22 //
23 //
24 //
25 //==================================================================================================
26 class CEE_VIS_EXPORT TransparencyMode
27 {
28 public:
29  enum Mode
30  {
35  SIMPLE
36  };
37 
38 public:
40  TransparencyMode(const TransparencyMode& other);
42 
43  TransparencyMode& operator=(const TransparencyMode& rhs);
44 
45  Mode mode() const;
46  unsigned int depthPeelingNumberOfPasses() const;
47 
48  static TransparencyMode createDepthPeeling(unsigned int numPasses);
49  static TransparencyMode createDepthPeelingFront(unsigned int numPasses);
50  static TransparencyMode createWeightedAverage();
51  static TransparencyMode createSimple();
52  static TransparencyMode createAuto();
53 
54 private:
55  CEE_PRIVATE_IMPL(TransparencyMode);
56 };
57 
58 } // namespace vis
59 } // namespace cee
Depth peeling transparency.
Definition: TransparencyMode.h:32
Weighted average transparency.
Definition: TransparencyMode.h:34
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Automatic transparency.
Definition: TransparencyMode.h:31
Mode
List of available transparency modes.
Definition: TransparencyMode.h:29
Front depth peeling transparency.
Definition: TransparencyMode.h:33
Controlling the technique used for transparency in the view.
Definition: TransparencyMode.h:26