TextureCoordinates.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Geometry
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 "CeeGeometry/Base.h"
16 #include "CeeCore/RefCountedObject.h"
17 #include "CeeCore/Vec2f.h"
18 
19 #include <vector>
20 
21 namespace cee {
22 namespace geo {
23 
24 
25 //==================================================================================================
26 //
27 //
28 //
29 //==================================================================================================
30 class CEE_GEO_EXPORT TextureCoordinates : public RefCountedObject
31 {
32 public:
34  TextureCoordinates(const std::vector<Vec2f>& coordinates);
35  virtual ~TextureCoordinates();
36 
37  std::vector<Vec2f> coordinates() const;
38  void setCoordinates(const std::vector<Vec2f>& coordinates);
39 
40 private:
41  CEE_PRIVATE_IMPL(TextureCoordinates);
42  CEE_PRIVATE_F(GeometryModel);
43  CEE_PRIVATE_F(Part);
44  CEE_DISALLOW_COPY_AND_ASSIGN(TextureCoordinates);
45 };
46 
47 } // namespace geo
48 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Texture coordinates.
Definition: TextureCoordinates.h:30
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
GeometryModel is a subclass of Model that can handle a large number of parts efficiently.
Definition: GeometryModel.h:36
Geometry part and how it is to be drawn.
Definition: Part.h:32