VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
20 {
21 public:
22 
23  // default constructor
25 
26  // additional constructor
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 
56 };
57 
59 {
60  return myU;
61 }
62 
64 {
65  return myV;
66 }
67 
68 
69 #endif

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)