VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCoreQt
DtAddTerrainPatchLogic.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtAddTerrainPatchLogic.h,v $ $Revision: 1.13 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCoreQt/vrvCoreQt.h
>
15
#include <
vrvCoreQt/DtAddTerrainPatchInterface.h
>
16
#include <
vrvCore/DtHeaderParser.h
>
17
#include <
vrvCore/DtDe.h
>
18
#include <
vrvUtil/DtSignalConnectionManager.h
>
19
20
namespace
makVrv
21
{
24
class
DT_DLL_VRVCOREQT
DtAddTerrainPatchLogic
25
{
26
27
public
:
28
30
DtAddTerrainPatchLogic
(
DtDe
& de,
DtAddTerrainPatchInterface
* iFace);
31
33
~
DtAddTerrainPatchLogic
();
34
36
void
onTerrainPatchFileChosen(
const
std::string& filePath);
37
42
bool
processTerrainHeader(
const
std::string& filePath,
43
DtAddTerrainPatchInterface::ErrorMessage
& msg);
44
47
void
addTerrainPatch();
48
50
bool
terrainPatchLoadable();
51
52
protected
:
53
55
void
onCoordinateSystemChanged(
const
std::string& coordSystem);
56
58
void
onCoordinateSystemParamsChanged(
const
std::string& coordSystemParams);
59
61
void
onDdsFlipChanged(
bool
ddsFlip);
62
64
int
coordSysStrToEnum(
const
std::string& coordSys);
65
66
protected
:
67
68
DtDe
&
myDe
;
69
DtAddTerrainPatchInterface
*
myInterface
;
70
std::string
myTerrainPath
;
71
std::string
myCoordinateSystem
;
72
std::string
myCoordinateSystemParams
;
73
bool
myDdsFlip
;
74
DtHeaderParser::TerrainPatchRecords
myTerrainPatchRecords
;
75
DtSignalConnectionManager
mySignals
;
76
};
77
}
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
)