Skip to content
Snippets Groups Projects
Commit ecadb493 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Add ossimSarSensorModel to the factory

parent 43da9966
No related branches found
No related tags found
No related merge requests found
......@@ -390,6 +390,10 @@ ossimProjection* ossimPluginProjectionFactory::createProjection(
{
return new ossimSentinel1Model;
}
else if(name == STATIC_TYPE_NAME(ossimSarSensorModel))
{
return new ossimSarSensorModel;
}
//***
// ADD_MODEL: (Please leave this comment for the next programmer)
......@@ -465,6 +469,12 @@ ossimProjection* ossimPluginProjectionFactory::createProjection(
result = new ossimSentinel1Model();
}
else if (type == "ossimSarSensorModel")
{
result = new ossimSarSensorModel();
std::cout<<"ossiMSarSensorModel"<<std::endl;
}
//***
// ADD_MODEL: (Please leave this comment for the next programmer)
//***
......@@ -476,7 +486,7 @@ ossimProjection* ossimPluginProjectionFactory::createProjection(
// Then, try to load the keyword list
if ( result.get() && !result->loadState(kwl, prefix) )
{
result = 0;
result = 0;
}
}
......@@ -509,6 +519,7 @@ void ossimPluginProjectionFactory::getTypeNameList(std::vector<ossimString>& typ
typeList.push_back(STATIC_TYPE_NAME(ossimTileMapModel));
typeList.push_back(STATIC_TYPE_NAME(ossimPleiadesModel));
typeList.push_back(STATIC_TYPE_NAME(ossimSentinel1Model));
typeList.push_back(STATIC_TYPE_NAME(ossimSarSensorModel));
typeList.push_back(STATIC_TYPE_NAME(ossimSpot6Model));
//***
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment