OpenVDB  1.1.0
Public Member Functions | Protected Attributes | List of all members
RandomInt Class Reference

Simple class to generate random intergers. More...

#include <Math.h>

Public Member Functions

 RandomInt (unsigned int seed, int min, int max)
void setRange (int min, int max)
int operator() (void) const
int operator() (int min, int max) const

Protected Attributes

int my_min
int my_range

Detailed Description

Simple class to generate random intergers.

Constructor & Destructor Documentation

RandomInt ( unsigned int  seed,
int  min,
int  max 
)
inline

Member Function Documentation

int operator() ( void  ) const
inline
int operator() ( int  min,
int  max 
) const
inline
void setRange ( int  min,
int  max 
)
inline

Member Data Documentation

int my_min
protected
int my_range
protected

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