@Namespace(value="libfreenect2")
@NoOffset
public static class freenect2.Freenect2
extends org.bytedeco.javacpp.Pointer
| Constructor and Description |
|---|
Freenect2() |
Freenect2(long size)
Native array allocator.
|
Freenect2(org.bytedeco.javacpp.Pointer usb_context) |
| Modifier and Type | Method and Description |
|---|---|
int |
enumerateDevices()
Must be called before doing anything else.
|
org.bytedeco.javacpp.BytePointer |
getDefaultDeviceSerialNumber() |
org.bytedeco.javacpp.BytePointer |
getDeviceSerialNumber(int idx) |
freenect2.Freenect2Device |
openDefaultDevice()
Open the first device with default pipeline.
|
freenect2.Freenect2Device |
openDefaultDevice(freenect2.PacketPipeline factory)
Open the first device.
|
freenect2.Freenect2Device |
openDevice(org.bytedeco.javacpp.BytePointer serial)
Open device by serial number with default pipeline.
|
freenect2.Freenect2Device |
openDevice(org.bytedeco.javacpp.BytePointer serial,
freenect2.PacketPipeline factory)
Open device by serial number.
|
freenect2.Freenect2Device |
openDevice(int idx)
Open device by index with default pipeline.
|
freenect2.Freenect2Device |
openDevice(int idx,
freenect2.PacketPipeline factory)
Open device by index.
|
freenect2.Freenect2Device |
openDevice(String serial) |
freenect2.Freenect2Device |
openDevice(String serial,
freenect2.PacketPipeline factory) |
freenect2.Freenect2 |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Freenect2(long size)
Pointer.position(long).public Freenect2(org.bytedeco.javacpp.Pointer usb_context)
usb_context - If the libusb context is provided,
Freenect2 will use it instead of creating one.public Freenect2()
public freenect2.Freenect2 position(long position)
position in class org.bytedeco.javacpp.Pointerpublic int enumerateDevices()
@StdString public org.bytedeco.javacpp.BytePointer getDeviceSerialNumber(int idx)
idx - Device index@StdString public org.bytedeco.javacpp.BytePointer getDefaultDeviceSerialNumber()
public freenect2.Freenect2Device openDevice(int idx)
idx - Index number. Index numbers are not determinstic during enumeration.public freenect2.Freenect2Device openDevice(int idx, @Const freenect2.PacketPipeline factory)
idx - Index number. Index numbers are not determinstic during enumeration.factory - New PacketPipeline instance. This is always automatically freed.public freenect2.Freenect2Device openDevice(@StdString org.bytedeco.javacpp.BytePointer serial)
serial - Serial numberpublic freenect2.Freenect2Device openDevice(@StdString String serial)
public freenect2.Freenect2Device openDevice(@StdString org.bytedeco.javacpp.BytePointer serial, @Const freenect2.PacketPipeline factory)
serial - Serial numberfactory - New PacketPipeline instance. This is always automatically freed.public freenect2.Freenect2Device openDevice(@StdString String serial, @Const freenect2.PacketPipeline factory)
public freenect2.Freenect2Device openDefaultDevice()
public freenect2.Freenect2Device openDefaultDevice(@Const freenect2.PacketPipeline factory)
factory - New PacketPipeline instance. This is always automatically freed.Copyright © 2018. All rights reserved.