VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
gdb
textureCoords.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: texCoord.h,v $ $Revision: 1.5 $ $State: Exp $
7
*********************************************************************/
8
9
#ifndef textureCoords_H_
10
#define textureCoords_H_
11
12
#include "
gdb/gdbDefines.h
"
13
#include <vlutil/vlMachineTypes.h>
14
15
// class DtTextureCoords:
16
//
17
// Instances of DtTextureCoords are
18
19
class
DT_DLL_gdb
DtTextureCoords
20
{
21
public
:
22
23
// default constructor
24
DtTextureCoords
();
25
26
// additional constructor
27
DtTextureCoords
(
DtFloat32
u,
DtFloat32
v);
28
29
30
// destructor
31
virtual
~
DtTextureCoords
();
32
33
// accessors
34
virtual
DtFloat32
u()
const
;
35
virtual
DtFloat32
v()
const
;
36
37
virtual
void
set
(
DtFloat32
newu,
DtFloat32
newv);
38
// If a copy constructor is implemented, the assignment operator should
39
// also be implemented. Should generally implement both of them anyway to
40
// avoid memory problems due to inappropriate compiler provided defaults.
41
// Access varies so need to put proper access keyword above these
42
// declarations.
43
44
protected
:
45
46
// copy constructor
47
DtTextureCoords
(
const
DtTextureCoords
& orig);
48
49
// assignment operator
50
DtTextureCoords
& operator=(
const
DtTextureCoords
& orig);
51
52
protected
:
53
54
DtFloat32
myU
;
55
DtFloat32
myV
;
56
};
57
58
inline
DtFloat32
DtTextureCoords::u
()
const
59
{
60
return
myU
;
61
}
62
63
inline
DtFloat32
DtTextureCoords::v
()
const
64
{
65
return
myV
;
66
}
67
68
69
#endif
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)