refactored circle

This commit is contained in:
Anatoly Baksheev
2014-01-11 23:29:28 +04:00
parent dac27c9913
commit c0cc551228
5 changed files with 58 additions and 28 deletions

View File

@@ -209,6 +209,12 @@ namespace cv
return scaled_color;
}
inline Vec3d get_random_vec(double from = -10.0, double to = 10.0)
{
RNG& rng = theRNG();
return Vec3d(rng.uniform(from, to), rng.uniform(from, to), rng.uniform(from, to));
}
struct VtkUtils
{
template<class Filter>