Skip to content
Snippets Groups Projects
Commit d79ca4eb authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

WAR : intialization of the attribute in the same order of declaration

parent 5bb904df
Branches
Tags
No related merge requests found
...@@ -33,7 +33,7 @@ namespace otb { ...@@ -33,7 +33,7 @@ namespace otb {
* CS. * CS.
* *
* The number of points used to estimate the rpc sensor model is * The number of points used to estimate the rpc sensor model is
* defined by the GridSpacing, note that at least 16 points are needed * defined by the GridSize, note that at least 16 points are needed
* to estimate a proper RPC sensor model, there are no warning when * to estimate a proper RPC sensor model, there are no warning when
* the model estimated is inaccurate. * the model estimated is inaccurate.
* *
...@@ -44,7 +44,7 @@ namespace otb { ...@@ -44,7 +44,7 @@ namespace otb {
* implementation.(TODO) * implementation.(TODO)
* *
* Depending on the value of the DEMDirectory, an elevation fetched * Depending on the value of the DEMDirectory, an elevation fetched
* from the SRT directory is used. * from the SRT directory is used.(TODO)
* *
* This filter does not modify the image buffer, but only the * This filter does not modify the image buffer, but only the
* metadata. Therefore, it is implemented as an InPlaceImageFilter. * metadata. Therefore, it is implemented as an InPlaceImageFilter.
......
...@@ -29,12 +29,12 @@ PhysicalToRPCSensorModelImageFilter<TImage> ...@@ -29,12 +29,12 @@ PhysicalToRPCSensorModelImageFilter<TImage>
{ {
// Initialize the rpc estimator // Initialize the rpc estimator
m_GCPsToSensorModelFilter = GCPsToSensorModelType::New(); m_GCPsToSensorModelFilter = GCPsToSensorModelType::New();
// Initialize the gridSize
m_GridSize.Fill(1);
// Initialize the DEMDirectory // Initialize the DEMDirectory
m_DEMDirectory = ""; m_DEMDirectory = "";
// Initialize the gridSize
m_GridSize.Fill(1);
} }
template <class TImage> template <class TImage>
...@@ -43,7 +43,6 @@ PhysicalToRPCSensorModelImageFilter<TImage> ...@@ -43,7 +43,6 @@ PhysicalToRPCSensorModelImageFilter<TImage>
{ {
} }
template <class TImage> template <class TImage>
void void
PhysicalToRPCSensorModelImageFilter<TImage> PhysicalToRPCSensorModelImageFilter<TImage>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment