VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgTexturedQuad.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 #include <vrvCore/DtTexturedQuad.h>
14 
15 #include <string>
16 
17 namespace makVrv
18 {
19  class DtQuad;
20  class DtCachedTextureHolder;
21 
22  // DtOsgTexturedQuad - Class represents a logo. Creates, locates and draws the logo.
23 
24 
28  : public DtTexturedQuad
29  {
30  public:
31  DtOsgTexturedQuad( DtDe& de );
32  virtual ~DtOsgTexturedQuad();
33 
34  virtual void createQuad( DtChannel* channel );
35  virtual void setTexture( const std::string& textureName );
36  virtual void setPosition( float lowerLeftX, float lowerLeftY );
37  virtual void setDimensions( float imageWidth, float imageHeight );
38 
39  protected:
40  virtual void applyTexture();
41  virtual void resetGeometry();
42 
43  protected:
46  };
47 
51  {
52  public:
53 
55  virtual DtTexturedQuad* create( DtDe& de );
56  };
57 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)