OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimSensorModelFactory.h>
Public Member Functions | |
virtual ossimProjection * | createProjection (const ossimFilename &filename, ossim_uint32 entryIdx) const |
takes a filename. More... | |
virtual ossimProjection * | createProjection (const ossimString &spec) const |
virtual ossimProjection * | createProjection (const ossimKeywordlist &kwl, const char *prefix=0) 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 ossimSensorModelFactory * | instance () |
Protected Member Functions | |
ossimSensorModelFactory () | |
bool | isNitf (const ossimFilename &filename) const |
bool | isLandsat (const ossimFilename &filename) const |
void | findCoarseGrid (ossimFilename &result, const ossimFilename &geomFile) const |
![]() | |
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 19 of file ossimSensorModelFactory.h.
|
inlineprotected |
Definition at line 57 of file ossimSensorModelFactory.h.
|
virtual |
Creates an object given a type name.
Implements ossimObjectFactory.
Definition at line 243 of file ossimSensorModelFactory.cpp.
References createProjection().
|
virtual |
Creates and object given a keyword list.
Implements ossimObjectFactory.
Definition at line 252 of file ossimSensorModelFactory.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 293 of file ossimSensorModelFactory.cpp.
References ossimKeywordlist::add(), ossimKeywordlist::addFile(), ossimString::c_str(), ossimKeywordlist::clear(), ossimProjectionFactoryBase::createProjectionFromGeometryFile(), ossimString::empty(), ossimFilename::exists(), ossimKeywordlist::find(), findCoarseGrid(), ossimErrorStatusInterface::getErrorStatus(), ossimRefPtr< T >::release(), ossimFilename::setExtension(), STATIC_TYPE_NAME, ossimKeywordNames::TYPE_KW, and ossimRefPtr< T >::valid().
Referenced by createObject(), and createProjection().
|
virtual |
METHOD: create() Attempts to create an instance of the Product given a Specifier or keywordlist. Returns successfully constructed product or NULL.
Implements ossimProjectionFactoryBase.
Definition at line 133 of file ossimSensorModelFactory.cpp.
References STATIC_TYPE_NAME.
|
virtual |
Take a keywordlist.
Implements ossimProjectionFactoryBase.
Definition at line 93 of file ossimSensorModelFactory.cpp.
References createProjection(), ossimKeywordlist::find(), ossimKeywordNames::GEOM_FILE_KW, ossimProjection::loadState(), ossimRefPtr< T >::release(), ossimKeywordNames::TYPE_KW, and ossimRefPtr< T >::valid().
|
protected |
Definition at line 688 of file ossimSensorModelFactory.cpp.
References ossimFilename::exists(), ossimFilename::fileNoExtension(), ossimDirectory::OSSIM_DIR_FILES, ossimFilename::path(), ossimFilename::setExtension(), and ossimFilename::setFile().
Referenced by createProjection().
|
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 262 of file ossimSensorModelFactory.cpp.
References STATIC_TYPE_NAME.
|
static |
METHOD: instance() For accessing static instance of concrete factory.
Definition at line 84 of file ossimSensorModelFactory.cpp.
Referenced by ossimProjectionFactoryRegistry::initializeDefaults().
|
protected |
Definition at line 670 of file ossimSensorModelFactory.cpp.
References ossimString::contains(), ossimString::downcase(), and ossimErrorStatusInterface::getErrorStatus().
|
protected |
Definition at line 654 of file ossimSensorModelFactory.cpp.
References ossim::StreamFactoryRegistry::instance().