Skip to content
Snippets Groups Projects
Commit cb8e38cd authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent 87095015
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,7 @@ void DoExecute()
m_LeftIndexSelectionFilter1->SetInput(m_LeftInvertDeformationFieldFilter->GetOutput());
m_LeftIndexSelectionFilter1->SetIndex(0);
m_LeftIndexSelectionFilter2->SetInput(m_LeftInvertDeformationFieldFilter->GetOutput());
m_LeftIndexSelectionFilter2->SetIndex(1);
m_LeftIndexSelectionFilter2->SetIndex(1);
m_LeftImageList->Clear();
m_LeftImageList->PushBack(m_LeftIndexSelectionFilter1->GetOutput());
m_LeftImageList->PushBack(m_LeftIndexSelectionFilter2->GetOutput());
......@@ -243,7 +243,7 @@ void DoExecute()
m_RightDeformationFieldCaster->SetInput(m_DeformationFieldSource->GetRightDeformationFieldOutput());
m_RightInvertDeformationFieldFilter->SetInput(m_RightDeformationFieldCaster->GetOutput());
m_RightInvertDeformationFieldFilter->SetInput(m_RightDeformationFieldCaster->GetOutput());
FloatVectorImageType::PointType rorigin = GetParameterImage("io.inright")->GetOrigin();
FloatVectorImageType::SpacingType rspacing = GetParameterImage("io.inright")->GetSpacing();
FloatVectorImageType::SizeType rsize = GetParameterImage("io.inright")->GetLargestPossibleRegion().GetSize();
......
......@@ -123,11 +123,11 @@ public:
/** Get/Set the DEM directory */
itkSetStringMacro(DEMDirectory);
itkGetStringMacro(DEMDirectory);
itkGetStringMacro(DEMDirectory);
/** Get/Set the geoid file */
itkSetStringMacro(GeoidFile);
itkGetStringMacro(GeoidFile);
itkGetStringMacro(GeoidFile);
/** Get/Set the elevation offset */
itkSetMacro(ElevationOffset,double);
......
......@@ -24,7 +24,7 @@
namespace otb
{
/** \class LabelImageToVectorDataFilter
* \brief this class uses GDALPolygonize method to transform a Label image into
* \brief this class uses GDALPolygonize method to transform a Label image into
* a VectorData. It is a non-streamed version.
*
*
......
......@@ -165,12 +165,12 @@ LabelImageToVectorDataFilter<TInputImage, TPrecision>
/** Convert OGR layer into VectorData */
OGRFeatureDefn * dfn = outputLayer->GetLayerDefn();
// Create the document node
// Create the document node
DataNodePointerType document = DataNodeType::New();
document->SetNodeType(DOCUMENT);
document->SetNodeId(dfn->GetName());
// Adding the layer to the data tree
// Adding the layer to the data tree
VectorDataPointerType data = dynamic_cast<VectorDataType*>(this->GetOutput());
DataTreePointerType tree = data->GetDataTree();
DataNodePointerType root = tree->GetRoot()->Get();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment