VR-Forces 4.1.1 Class Documentation
DtTexturedGlyphRenderer.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2011 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 
48  virtual void renderGlyph( DtPen& pen, DtGlyph& glyph );
49 
51  inline const TextureLists& perTextureLists() const
52  {
53  return myLists;
54  }
55 
57  inline TextureLists& perTextureLists()
58  {
59  return myLists;
60  }
61 
62  protected:
63 
65  float myCurrentStringPos[4];
67  float myGroup;
68 
69  };
70 
71 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)