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
shapeElement.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1998 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: shapeElement.h,v $ $Revision: 1.13 $ $State: Exp $
7
******************************************************************************/
8
9
#ifndef shapeElement_H_
10
#define shapeElement_H_
11
12
#include "
shape/shapeDefines.h
"
13
#include <stdio.h>
14
#include <vlutil/vlNetTypes.h>
15
#include "
gdb/specification.h
"
16
#include "
gdb/specificationManager.h
"
17
#include <
terrainCS/csUtilities.h
>
18
19
class
DtShapeReader
;
20
class
DtShapeVectorReader
;
21
class
DtGroup
;
22
class
DtShapePoint
;
23
class
DtPoint
;
24
class
DtShapeProjection
;
25
26
class
DtVectorNetwork
;
27
28
// class DtShapeElement:
29
//
30
class
DT_DLL_shape
DtShapeElement
31
{
32
33
public
:
34
35
// default constructor.
36
DtShapeElement
(
double
elevationFactor);
37
38
// destructor
39
virtual
~
DtShapeElement
();
40
41
virtual
bool
load(FILE* f,
bool
loadMeasures =
false
,
const
DtShapeProjection
* projection = NULL) = 0;
42
43
virtual
void
setElevation(
double
elev) = 0;
44
45
virtual
void
calculateMaxMins(
double
& myMaxHigh,
double
& myMinHigh) = 0;
46
47
virtual
DtGroup
*
import
(
DtShapeReader
* reader) = 0;
48
49
virtual
bool
importAsFeature(
DtShapeVectorReader
* reader,
50
DtSpecificationID
specID,
51
DtSpecification
& s) = 0;
52
53
virtual
void
setFactorToMtrs(
double
elevationFactor);
54
55
virtual
DtInt32
numPoints() = 0;
56
57
virtual
DtShapePoint
* point(
int
i) = 0;
58
59
protected
:
60
double
myElevationFactor
;
61
};
62
63
#endif
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
)