Subversion Repositories gelsvn

Rev

Rev 89 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 595
Line -... Line 1...
-
 
1
/* ----------------------------------------------------------------------- *
-
 
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
-
 
3
 * Copyright (C) the authors and DTU Informatics
-
 
4
 * For license and list of authors, see ../../doc/intro.pdf
-
 
5
 * ----------------------------------------------------------------------- */
-
 
6
 
-
 
7
/** @file BitMask.h
-
 
8
 * @brief BitMask class for selecting bit subsets ... possibly a bit dusty
-
 
9
 */
-
 
10
 
1
#ifndef __CGLA__BITMASK_H__
11
#ifndef __CGLA__BITMASK_H__
2
#define __CGLA__BITMASK_H__
12
#define __CGLA__BITMASK_H__
3
 
13
 
4
#include "Vec3i.h"
14
#include "Vec3i.h"
5
 
15
 
Line 37... Line 47...
37
			0x07ffffff,
47
			0x07ffffff,
38
			0x0fffffff,
48
			0x0fffffff,
39
			0x1fffffff,
49
			0x1fffffff,
40
			0x3fffffff,
50
			0x3fffffff,
41
			0x7fffffff,
51
			0x7fffffff,
42
			0xffffffff
52
			static_cast<int>(0xffffffff)
43
		};
53
		};
44
 
54
 
45
	/** \brief The BitMask class is mostly a utility class.
55
	/** \brief The BitMask class is mostly a utility class.
46
 
56
 
47
			The main purpose is to be able to extract a set of bits from
57
			The main purpose is to be able to extract a set of bits from