EffectLineWidth.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 #include "CeeCore/Color3f.h"
18 
19 namespace cee {
20 namespace geo {
21 
22 
23 //==================================================================================================
24 //
25 //
26 //
27 //==================================================================================================
28 class CEE_GEO_EXPORT EffectLineWidth : public Effect
29 {
30 public:
32  EffectLineWidth(unsigned int width);
33  virtual ~EffectLineWidth();
34 
35  virtual Type type() const;
36  virtual PtrRef<Effect> clone();
37 
38  unsigned int width() const;
39  void setWidth(unsigned int width);
40 
41 private:
42  CEE_PRIVATE_IMPL(EffectLineWidth);
43  CEE_PRIVATE_F(GeometryModel);
44  CEE_PRIVATE_F(PartSettings);
45  CEE_PRIVATE_F(PartClassification);
46  CEE_DISALLOW_COPY_AND_ASSIGN(EffectLineWidth);
47 };
48 
49 } // namespace geo
50 } // namespace cee
51 
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
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
Effect describing the width of the associated line based part data, in pixels.
Definition: EffectLineWidth.h:28