Diff of /trunk/contrib/brl/bbas/volm/volm_vrml_io.cxx [r36647] .. [r36648] Maximize Restore

  Switch to side-by-side view

--- a/trunk/contrib/brl/bbas/volm/volm_vrml_io.cxx
+++ b/trunk/contrib/brl/bbas/volm/volm_vrml_io.cxx
@@ -2,14 +2,13 @@
 
 void volm_vrml_io::display_spherical_region_by_attrbute(vcl_ostream& str ,
                                                         volm_spherical_region & region,
-                                                        spherical_region_attributes att, 
+                                                        spherical_region_attributes att,
                                                         double factor,                // this mis multipled by 1.0 and is used to display outwards or inwards of the unit sphere.
                                                         double tol)
-
 {
     float r,g,b ;
     unsigned char val;
-    if(!region.attribute_value(att,val))
+    if (!region.attribute_value(att,val))
         return;
     r = color_codes[val%8][0];
     g = color_codes[val%8][1];
@@ -17,15 +16,15 @@
 
     region.bbox_ref().display_box(str,r,g,b,tol,factor);
 }
+
 void volm_vrml_io::display_spherical_region_layer_by_attrbute(vcl_ostream& str ,
                                                               volm_spherical_regions_layer & layer,
-                                                              spherical_region_attributes att, 
+                                                              spherical_region_attributes att,
                                                               double factor,                // this mis multipled by 1.0 and is used to display outwards or inwards of the unit sphere.
                                                               double tol)
 {
     vcl_vector<unsigned int> ids = layer.attributed_regions(att);
     vcl_vector<volm_spherical_region> regions = layer.regions();
-    for(unsigned i = 0 ; i < ids.size(); i++)
+    for (unsigned i = 0 ; i < ids.size(); i++)
         volm_vrml_io::display_spherical_region_by_attrbute(str,regions[ids[i]],att,factor,tol);
- 
-}+}