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
terrainDbFactory
pixmapPaperMapRecord.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1998 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: pixPprMapRec.h,v $ $Revision: 1.14 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef PIXPPRMAPREC_H
10
#define PIXPPRMAPREC_H
11
14
15
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
16
#include "
terrainDbFactory/paperMapRecord.h
"
17
#include "
geometry/point.h
"
18
23
24
class
DT_DLL_terrainDbFactory
DtPixmapPaperMapRecord
:
public
DtPaperMapRecord
25
{
26
27
public
:
28
30
DtPixmapPaperMapRecord
();
31
33
virtual
~
DtPixmapPaperMapRecord
();
34
36
DtPixmapPaperMapRecord
(
const
DtPixmapPaperMapRecord
& orig);
37
39
DtPixmapPaperMapRecord
&
operator=
(
const
DtPixmapPaperMapRecord
& rhs);
40
41
virtual
DtPaperMapRecord
*
clone
();
42
44
virtual
DtString
recordTypeName
()
const
;
45
47
virtual
void
setSwCorner(
const
DtPoint
& pnt);
48
virtual
const
DtPoint
& swCorner()
const
;
49
51
virtual
void
setNeCorner(
const
DtPoint
& pnt);
52
virtual
const
DtPoint
& neCorner()
const
;
53
59
virtual
void
setCornersInDatabase(
bool
db);
60
virtual
bool
cornersInDatabase();
61
63
virtual
bool
get
(std::istream& stream);
64
66
virtual
bool
processToken
(std::istream& stream,
DtString
& token);
67
69
static
DtMetafileRecord
*
create
();
70
71
protected
:
72
74
virtual
bool
writeAttributes
(std::ostream& stream)
const
;
75
77
virtual
bool
getAttribute
(
const
DtString
attrName,
DtString
& value,
unsigned
index=0);
78
80
virtual
bool
setToken
(
const
DtString
& token,
const
DtString
value);
81
82
protected
:
83
84
DtPoint
mySwCorner
;
85
DtPoint
myNeCorner
;
86
87
bool
myCornersInDBCoords
;
88
89
static
const
DtString
theParameterSwCorner
;
90
static
const
DtString
theParameterNeCorner
;
91
92
};
93
94
#endif
95
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
)