OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNgaProjectionFactory.h>
Public Member Functions | |
virtual ossimProjection * | createProjection (const ossimFilename &filename, ossim_uint32 entryIdx) const |
takes a filename. More... | |
virtual ossimProjection * | createProjection (const ossimString &name) const |
Take a projection type name. More... | |
virtual ossimProjection * | createProjection (const ossimKeywordlist &kwl, const char *prefix) const |
Take a keywordlist. More... | |
virtual ossimObject * | createObject (const ossimString &typeName) const |
virtual ossimObject * | createObject (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual void | getTypeNameList (std::vector< ossimString > &typeList) const |
![]() | |
virtual ossimProjection * | createProjection (ossimImageHandler *handler) const |
![]() | |
virtual | ~ossimObjectFactory () |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Static Public Member Functions | |
static ossimNgaProjectionFactory * | instance () |
Implements singleton pattern. More... | |
Protected Member Functions | |
ossimNgaProjectionFactory () | |
Constructor loads all SRS CSV files specified in the ossim prefs. More... | |
![]() | |
ossimProjection * | createProjectionFromGeometryFile (const ossimFilename &imageFile, ossim_uint32 entryIdx) const |
This method takes the filename and tries to find an external ".geom" file. More... | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 15 of file ossimNgaProjectionFactory.h.
|
inlineprotected |
Constructor loads all SRS CSV files specified in the ossim prefs.
Protected as part of singleton implementation.
Definition at line 60 of file ossimNgaProjectionFactory.h.
|
virtual |
Creates an object given a type name.
Implements ossimObjectFactory.
Definition at line 71 of file ossimNgaProjectionFactory.cpp.
References createProjection().
|
virtual |
Creates and object given a keyword list.
Implements ossimObjectFactory.
Definition at line 77 of file ossimNgaProjectionFactory.cpp.
References createProjection().
|
virtual |
takes a filename.
This filename can be an image file or it can also be a ossim .geom file. It could be other forms of geom files as well. The factories job will be to determine what parser to use and return a projection if successful.
Implements ossimProjectionFactoryBase.
Definition at line 34 of file ossimNgaProjectionFactory.cpp.
References ossimProjectionFactoryBase::createProjectionFromGeometryFile().
Referenced by createObject().
|
virtual |
Take a projection type name.
Implements ossimProjectionFactoryBase.
Definition at line 49 of file ossimNgaProjectionFactory.cpp.
References ossimString::after(), ossimEllipsoidFactory::create(), ossimEllipsoidFactory::instance(), and ossimString::toInt().
|
virtual |
Take a keywordlist.
Implements ossimProjectionFactoryBase.
Definition at line 65 of file ossimNgaProjectionFactory.cpp.
|
virtual |
This should return the type name of all objects in all factories. This is the name used to construct the objects dynamially and this name must be unique.
Implements ossimObjectFactory.
Definition at line 83 of file ossimNgaProjectionFactory.cpp.
|
static |
Implements singleton pattern.
Definition at line 27 of file ossimNgaProjectionFactory.cpp.
Referenced by ossimProjectionFactoryRegistry::initializeDefaults().