VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgToIndirectImageConverter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsg/vrvOsg.h>
12 
13 namespace osg
14 {
15  class Image;
16 }
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtIndirectImagePrototype;
22  class DtIndirectLog;
23 
27  {
28  public:
31 
34  private:
41  public:
43  virtual void copyParameters(DtIndirectImagePrototype* vrvImage
44  , const osg::Image* srcOsgImage, const std::string& imageFileName, uint32_t flags) const;
45 
47  virtual std::string imageFileName(const osg::Image* srcOsgImage, uint32_t flags) const;
48 
49  protected:
52  };
53 }
virtual std::string imageFileName(const osg::Image *srcOsgImage, uint32_t flags) const
texture file name of the srcOsgImage
DtIndirectLog & myIndirectLog
Definition: DtOsgToIndirectImageConverter.h:51
IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1), const ImVec4 &border_col=ImVec4(0, 0, 0, 0))
DtOsgToIndirectImageConverter()=delete
not allowed
This class is specifically used by the indirect system It&#39;s separate so that it doesn&#39;t interfere wit...
Definition: DtIndirectLog.h:30
VRV maintains its own image prototypes: DtIndirectImagePrototype. This utility class fills up a DtInd...
Definition: DtOsgToIndirectImageConverter.h:26
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
virtual void copyParameters(DtIndirectImagePrototype *vrvImage, const osg::Image *srcOsgImage, const std::string &imageFileName, uint32_t flags) const
fills specs of a vrvImage given a src osg image.
DtDe & myDe
Definition: DtOsgToIndirectImageConverter.h:50
DtOsgToIndirectImageConverter & operator=(const DtOsgToIndirectImageConverter &rhs)=delete
not allowed
DtIndirectImagePrototype represents an image template.
Definition: DtIndirectImagePrototype.h:36
virtual ~DtOsgToIndirectImageConverter()
destructor

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)