Home
Getting started
Components overview
Topics
Components
Classes
Tutorials and Examples
Code snippets
Support
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
:
33
TextureCoordinates
();
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
cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition:
AppComponent.cpp:26
cee::geo::TextureCoordinates
Texture coordinates.
Definition:
TextureCoordinates.h:30
cee::RefCountedObject
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition:
RefCountedObject.h:34
cee::geo::GeometryModel
GeometryModel is a subclass of Model that can handle a large number of parts efficiently.
Definition:
GeometryModel.h:36
cee::geo::Part
Geometry part and how it is to be drawn.
Definition:
Part.h:32
CeeGeometry
TextureCoordinates.h
Updated: Fri Dec 17 2021 - Copyright © 2021 Ceetron AS