17 #include <osg/ref_ptr>
19 #include <boost/thread/mutex.hpp>
22 #include <unordered_map>
33 class DtMeifConverter;
34 class DtIndirectDefaultTexturesContainer;
35 class DtIndirectLimitTextureStrategy;
36 class DtIndirectTextureLimitAdjustedMipMap;
39 class DtIndirectGlTextureObject;
98 virtual bool removeEntry(
unsigned int textureId);
101 virtual unsigned int outOfMemoryTextureId(
void)
const;
106 virtual DtVector2<int> seenImageSize(
const std::string& imageFileAbsolutePath)
const;
109 virtual void addImguiTextureUI(
unsigned int contextID);
126 ,
bool& aboveCutoff)
const;
139 virtual bool textureWillPutMemoryAboveCutoff(
int sizeOfTextureInBytes)
const;
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Encapsulate a gl texture object that is created/used in indirect rendering The life time of these is ...
Definition: DtIndirectGlTextureObject.h:26
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Class responsible for converting images into MAK encrypted image files.
Definition: DtMeifConverter.h:25
This manager manages the lifetime of the actual gl texture objects (gl unsigned ints) in the indirect...
Definition: DtIndirectGlTextureObjectManager.h:60
std::map< osg::ref_ptr< const osg::Texture >, DtIndirectGlTextureObject * > myOsgTextureToIndirectGlTexture
of osg texture to the indirect gl texture object
Definition: DtIndirectGlTextureObjectManager.h:154
boost::mutex myMutex
Definition: DtIndirectGlTextureObjectManager.h:159
std::unordered_map< std::string, DtVector2< int > > mySeenImages
Definition: DtIndirectGlTextureObjectManager.h:170
Contains makVrv::DtVirtualBaseClass class.
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))
std::map< unsigned int, DtIndirectGlTextureObject * > myIdToGlTextures
another map for fast look up
Definition: DtIndirectGlTextureObjectManager.h:157
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtSignalConnectionManager myConnections
Definition: DtIndirectGlTextureObjectManager.h:151
loads and contains various core default textures used by the indirect system
Definition: DtIndirectDefaultTexturesContainer.h:27
DtIndirectLimitTextureStrategy * myNoLimitStrategy
Definition: DtIndirectGlTextureObjectManager.h:172
This class is passed as a pointer to DtIndirectTextureProcessor. The processor then uses this in conj...
Definition: DtIndirectLimitTextureStrategy.h:65
static const std::string theClassName
Definition: DtIndirectGlTextureObjectManager.h:168
Base class to provide boost signal/slot management.
DtIndirectDefaultTexturesContainer & myDefaultTexturesContainer
cache to avoid repeated look ups via DtIndirectDefaultTexturesContainer::instance(myDe) ...
Definition: DtIndirectGlTextureObjectManager.h:166
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
DtMeifConverter * myImageCompressor
Definition: DtIndirectGlTextureObjectManager.h:161
DtDe & myDe
Definition: DtIndirectGlTextureObjectManager.h:149
int myOutOfMemoryTextureId
Definition: DtIndirectGlTextureObjectManager.h:163