VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtImageHeaderParser.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtImageHeaderParser.h,v $ $Revision: 1.6 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtImageHeaderParser_H_
14
#define DtImageHeaderParser_H_
15
16
#include <
vrvCore/vrvCore.h
>
17
#include <
vrvCore/DtHeaderParser.h
>
18
19
namespace
makVrv
20
{
24
class
DT_DLL_VRVCORE
DtImageHeaderParser
:
public
DtHeaderParser
25
{
26
27
public
:
28
30
DtImageHeaderParser
(
DtDe
& de,
const
std::string& filePath);
31
33
virtual
~
DtImageHeaderParser
();
34
37
void
setTerrainPatch(
const
std::string& patch);
38
const
std::string& terrainPatch()
const
;
39
41
virtual
bool
isValid();
42
43
static
void
convertCorner(
char
* token,
double
& x,
double
& y,
double
& z);
44
static
void
parseInformation(
const
std::string& info,
45
double
& sw_x,
double
& sw_y,
double
& sw_z,
double
& ne_x,
double
& ne_y,
double
& ne_z,
int
& blendMode,
int
& wrapMode);
46
47
protected
:
48
53
void
addTerrainPatchRecord(
const
std::string& filename);
54
55
protected
:
56
DtDe
&
myDe
;
57
std::string
myTerrainPatch
;
58
59
};
60
63
class
DT_DLL_VRVCORE
DtImageHeaderParserCreator
:
public
DtHeaderParserCreator
64
{
65
66
public
:
67
69
DtImageHeaderParserCreator
();
70
72
virtual
~
DtImageHeaderParserCreator
();
73
75
virtual
DtHeaderParser
* create(
DtDe
& de,
const
std::string& filePath)
const
;
76
77
};
78
}
79
80
#endif
81
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)