VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGaussianDistributionGenerator.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvUtil/vrvUtil.h>
13 
14 namespace makVrv
15 {
20  {
21  public:
22 
25 
28  const DtGaussianDistributionGenerator& other );
29 
32 
35  void setSeed( int seed );
36 
44  float generate( float mn = 0.0f, float sd = 1.0f ) const;
45  double generate( double mn = 0.0f, double sd = 1.0f ) const;
46 
55  float generateHalfCurve( float mn = 0.0f, float sd = 1.0f ) const;
56  double generateHalfCurve( double mn = 0.0f, double sd = 1.0f ) const;
57 
58  private:
62  operator=( const DtGaussianDistributionGenerator& );
63 
64  private:
65 
66  struct LocalPrivate;
67  mutable LocalPrivate* myMutablePrivate;
68  };
69 }
Implementation independent random number generator with a normal (Gaussian) distribution.
Definition: DtGaussianDistributionGenerator.h:19
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
Contains DLL export macros.
LocalPrivate * myMutablePrivate
Definition: DtGaussianDistributionGenerator.h:66

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)