SLProject 4.0.000
SLRnd3fUniform Class Reference

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

#include <SLRnd3f.h>

Inheritance diagram for SLRnd3fUniform:
[legend]

Public Member Functions

 SLRnd3fUniform (SLVec3f min, SLVec3f max)
 
 ~SLRnd3fUniform ()
 
SLVec3f generate ()
 
virtual SLVec3f generate ()=0
 

Private Attributes

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

Additional Inherited Members

- Protected Attributes inherited from SLRnd3f
std::default_random_engine _generator
 

Detailed Description

Class for random generator for uniform distributed 3D points.

Constructor & Destructor Documentation

◆ SLRnd3fUniform()

SLRnd3fUniform::SLRnd3fUniform ( SLVec3f  min,
SLVec3f  max 
)
inline

◆ ~SLRnd3fUniform()

SLRnd3fUniform::~SLRnd3fUniform ( )
inline

Member Function Documentation

◆ generate()

SLVec3f SLRnd3fUniform::generate ( )
inlinevirtual

Implements SLRnd3f.

Member Data Documentation

◆ _xDistribution

std::uniform_real_distribution<SLfloat>* SLRnd3fUniform::_xDistribution
private

◆ _yDistribution

std::uniform_real_distribution<SLfloat>* SLRnd3fUniform::_yDistribution
private

◆ _zDistribution

std::uniform_real_distribution<SLfloat>* SLRnd3fUniform::_zDistribution
private

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