Defines | Functions | Variables
opennurbs_rand.cpp File Reference
#include "pcl/surface/3rdparty/opennurbs/opennurbs.h"
Include dependency graph for opennurbs_rand.cpp:

Go to the source code of this file.

Defines

#define LOWER_MASK   0x7fffffffUL /* least significant r bits */
#define M   397
#define MATRIX_A   0x9908b0dfUL /* constant vector a */
#define N   624 /* If you change the value of N, update the length of ON_RANDOM_NUMBER_CONTEXT m_t[] to match. */
#define UPPER_MASK   0x80000000UL /* most significant w-r bits */

Functions

ON__UINT32 on_rand (void)
*init_key is the array for
initializing keys **key_length
is its length **slight change
for **ON__UINT32 
on_random_number (struct ON_RANDOM_NUMBER_CONTEXT *randcontext)
void on_random_number_seed (ON__UINT32 s, ON_RANDOM_NUMBER_CONTEXT *randcontext)
void on_srand (ON__UINT32 s)
static void Swap1 (size_t count, unsigned char *a, unsigned char *b)
static void Swap4 (size_t count, ON__UINT32 *a, ON__UINT32 *b)
static void Swap8 (size_t count, ON__UINT64 *a, ON__UINT64 *b)

Variables

*init_key is the array for
initializing keys **key_length
is its length **slight change
for 
C
static struct
ON_RANDOM_NUMBER_CONTEXT 
static_randcontext = {N+1,{0}}

Define Documentation

#define LOWER_MASK   0x7fffffffUL /* least significant r bits */

Definition at line 73 of file opennurbs_rand.cpp.

#define M   397

Definition at line 70 of file opennurbs_rand.cpp.

#define MATRIX_A   0x9908b0dfUL /* constant vector a */

Definition at line 71 of file opennurbs_rand.cpp.

#define N   624 /* If you change the value of N, update the length of ON_RANDOM_NUMBER_CONTEXT m_t[] to match. */

Definition at line 69 of file opennurbs_rand.cpp.

#define UPPER_MASK   0x80000000UL /* most significant w-r bits */

Definition at line 72 of file opennurbs_rand.cpp.


Function Documentation

ON__UINT32 on_rand ( void  )

Definition at line 206 of file opennurbs_rand.cpp.

* init_key is the array for initializing keys* * key_length is its length* * slight change for * * ON__UINT32 on_random_number ( struct ON_RANDOM_NUMBER_CONTEXT randcontext)

Definition at line 147 of file opennurbs_rand.cpp.

Definition at line 82 of file opennurbs_rand.cpp.

void on_srand ( ON__UINT32  s)

Definition at line 196 of file opennurbs_rand.cpp.

static void Swap1 ( size_t  count,
unsigned char *  a,
unsigned char *  b 
) [static]

Definition at line 280 of file opennurbs_rand.cpp.

static void Swap4 ( size_t  count,
ON__UINT32 a,
ON__UINT32 b 
) [static]

Definition at line 293 of file opennurbs_rand.cpp.

static void Swap8 ( size_t  count,
ON__UINT64 a,
ON__UINT64 b 
) [static]

Definition at line 306 of file opennurbs_rand.cpp.


Variable Documentation

* init_key is the array for initializing keys* * key_length is its length* * slight change for C

Definition at line 120 of file opennurbs_rand.cpp.

struct ON_RANDOM_NUMBER_CONTEXT static_randcontext = {N+1,{0}} [static]

Definition at line 194 of file opennurbs_rand.cpp.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:46