VR-Forces 5.0.2 Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvOsg
DtOsgImageUtils.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2021 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
#include <
vrvOsg/vrvOsg.h
>
12
13
#include <osg/ref_ptr>
14
15
#include <string>
16
#include <vector>
17
18
namespace
osg
19
{
20
class
Image
;
21
}
22
23
namespace
makVrv
24
{
25
class
DT_DLL_VRVOSG
DtOsgImageUtils
26
{
27
public
:
28
// user data tag for storing an Image's original source data location.
29
static
const
std::string
TAG_SOURCE_LOCATION
;
30
31
// user data tag for storing the location from which an image was actually loaded.
32
static
const
std::string
TAG_LOAD_LOCATION
;
33
34
public
:
35
37
static
bool
flattenImage(
osg::Image
* input, std::vector<
osg::ref_ptr<osg::Image>
>& output);
38
40
static
bool
ts_setCompressionDisabledHint(
osg::Image
* image,
bool
val);
41
43
static
bool
ts_compressionDisabledHint(
osg::Image
* image);
44
};
45
}
DT_DLL_VRVOSG
#define DT_DLL_VRVOSG
Definition:
vrvOsg.h:23
osg::ref_ptr< osg::Image >
makVrv::DtOsgImageUtils::TAG_LOAD_LOCATION
static const std::string TAG_LOAD_LOCATION
Definition:
DtOsgImageUtils.h:32
makVrv::DtOsgImageUtils
Definition:
DtOsgImageUtils.h:25
ImGui::Image
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))
makVrv::DtOsgImageUtils::TAG_SOURCE_LOCATION
static const std::string TAG_SOURCE_LOCATION
Definition:
DtOsgImageUtils.h:29
vrvOsg.h
Contains DLL export macros.
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
)