VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvOsg
DtOsgImageUtils.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
#include <
vrvOsg/vrvOsg.h
>
12
#include <string>
13
#include <vector>
14
#include <osg/ref_ptr>
15
16
namespace
osg
17
{
18
class
Image;
19
class
Texture
;
20
}
21
22
namespace
makVrv
23
{
24
class
DT_DLL_VRVOSG
DtOsgImageUtils
25
{
26
public
:
27
// user data tag for storing an Image's original source data location.
28
static
const
std::string
TAG_SOURCE_LOCATION
;
29
30
// user data tag for storing the location from which an image was actually loaded.
31
static
const
std::string
TAG_LOAD_LOCATION
;
32
33
public
:
34
38
static
osg::Texture
* createTexture(osg::Image* image);
39
41
static
bool
flattenImage(osg::Image* input, std::vector<osg::ref_ptr<osg::Image> >& output);
42
48
static
void
configureTextureForAutoReload(
osg::Texture
* texture);
49
};
50
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)