Commit ed4d21d7 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

STYLE: remove trailing spaces

parent 89d76023
......@@ -34,7 +34,7 @@ ConfigurationFile
{
itkExceptionMacro(<< "Error - File '" << e.filename << "' not found.");
}
}
}
ConfigurationFile
::~ConfigurationFile()
......@@ -53,12 +53,12 @@ ConfigurationFile
};
void
void
ConfigurationFile
::PrintSelf(std::ostream& os, itk::Indent indent) const
::PrintSelf(std::ostream& os, itk::Indent indent) const
{
Superclass::PrintSelf(os, indent);
os << indent;
os << indent;
os << (*m_OTBConfig);
}
......
......@@ -275,7 +275,7 @@ ImageToLineSegmentVectorData<TInputImage, TPrecision>
}
// no point to fuse
else
go = true;
go = true;
}// else if( vcl_abs(p1[1]-whereAmI[1])<m_ThreadDistanceThreshold || vcl_abs(p2[1]-whereAmI[1])<m_ThreadDistanceThreshold )
else
{
......
......@@ -35,20 +35,20 @@ CircleGlComponent
m_Spacing.Fill(1.);
m_Radius = 10;
// Create the tesselator
m_GluTesselator = gluNewTess();
m_GluTesselator = gluNewTess();
// Center representation
m_CenterRepresentation = CROSS;
}
CircleGlComponent
::~CircleGlComponent()
::~CircleGlComponent()
{
// Delete the tesselator
gluDeleteTess(m_GluTesselator);
}
void
void
CircleGlComponent
::Render(const RegionType& extent,const AffineTransformType * space2ScreenTransform)
{
......@@ -89,7 +89,7 @@ CircleGlComponent
}
void
void
CircleGlComponent
::Render(unsigned int id, const RegionType & /*extent*/, const AffineTransformType * space2ScreenTransform)
{
......@@ -109,7 +109,7 @@ CircleGlComponent
// Draw a disk
glEnable(GL_BLEND);
glPointSize(m_Radius);
glBegin(GL_POINTS);
glBegin(GL_POINTS);
glVertex2d(screenPoint[0],screenPoint[1]);
glEnd();
......@@ -120,7 +120,7 @@ CircleGlComponent
glColor4d(0, 0, 0, 1);
glEnable(GL_BLEND);
glPointSize(2);
glBegin(GL_POINTS);
glBegin(GL_POINTS);
glVertex2d(screenPoint[0],screenPoint[1]);
glEnd();
}
......
......@@ -121,7 +121,7 @@ public:
/** Clear all*/
void Clear() { m_IndexList.clear(); m_ColorList.clear(); };
void ClearIndex(unsigned int id)
{
{
this->RemoveIndex(id);
this->RemoveColor(id);
};
......@@ -181,7 +181,7 @@ private:
/** Default color : red*/
ColorType m_RedColor;
/** Center representation */
/** Center representation */
CenterRepresentationEnumType m_CenterRepresentation;
}; // end class
......
......@@ -210,10 +210,10 @@ public:
m_Minimum.clear();
m_Maximum.clear();
// Comment the condition cause if we change the channel list order
// Comment the condition cause if we change the channel list order
// this condition doesn't allow us to recompute the histograms
//if (this->GetHistogramList().IsNull())
//{
//if (this->GetHistogramList().IsNull())
//{
this->RenderHistogram();
// itkExceptionMacro( << "To Compute min/max automatically, Histogram should be "
// <<"provided to the rendering function with SetHistogramList()" );
......
......@@ -54,7 +54,7 @@ int otbTerraSarImageMetadataInterface (int argc, char* argv[])
file<<"GetProductionDay: "<<lImageMetadata->GetProductionDay(reader->GetOutput()->GetMetaDataDictionary())<<std::endl;
file<<"GetProductionMonth: "<<lImageMetadata->GetProductionMonth(reader->GetOutput()->GetMetaDataDictionary())<<std::endl;
file<<"GetProductionYear: "<<lImageMetadata->GetProductionYear(reader->GetOutput()->GetMetaDataDictionary())<<std::endl;
file<<"GetCalibrationFactor: "<<lImageMetadata->GetCalibrationFactor(reader->GetOutput()->GetMetaDataDictionary())<<std::endl;
file<<"GetCalibrationFactor: "<<lImageMetadata->GetCalibrationFactor(reader->GetOutput()->GetMetaDataDictionary())<<std::endl;
file.close();
return EXIT_SUCCESS;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment