SLProject 4.0.000
SLRnd3fNormal Class Reference

Class for random generator for normal distributed 3D points. More...

#include <SLRnd3f.h>

Inheritance diagram for SLRnd3fNormal:
[legend]

Public Member Functions

 SLRnd3fNormal (SLVec3f mean, SLVec3f stddev)
 
 ~SLRnd3fNormal ()
 
SLVec3f generate ()
 
virtual SLVec3f generate ()=0
 

Private Attributes

std::normal_distribution< SLfloat > * _xDistribution
 
std::normal_distribution< SLfloat > * _yDistribution
 
std::normal_distribution< SLfloat > * _zDistribution
 

Additional Inherited Members

- Protected Attributes inherited from SLRnd3f
std::default_random_engine _generator
 

Detailed Description

Class for random generator for normal distributed 3D points.

Constructor & Destructor Documentation

◆ SLRnd3fNormal()

SLRnd3fNormal::SLRnd3fNormal ( SLVec3f  mean,
SLVec3f  stddev 
)
inline

◆ ~SLRnd3fNormal()

SLRnd3fNormal::~SLRnd3fNormal ( )
inline

Member Function Documentation

◆ generate()

SLVec3f SLRnd3fNormal::generate ( )
inlinevirtual

Implements SLRnd3f.

Member Data Documentation

◆ _xDistribution

std::normal_distribution<SLfloat>* SLRnd3fNormal::_xDistribution
private

◆ _yDistribution

std::normal_distribution<SLfloat>* SLRnd3fNormal::_yDistribution
private

◆ _zDistribution

std::normal_distribution<SLfloat>* SLRnd3fNormal::_zDistribution
private

The documentation for this class was generated from the following file: