HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
UT_RandomSequence.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
*/
7
8
#ifndef __UT_RandomSequence_H__
9
#define __UT_RandomSequence_H__
10
11
#include "
UT_API.h
"
12
13
class
UT_API
UT_RandomSequence
14
{
15
public
:
16
explicit
UT_RandomSequence
(
int
n
= 0,
int
c
= 0);
17
18
void
setCurrent
(
int
c
= 0) { current = (unsigned)(
c
+ 1); }
19
void
setSize(
int
n
);
20
21
unsigned
getCurrent
() {
return
(current - 1); }
22
unsigned
getSize
() {
return
(
size
); }
23
24
// This method returns the next integer in the sequence.
25
unsigned
getNext();
26
27
protected
:
28
private
:
29
30
unsigned
current;
31
unsigned
mask
;
32
unsigned
size
;
33
};
34
35
#endif
UT_API.h
UT_API
#define UT_API
Definition:
UT_API.h:14
n
GLdouble n
Definition:
glcorearb.h:2008
UT_RandomSequence::getSize
unsigned getSize()
Definition:
UT_RandomSequence.h:22
UT_RandomSequence
Definition:
UT_RandomSequence.h:13
UT_RandomSequence::setCurrent
void setCurrent(int c=0)
Definition:
UT_RandomSequence.h:18
mask
GLint GLuint mask
Definition:
glcorearb.h:124
size
GLsizeiptr size
Definition:
glcorearb.h:664
nanovdb::io::c
c
Definition:
IO.h:328
UT_RandomSequence::getCurrent
unsigned getCurrent()
Definition:
UT_RandomSequence.h:21
UT
UT_RandomSequence.h
Generated on Sun Nov 17 2024 03:03:48 for HDK by
1.8.6