OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimDemProfile.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: Ken Melero
9 // Orginally written by Jamie Moyers (jmoyers@geeks.com)
10 // Adapted from the package KDEM.
11 // Description: This class defines a DEM profile.
12 //
13 //********************************************************************
14 // $Id$
15 
16 #ifndef ossimDemProfile_HEADER
17 #define ossimDemProfile_HEADER 1
18 
20 #include <ossim/base/ossimIosFwd.h>
22 #include <vector>
23 
24 typedef std::vector<ossim_int32> ossimDemElevationVector;
25 
27 {
28 public:
29 
31  ossimDemProfile(ossimDemProfile const& right);
32  ossimDemProfile const& operator=(ossimDemProfile const& right);
33 
36 
37  // Accessors
38 
42  ossim_int32 getRowNumber() const;
43 
48 
53 
57  ossimDemPoint const& getProfileLocation() const;
58 
64  double getLocalDatumElevation() const;
65 
69  double getMinimumElev() const;
70 
74  double getMaximumElev() const;
75 
84 
85 private:
86 
91  double _locDatumElev;
92  double _minElev;
93  double _maxElev;
95 };
96 
97 #endif // #ifndef ossimDemProfile_HEADER
ossim_int32 getNumberOfElevations() const
ossimDemPoint _profileLocation
double getMinimumElev() const
double getMaximumElev() const
double getLocalDatumElevation() const
ossimDemProfile const & operator=(ossimDemProfile const &right)
ossim_int32 _column
std::vector< ossim_int32 > ossimDemElevationVector
friend std::istream & operator>>(std::istream &s, ossimDemProfile &demp)
ossimDemElevationVector const & getElevations() const
ossim_int32 getRowNumber() const
ossimDemElevationVector _elevations
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
ossim_int32 _numberElevations
ossimDemPoint const & getProfileLocation() const
friend std::ostream & operator<<(std::ostream &s, ossimDemProfile &demp)
ossim_int32 getColumnNumber() const
ossim_int32 _row
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
int ossim_int32