[Liblas-commits] hg: 2 new changesets

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Dec 22 11:09:32 EST 2010


changeset 50ff17114a26 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=50ff17114a26
summary: describe the order of the colors in the summary

changeset 34b4c42ff3ff in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=34b4c42ff3ff
summary: set color independently of time in SetHeaderPtr

diffstat:

 src/laspoint.cpp |  7 +++++++
 src/utility.cpp  |  4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 568d04ecfacd -r 34b4c42ff3ff src/laspoint.cpp
--- a/src/laspoint.cpp	Tue Dec 21 21:42:24 2010 -0600
+++ b/src/laspoint.cpp	Wed Dec 22 10:09:22 2010 -0600
@@ -236,6 +236,13 @@
         try
         {
             SetTime(p.GetTime());
+        }
+        catch (std::runtime_error const&)
+        {   
+        }
+        
+        try
+        {
             SetColor(p.GetColor());
         }
         catch (std::runtime_error const&)
diff -r 568d04ecfacd -r 34b4c42ff3ff src/utility.cpp
--- a/src/utility.cpp	Tue Dec 21 21:42:24 2010 -0600
+++ b/src/utility.cpp	Wed Dec 22 10:09:22 2010 -0600
@@ -467,13 +467,13 @@
        << tree.get<boost::uint32_t>("summary.points.maximum.userdata");
 
     os << std::endl;
-    os << "  Minimum Color:\t" 
+    os << "  Minimum Color (RGB):\t" 
        << tree.get<boost::uint32_t>("summary.points.minimum.color.red") << " "
        << tree.get<boost::uint32_t>("summary.points.minimum.color.green") << " "
        << tree.get<boost::uint32_t>("summary.points.minimum.color.blue") << " ";
 
     os << std::endl;
-    os << "  Maximum Color:\t" 
+    os << "  Maximum Color (RGB):\t" 
        << tree.get<boost::uint32_t>("summary.points.maximum.color.red") << " "
        << tree.get<boost::uint32_t>("summary.points.maximum.color.green") << " "
        << tree.get<boost::uint32_t>("summary.points.maximum.color.blue") << " ";


More information about the Liblas-commits mailing list