VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
shapePoint.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef SHAPEPOINT_H
7 #define SHAPEPOINT_H
8 
9 #include "shape/shapeDefines.h"
10 #include <stdio.h>
11 #include "geometry/point.h"
12 #include "shape/shapeElement.h"
14 
15 class DtShapeReader;
17 class DtGroup;
18 class DtShapeProjection;
19 
20 // class DtShapePoint:
21 //
23 {
24 
25 public:
26 
27  // default constructor.
28  DtShapePoint();
29 
30  DtShapePoint(double elevationFactor);
31 
32  // destructor
33  virtual ~DtShapePoint();
34 
35  virtual bool load(FILE* f, bool loadMeasures = false, const DtShapeProjection* projection = NULL);
36 
37  virtual DtPoint& point();
38 
39  virtual double x();
40  virtual double y();
41  virtual double z();
42 
43  virtual void setX(double x);
44  virtual void setY(double y);
45  virtual void setZ(double z);
46 
47  virtual void setElevation(double elev);
48  virtual void calculateMaxMins(double& myMaxHigh, double& myMinHigh);
49 
50  virtual DtGroup* import(DtShapeReader* reader);
51  virtual bool importAsFeature(DtShapeVectorReader* reader,
52  DtSpecificationID specID,
53  DtSpecification& specification);
54 
55  virtual DtShapePoint* point(int i);
56  virtual DtInt32 numPoints();
57 
58 protected:
59 
61 };
62 
63 #endif
virtual DtInt32 numPoints()=0
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
virtual void setElevation(double elev)=0
virtual bool load(FILE *f, bool loadMeasures=false, const DtShapeProjection *projection=NULL)=0
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
DtPoint myPoint
Definition: shapePoint.h:60
#define DT_DLL_shape
Definition: shapeDefines.h:23
Definition: shapePoint.h:22
Definition: point.h:34

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)