VR-Forces 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) 2023 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 DtQuadProxy;
20  class DtOsgTextureWrapper;
21 
22  // DtOsgTexturedQuad - Class represents a logo. Creates, locates and draws the logo.
26  : public DtTexturedQuad
27  {
28  public:
29  DtOsgTexturedQuad( DtDe& de );
30  virtual ~DtOsgTexturedQuad();
31 
32  virtual void createQuad( DtChannel* channel );
33  virtual void setTexture( const std::string& textureName );
34  virtual void setPosition( float lowerLeftX, float lowerLeftY );
35  virtual void setDimensions( float imageWidth, float imageHeight );
36 
37  protected:
38  virtual void applyTexture();
39  virtual void resetGeometry();
40 
41  protected:
44  };
45 
49  {
50  public:
51 
53  virtual DtTexturedQuad* create( DtDe& de );
54  };
55 }
Abstract creator base class.
Definition: DtTexturedQuad.h:46
DtQuadProxy * myQuad
Definition: DtOsgTexturedQuad.h:42
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
The abstract Channel Class.
Definition: DtChannel.h:35
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtOsgTextureWrapper.h:24
Definition: DtTexturedQuad.h:24
A flyweight class for controlling a single quad owned by the DtQuadRenderer.
Definition: DtQuadProxy.h:26
DtOsgTextureWrapper * myTextureHolder
Definition: DtOsgTexturedQuad.h:43
Abstract creator base class.
Definition: DtOsgTexturedQuad.h:25
Abstract creator base class.
Definition: DtOsgTexturedQuad.h:48
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:72

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)