OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Protected Attributes | List of all members
ossimViewInterface Class Referenceabstract

#include <ossimViewInterface.h>

Inheritance diagram for ossimViewInterface:
ossimEastingNorthingCutter ossimEsriShapeFileFilter ossimGdalOgrVectorAnnotation ossimGeoAnnotationSource ossimGeoPolyCutter ossimImageRenderer ossimImageViewTransform ossimOgrGdalTileSource ossimVpfTileSource

Public Member Functions

 ossimViewInterface ()
 
 ossimViewInterface (ossimObject *base)
 
virtual ~ossimViewInterface ()
 
virtual bool setView (ossimObject *baseObject)=0
 
virtual ossimObjectgetView ()=0
 
virtual const ossimObjectgetView () const =0
 
virtual void refreshView ()
 
ossimObjectgetBaseObject ()
 

Protected Attributes

ossimObjecttheObject
 

Detailed Description

Definition at line 15 of file ossimViewInterface.h.

Constructor & Destructor Documentation

◆ ossimViewInterface() [1/2]

ossimViewInterface::ossimViewInterface ( )

Definition at line 5 of file ossimViewInterface.cpp.

6  : theObject(NULL)
7 {}
ossimObject * theObject

◆ ossimViewInterface() [2/2]

ossimViewInterface::ossimViewInterface ( ossimObject base)

Definition at line 9 of file ossimViewInterface.cpp.

10  : theObject(base)
11 {}
ossimObject * theObject

◆ ~ossimViewInterface()

ossimViewInterface::~ossimViewInterface ( )
virtual

Definition at line 13 of file ossimViewInterface.cpp.

14 {}

Member Function Documentation

◆ getBaseObject()

ossimObject * ossimViewInterface::getBaseObject ( )

Definition at line 19 of file ossimViewInterface.cpp.

References theObject.

20 {
21  return theObject;
22 }
ossimObject * theObject

◆ getView() [1/2]

virtual ossimObject* ossimViewInterface::getView ( )
pure virtual

◆ getView() [2/2]

virtual const ossimObject* ossimViewInterface::getView ( ) const
pure virtual

◆ refreshView()

void ossimViewInterface::refreshView ( )
virtual

Definition at line 16 of file ossimViewInterface.cpp.

17 {}

◆ setView()

virtual bool ossimViewInterface::setView ( ossimObject baseObject)
pure virtual

The derived classes should overrid this method and return true or false whether it was able to cast the past in view to a view that it can interface to. So if you are a projective view you might cast to an ossimProjection. The ownsTheView specifies whether or not it owns the passed in view pointer. This will specifiy whether or not the derived classes need to re-allocate the pointer or just delete its old pointer and set it to the passed in pointer.

Implemented in ossimOgrGdalTileSource, ossimGeoPolyCutter, ossimVpfTileSource, ossimEsriShapeFileFilter, ossimImageRenderer, ossimImageViewProjectionTransform, ossimImageViewAffineTransform, ossimGdalOgrVectorAnnotation, ossimGeoAnnotationSource, and ossimEastingNorthingCutter.

Referenced by ossimViewController::propagateView(), ossimIgen::setView(), ossimImageRenderer::setView(), ossimGpkgWriter::setView(), and ossimViewInterfaceVisitor::visit().

Member Data Documentation

◆ theObject

ossimObject* ossimViewInterface::theObject
protected

The documentation for this class was generated from the following files: