@Namespace(value="libfreenect2") @NoOffset public static class freenect2.Freenect2 extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Freenect2() |
Freenect2(long size)
Native array allocator.
|
Freenect2(Pointer usb_context) |
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(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)
public int enumerateDevices()
@StdString public BytePointer getDeviceSerialNumber(int idx)
idx - Device index@StdString public 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 BytePointer serial)
serial - Serial numberpublic freenect2.Freenect2Device openDevice(@StdString String serial)
public freenect2.Freenect2Device openDevice(@StdString 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.