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
shape
shapeRecord.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1998 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef SHAPERECORD_H
7
#define SHAPERECORD_H
8
9
#include "
shape/shapeDefines.h
"
10
#include <stdio.h>
11
#include <vlutil/vlNetTypes.h>
12
#include "
shape/shapeRecordHeader.h
"
13
14
class
DtShapeElement
;
15
class
DtShapeProjection
;
16
17
enum
DtShapeRecordType
18
{
19
SHAPE_NULL
= 0,
20
SHAPE_POINT
= 1,
21
SHAPE_POLYLINE
= 3,
22
SHAPE_POLYGON
= 5,
23
SHAPE_MULTIPOINT
= 8,
24
SHAPE_POINTZ
= 11,
25
SHAPE_POLYLINEZ
= 13,
26
SHAPE_POLYGONZ
= 15,
27
SHAPE_MULTIPOINTZ
= 18,
28
SHAPE_POINTM
= 21,
29
SHAPE_POLILINEM
= 23,
30
SHAPE_POLYGONM
= 25,
31
SHAPE_MULTIPOINTM
= 28,
32
SHAPE_MULTIPATCH
= 31
33
};
34
35
class
DtString
;
36
37
// class DtShapeRecord:
38
//
39
class
DT_DLL_shape
DtShapeRecord
40
{
41
42
public
:
43
44
// default constructor.
45
DtShapeRecord
();
46
47
// destructor
48
virtual
~
DtShapeRecord
();
49
50
virtual
bool
load(FILE *f,
double
elevationFactor,
const
DtShapeProjection
* projection = NULL);
51
52
virtual
void
setElevation(
double
elev);
53
54
virtual
void
calculateMaxMins();
55
56
DtShapeRecordHeader
myHeader
;
57
DtShapeElement
*
myElement
;
58
double
myElevation
;
59
60
double
myMaxHigh
;
61
double
myMinHigh
;
62
63
};
64
65
#endif
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)