VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)