Main Page
Namespaces
Classes
Files
File List
File Members
wrappers
java
src
main
java
org
openkinect
freenect
DepthFormat.java
Go to the documentation of this file.
1
25
package
org.openkinect.freenect;
26
27
import
java.util.HashMap;
28
import
java.util.Map;
29
30
public
enum
DepthFormat
{
31
D11BIT
(0),
32
D10BIT
(1),
33
D11BIT_PACKED
(2),
34
D10BIT_PACKED
(3),
35
REGISTERED
(4),
36
MM
(5);
37
38
private
final
int
value
;
39
private
static
final
Map<Integer, DepthFormat> MAP =
new
HashMap<Integer, DepthFormat>(6);
40
static
{
41
for
(
DepthFormat
v :
DepthFormat
.values()) {
42
MAP.put(v.intValue(), v);
43
}
44
}
45
46
private
DepthFormat
(
int
value) {
47
this.value = value;
48
}
49
50
public
int
intValue
() {
51
return
value;
52
}
53
54
public
static
DepthFormat
fromInt
(
int
value) {
55
return
MAP.get(value);
56
}
57
}
org.openkinect.freenect.DepthFormat.value
final int value
Definition:
DepthFormat.java:38
org.openkinect.freenect.DepthFormat.D10BIT_PACKED
D10BIT_PACKED
Definition:
DepthFormat.java:34
org.openkinect.freenect.DepthFormat.REGISTERED
REGISTERED
Definition:
DepthFormat.java:35
org.openkinect.freenect.DepthFormat
Definition:
DepthFormat.java:30
org.openkinect.freenect.DepthFormat.D11BIT_PACKED
D11BIT_PACKED
Definition:
DepthFormat.java:33
org.openkinect.freenect.DepthFormat.D10BIT
D10BIT
Definition:
DepthFormat.java:32
org.openkinect.freenect.DepthFormat.DepthFormat
DepthFormat(int value)
Definition:
DepthFormat.java:46
org.openkinect.freenect.DepthFormat.fromInt
static DepthFormat fromInt(int value)
Definition:
DepthFormat.java:54
org.openkinect.freenect.DepthFormat.intValue
int intValue()
Definition:
DepthFormat.java:50
org.openkinect.freenect.DepthFormat.MM
MM
Definition:
DepthFormat.java:36
org.openkinect.freenect.DepthFormat.D11BIT
D11BIT
Definition:
DepthFormat.java:31
libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:42