OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimGeoAnnotationObject.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: See LICENSE.txt file in the top level directory.
5 //
6 // Author: Garrett Potts
7 //
8 //*************************************************************************
9 // $Id: ossimGeoAnnotationObject.h 15766 2009-10-20 12:37:09Z gpotts $
10 #ifndef ossimGeoAnnotationObject_HEADER
11 #define ossimGeoAnnotationObject_HEADER
13 #include <ossim/base/ossimGpt.h>
15 
17 
19 {
20 public:
21  ossimGeoAnnotationObject(unsigned char r=255,
22  unsigned char g=255,
23  unsigned char b=255,
24  long thickness=1);
25 
27 
28 
33  virtual void transform(ossimImageGeometry* projection)=0;
34 
38  virtual bool saveState(ossimKeywordlist& kwl,
39  const char* prefix=0)const;
40 
45  virtual bool loadState(const ossimKeywordlist& kwl,
46  const char* prefix=0);
47 
48 protected:
49  virtual ~ossimGeoAnnotationObject();
50 
52 };
53 
54 #endif
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Saves the current state of this object.
Represents serializable keyword/value map.
Class derived from ossimImageModel, this adds an image projection for lineSampleToWorld and worldToLi...
#define TYPE_DATA
Definition: ossimRtti.h:339
Container class that holds both 2D transform and 3D projection information for an image Only one inst...
#define OSSIM_DLL
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.