All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bytedeco.librealsense.rs_extrinsics Maven / Gradle / Ivy

There is a newer version: 1.12.4-1.5.9
Show newest version
// Targeted by JavaCPP version 1.5: DO NOT EDIT THIS FILE

package org.bytedeco.librealsense;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.librealsense.global.RealSense.*;


/* Cross-stream extrinsics, encode the topology of how the different devices are connected */
@Properties(inherit = org.bytedeco.librealsense.presets.RealSense.class)
public class rs_extrinsics extends Pointer {
    static { Loader.load(); }
    /** Default native constructor. */
    public rs_extrinsics() { super((Pointer)null); allocate(); }
    /** Native array allocator. Access with {@link Pointer#position(long)}. */
    public rs_extrinsics(long size) { super((Pointer)null); allocateArray(size); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public rs_extrinsics(Pointer p) { super(p); }
    private native void allocate();
    private native void allocateArray(long size);
    @Override public rs_extrinsics position(long position) {
        return (rs_extrinsics)super.position(position);
    }

    /** column-major 3x3 rotation matrix */
    public native float rotation(int i); public native rs_extrinsics rotation(int i, float setter);
    @MemberGetter public native FloatPointer rotation();
    /** 3 element translation vector, in meters */
    public native float translation(int i); public native rs_extrinsics translation(int i, float setter);
    @MemberGetter public native FloatPointer translation();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy