Skip to content
Snippets Groups Projects
Commit 0ff8b56b authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: change the information stored

parent 860a65de
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,8 @@
namespace otb
{
/** \class PointSetFileReader
/**
* \class PointSetFileReader
* \brief Read a point set from a lidar file.
*
* \sa PointSetSource
......
......@@ -126,8 +126,6 @@ template <class TOutputPointSet>
void PointSetFileReader<TOutputPointSet>
::GenerateData()
{
typename TOutputPointSet::Pointer output = this->GetOutput();
std::ifstream ifs;
......@@ -162,7 +160,7 @@ void PointSetFileReader<TOutputPointSet>
}
}
//If the output pointset is of dimension 3, store the intensity as information
//If the output pointset is of dimension 3, store the altitude as information
else if (PointType::PointDimension == 3)
{
while (reader.ReadNextPoint())
......@@ -179,7 +177,7 @@ void PointSetFileReader<TOutputPointSet>
output->SetPoint( i, point );
PixelType V;
V = static_cast<PixelType>( p.GetIntensity() );
V = static_cast<PixelType>( p.GetZ() );
output->SetPointData( i, V );
}
......
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