Public Member Functions | Protected Member Functions | Private Attributes | List of all members
org.openkinect.freenect.Freenect.NativeDevice Class Reference
Inheritance diagram for org.openkinect.freenect.Freenect.NativeDevice:
Inheritance graph
[legend]

Public Member Functions

void close ()
 
double[] getAccel ()
 
FrameMode getDepthMode ()
 
int getDeviceIndex ()
 
double getTiltAngle ()
 
TiltStatus getTiltStatus ()
 
FrameMode getVideoMode ()
 
 NativeDevice ()
 
void refreshTiltState ()
 
void setDepthFormat (DepthFormat fmt)
 
void setDepthFormat (DepthFormat fmt, Resolution res)
 
int setLed (LedStatus status)
 
int setTiltAngle (double angle)
 
void setVideoFormat (VideoFormat fmt)
 
void setVideoFormat (VideoFormat fmt, Resolution res)
 
int startDepth (DepthHandler handler)
 
int startVideo (VideoHandler handler)
 
int stopDepth ()
 
int stopVideo ()
 

Protected Member Functions

 NativeDevice (Pointer ptr, int index)
 
void setDeviceIndex (int index)
 

Private Attributes

double[] accel
 
final DoubleBuffer accelX = DoubleBuffer.allocate(1)
 
final DoubleBuffer accelY = DoubleBuffer.allocate(1)
 
final DoubleBuffer accelZ = DoubleBuffer.allocate(1)
 
ByteBuffer depthBuffer
 
final NativeDepthCallback depthCallback
 
DepthHandler depthHandler
 
FrameMode depthMode
 
int index
 
TiltState rawTiltState
 
double tiltAngle
 
TiltStatus tiltStatus
 
ByteBuffer videoBuffer
 
final NativeVideoCallback videoCallback
 
VideoHandler videoHandler
 
FrameMode videoMode
 

Detailed Description

Definition at line 134 of file Freenect.java.

Constructor & Destructor Documentation

org.openkinect.freenect.Freenect.NativeDevice.NativeDevice ( )
inline

Definition at line 168 of file Freenect.java.

org.openkinect.freenect.Freenect.NativeDevice.NativeDevice ( Pointer  ptr,
int  index 
)
inlineprotected

Definition at line 171 of file Freenect.java.

Member Function Documentation

void org.openkinect.freenect.Freenect.NativeDevice.close ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 190 of file Freenect.java.

double [] org.openkinect.freenect.Freenect.NativeDevice.getAccel ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 271 of file Freenect.java.

FrameMode org.openkinect.freenect.Freenect.NativeDevice.getDepthMode ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 229 of file Freenect.java.

int org.openkinect.freenect.Freenect.NativeDevice.getDeviceIndex ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 186 of file Freenect.java.

double org.openkinect.freenect.Freenect.NativeDevice.getTiltAngle ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 256 of file Freenect.java.

TiltStatus org.openkinect.freenect.Freenect.NativeDevice.getTiltStatus ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 266 of file Freenect.java.

FrameMode org.openkinect.freenect.Freenect.NativeDevice.getVideoMode ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 234 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeDevice.refreshTiltState ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 244 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeDevice.setDepthFormat ( DepthFormat  fmt)
inline

Implements org.openkinect.freenect.Device.

Definition at line 195 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeDevice.setDepthFormat ( DepthFormat  fmt,
Resolution  res 
)
inline

Implements org.openkinect.freenect.Device.

Definition at line 205 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeDevice.setDeviceIndex ( int  index)
inlineprotected

Definition at line 181 of file Freenect.java.

int org.openkinect.freenect.Freenect.NativeDevice.setLed ( LedStatus  status)
inline

Implements org.openkinect.freenect.Device.

Definition at line 239 of file Freenect.java.

int org.openkinect.freenect.Freenect.NativeDevice.setTiltAngle ( double  angle)
inline

Implements org.openkinect.freenect.Device.

Definition at line 261 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeDevice.setVideoFormat ( VideoFormat  fmt)
inline

Implements org.openkinect.freenect.Device.

Definition at line 200 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeDevice.setVideoFormat ( VideoFormat  fmt,
Resolution  res 
)
inline

Implements org.openkinect.freenect.Device.

Definition at line 217 of file Freenect.java.

int org.openkinect.freenect.Freenect.NativeDevice.startDepth ( DepthHandler  handler)
inline

Implements org.openkinect.freenect.Device.

Definition at line 291 of file Freenect.java.

int org.openkinect.freenect.Freenect.NativeDevice.startVideo ( VideoHandler  handler)
inline

Implements org.openkinect.freenect.Device.

Definition at line 276 of file Freenect.java.

int org.openkinect.freenect.Freenect.NativeDevice.stopDepth ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 298 of file Freenect.java.

int org.openkinect.freenect.Freenect.NativeDevice.stopVideo ( )
inline

Implements org.openkinect.freenect.Device.

Definition at line 283 of file Freenect.java.

Member Data Documentation

double [] org.openkinect.freenect.Freenect.NativeDevice.accel
private

Definition at line 152 of file Freenect.java.

final DoubleBuffer org.openkinect.freenect.Freenect.NativeDevice.accelX = DoubleBuffer.allocate(1)
private

Definition at line 143 of file Freenect.java.

final DoubleBuffer org.openkinect.freenect.Freenect.NativeDevice.accelY = DoubleBuffer.allocate(1)
private

Definition at line 144 of file Freenect.java.

final DoubleBuffer org.openkinect.freenect.Freenect.NativeDevice.accelZ = DoubleBuffer.allocate(1)
private

Definition at line 145 of file Freenect.java.

ByteBuffer org.openkinect.freenect.Freenect.NativeDevice.depthBuffer
private

Definition at line 140 of file Freenect.java.

final NativeDepthCallback org.openkinect.freenect.Freenect.NativeDevice.depthCallback
private
Initial value:
= new NativeDepthCallback() {
@Override
public void callback (Pointer dev, Pointer depth, int timestamp) {
}
}

Definition at line 161 of file Freenect.java.

DepthHandler org.openkinect.freenect.Freenect.NativeDevice.depthHandler
private

Definition at line 141 of file Freenect.java.

FrameMode org.openkinect.freenect.Freenect.NativeDevice.depthMode
private

Definition at line 139 of file Freenect.java.

int org.openkinect.freenect.Freenect.NativeDevice.index
private

Definition at line 147 of file Freenect.java.

TiltState org.openkinect.freenect.Freenect.NativeDevice.rawTiltState
private

Definition at line 149 of file Freenect.java.

double org.openkinect.freenect.Freenect.NativeDevice.tiltAngle
private

Definition at line 151 of file Freenect.java.

TiltStatus org.openkinect.freenect.Freenect.NativeDevice.tiltStatus
private

Definition at line 150 of file Freenect.java.

ByteBuffer org.openkinect.freenect.Freenect.NativeDevice.videoBuffer
private

Definition at line 136 of file Freenect.java.

final NativeVideoCallback org.openkinect.freenect.Freenect.NativeDevice.videoCallback
private
Initial value:
= new NativeVideoCallback() {
@Override
public void callback (Pointer dev, Pointer depth, int timestamp) {
}
}

Definition at line 154 of file Freenect.java.

VideoHandler org.openkinect.freenect.Freenect.NativeDevice.videoHandler
private

Definition at line 137 of file Freenect.java.

FrameMode org.openkinect.freenect.Freenect.NativeDevice.videoMode
private

Definition at line 135 of file Freenect.java.


The documentation for this class was generated from the following file:


libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:43