EffectLighting.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Geometry
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2013, 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 "CeeGeometry/Base.h"
16 #include "CeeGeometry/Effect.h"
17 
18 namespace cee {
19 namespace geo {
20 
21 
22 //==================================================================================================
23 //
24 //
25 //
26 //==================================================================================================
27 class CEE_GEO_EXPORT EffectLighting : public Effect
28 {
29 public:
31  EffectLighting(bool enableLight);
32  virtual ~EffectLighting();
33 
34  virtual Type type() const;
35  virtual PtrRef<Effect> clone();
36 
37  bool lighting() const;
38  void setLighting(bool enable);
39 
40 private:
41  CEE_PRIVATE_IMPL(EffectLighting);
42  CEE_PRIVATE_F(GeometryModel);
43  CEE_PRIVATE_F(PartSettings);
44  CEE_PRIVATE_F(PartClassification);
45  CEE_DISALLOW_COPY_AND_ASSIGN(EffectLighting);
46 };
47 
48 } // namespace geo
49 } // namespace cee
50 
Part settings represents how to draw a part and it&#39;s associated part data.
Definition: PartSettings.h:29
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Effect describing if the associated triangle based part data should be lighted or not...
Definition: EffectLighting.h:27
Smart pointer class used for handling reference counted objects (that derive from Object)...
Definition: PtrRef.h:26
GeometryModel is a subclass of Model that can handle a large number of parts efficiently.
Definition: GeometryModel.h:36
Type
Enumerator for each of the available effect types.
Definition: Effect.h:32
Base class for an effect describing how to draw a part and it&#39;s associated part data.
Definition: Effect.h:28