Isis 3 Programmer Reference
GisBlob.h
Go to the documentation of this file.
1 #ifndef GisBlob_h
2 #define GisBlob_h
3 
26 // parent class
27 #include "Blob.h"
28 
29 // Qt library
30 #include <QString>
31 
32 namespace Isis {
33  class Cube;
34 
48  class GisBlob : public Blob {
49  public:
50  GisBlob();
51 
52  GisBlob(Cube &cube);
53 
54  ~GisBlob();
55 
56  QString polygon() const;
57 
58  void setPolygon(const QString &wkt);
59 
60  private:
61  QString scrub(const char *rawbuf, int rbytes) const;
62 
63  QString m_wkt;
64  };
65 } // Namespace Isis
66 
67 #endif
68 
69 
QString polygon() const
Accesses the well-known text string that defines the polygon.
Definition: GisBlob.cpp:66
QString scrub(const char *rawbuf, int rbytes) const
This method will scrub all zeros that prefix the given buffer and convert it to a string using the nu...
Definition: GisBlob.cpp:98
~GisBlob()
Destroys the GisBlob object.
Definition: GisBlob.cpp:57
QString m_wkt
Well-known text string containing the polygon defintion for this GIS blob.
Definition: GisBlob.h:63
GisBlob()
Constructs an Isis polygon-type Blob named "Footprint.".
Definition: GisBlob.cpp:38
void setPolygon(const QString &wkt)
Sets the polygon using the given well-known text string.
Definition: GisBlob.cpp:76
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
This class creates a polygon-type Isis Blob named "Footprint".
Definition: GisBlob.h:48
IO Handler for Isis Cubes.
Definition: Cube.h:170