VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
shapeMultiPoint.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef SHAPEMULTIPOINT_H
7 #define SHAPEMULTIPOINT_H
8 
9 #include "shape/shapeDefines.h"
10 #include <stdio.h>
11 #include "shape/shapeElement.h"
12 
13 class DtShapePoint;
14 class DtShapeReader;
16 class DtGroup;
17 
18 // class DtShapeMultiPoint:
19 //
20 
22 {
23 
24 public:
25 
26  // default constructor.
27  DtShapeMultiPoint(double elevationFactor);
28 
29  // destructor
30  virtual ~DtShapeMultiPoint();
31 
32  virtual bool load(FILE *f, bool loadMeasures = false, const DtShapeProjection* projection = NULL);
33  virtual DtShapePoint* point(int i);
34  virtual DtInt32 numPoints();
35  virtual void setElevation(double elev);
36  virtual void calculateMaxMins(double &myMaxHigh, double &myMinHigh);
37 
38  virtual DtGroup* import(DtShapeReader* reader);
39 
40  virtual bool importAsFeature(DtShapeVectorReader* reader,
41  DtSpecificationID specID,
42  DtSpecification& specification);
43 
44 protected:
45 
46  DtNetFloat64 myBoundingBox[4];
47  DtNetInt32 myNumPoints;
49 };
50 
51 #endif
virtual DtInt32 numPoints()=0
DtShapePoint * myPoints
Definition: shapeMultiPoint.h:48
virtual void calculateMaxMins(double &myMaxHigh, double &myMinHigh)=0
Definition: shapeVectorReader.h:29
Definition: shapeProjectionInformation.h:68
unsigned int DtSpecificationID
Definition: specificationManager.h:22
Definition: group.h:28
Definition: shapeMultiPoint.h:21
virtual void setElevation(double elev)=0
virtual bool load(FILE *f, bool loadMeasures=false, const DtShapeProjection *projection=NULL)=0
DtNetInt32 myNumPoints
Definition: shapeMultiPoint.h:47
virtual DtShapePoint * point(int i)=0
int DtInt32
Definition: vrvControlStructTypes.h:31
Definition: shapeElement.h:30
Definition: specification.h:27
Definition: shapeReader.h:30
virtual bool importAsFeature(DtShapeVectorReader *reader, DtSpecificationID specID, DtSpecification &s)=0
#define DT_DLL_shape
Definition: shapeDefines.h:23
Definition: shapePoint.h:22

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)