VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtTexturedGlyphRenderer.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2014 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
14 #include <boost/unordered_map.hpp>
15 #include <vector>
16 
17 namespace makVrv
18 {
19 
23  {
24  public:
25 
26  typedef std::vector<DtOffsetColoredTexturedVertex> QuadVertexList;
27  typedef boost::unordered_map<unsigned int, QuadVertexList > TextureLists;
28 
29  public:
30 
33 
36 
38  void setProjectedStringPosition( const float pos[4] );
39 
41  void setProjectedStringRotation( float angle );
42 
44  void setGroup( unsigned int group );
45 
49  virtual void renderGlyph( DtPen& pen, DtGlyph& glyph, bool advance = true);
50 
52  inline const TextureLists& perTextureLists() const
53  {
54  return myLists;
55  }
56 
58  inline TextureLists& perTextureLists()
59  {
60  return myLists;
61  }
62 
63  protected:
64 
66  float myCurrentStringPos[4];
68  float myGroup;
69 
70  };
71 
72 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)