]> Creatis software - FrontAlgorithms.git/blobdiff - plugins/Experiments/InsertNoiseIntoPoints.cxx
...
[FrontAlgorithms.git] / plugins / Experiments / InsertNoiseIntoPoints.cxx
index fef1f0db154ee2f52aefe9321e5c5812de39055c..403231662307a9aa06c194ce1a724f57441f918b 100644 (file)
@@ -57,7 +57,7 @@ _GenerateData( )
       dmap->ComputeStructuredCoordinates( buf, ijk, pcoords );
       double radius =
         dmap->GetScalarComponentAsDouble( ijk[ 0 ], ijk[ 1 ], ijk[ 2 ], 0 );
-      double rad_dis = _TDist( 1e-5, radius * 0.9 )( gen );
+      double rad_dis = _TDist( 1e-2, radius * 0.9 )( gen );
       double the_dis = _TDist( 0, 3.14159265359 )( gen );
       double phi_dis = _TDist( 0, 6.28318530718 )( gen );
       buf[ 0 ] += rad_dis * std::sin( the_dis ) * std::cos( phi_dis );