VR-Forces 5.0.2 Developer's Guide
 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 }
Abstract creator base class.
Definition: DtTexturedQuad.h:46
DtCachedTextureHolder * myTextureHolder
Definition: DtOsgTexturedQuad.h:45
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
The abstract Channel Class.
Definition: DtChannel.h:35
Definition: DtTexturedQuad.h:24
DtQuad * myQuad
Definition: DtOsgTexturedQuad.h:44
A single 2D quadrilateral. None of this class&#39;s member functions are virtual because: ...
Definition: DtQuad.h:28
Abstract creator base class.
Definition: DtOsgTexturedQuad.h:27
Abstract creator base class.
Definition: DtOsgTexturedQuad.h:50
Contains makVrv::DtTexturedQuad class.
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Helper class used to simple hold and own a pointer.
Definition: DtOsgModelInstance.h:56

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)