3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class VrepControlPoint extends Table {
20 public double relativeVelocity() {
int o = __offset(8);
return o != 0 ? bb.getDouble(o + bb_pos) : 1.0; }
21 public int bezierPointCount() {
int o = __offset(10);
return o != 0 ? bb.getInt(o + bb_pos) : 1; }
22 public double interpolationFactor1() {
int o = __offset(12);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.5; }
23 public double interpolationFactor2() {
int o = __offset(14);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.5; }
24 public double virtualDistance() {
int o = __offset(16);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.0; }
25 public int auxiliaryFlags() {
int o = __offset(18);
return o != 0 ? bb.getInt(o + bb_pos) : 0; }
26 public double auxiliaryChannel1() {
int o = __offset(20);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.0; }
27 public double auxiliaryChannel2() {
int o = __offset(22);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.0; }
28 public double auxiliaryChannel3() {
int o = __offset(24);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.0; }
29 public double auxiliaryChannel4() {
int o = __offset(26);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.0; }
32 public static void addPosition(FlatBufferBuilder builder,
int positionOffset) { builder.addStruct(0, positionOffset, 0); }
33 public static void addRotation(FlatBufferBuilder builder,
int rotationOffset) { builder.addStruct(1, rotationOffset, 0); }
34 public static void addRelativeVelocity(FlatBufferBuilder builder,
double relativeVelocity) { builder.addDouble(2, relativeVelocity, 1.0); }
35 public static void addBezierPointCount(FlatBufferBuilder builder,
int bezierPointCount) { builder.addInt(3, bezierPointCount, 1); }
36 public static void addInterpolationFactor1(FlatBufferBuilder builder,
double interpolationFactor1) { builder.addDouble(4, interpolationFactor1, 0.5); }
37 public static void addInterpolationFactor2(FlatBufferBuilder builder,
double interpolationFactor2) { builder.addDouble(5, interpolationFactor2, 0.5); }
38 public static void addVirtualDistance(FlatBufferBuilder builder,
double virtualDistance) { builder.addDouble(6, virtualDistance, 0.0); }
39 public static void addAuxiliaryFlags(FlatBufferBuilder builder,
int auxiliaryFlags) { builder.addInt(7, auxiliaryFlags, 0); }
40 public static void addAuxiliaryChannel1(FlatBufferBuilder builder,
double auxiliaryChannel1) { builder.addDouble(8, auxiliaryChannel1, 0.0); }
41 public static void addAuxiliaryChannel2(FlatBufferBuilder builder,
double auxiliaryChannel2) { builder.addDouble(9, auxiliaryChannel2, 0.0); }
42 public static void addAuxiliaryChannel3(FlatBufferBuilder builder,
double auxiliaryChannel3) { builder.addDouble(10, auxiliaryChannel3, 0.0); }
43 public static void addAuxiliaryChannel4(FlatBufferBuilder builder,
double auxiliaryChannel4) { builder.addDouble(11, auxiliaryChannel4, 0.0); }
45 int o = builder.endObject();
static void addAuxiliaryFlags(FlatBufferBuilder builder, int auxiliaryFlags)
static int endVrepControlPoint(FlatBufferBuilder builder)
static VrepControlPoint getRootAsVrepControlPoint(ByteBuffer _bb, VrepControlPoint obj)
static void addPosition(FlatBufferBuilder builder, int positionOffset)
grl.flatbuffer.Vector3d position(grl.flatbuffer.Vector3d obj)
grl.flatbuffer.Vector3d position()
double auxiliaryChannel4()
static void startVrepControlPoint(FlatBufferBuilder builder)
static void addRelativeVelocity(FlatBufferBuilder builder, double relativeVelocity)
static void addVirtualDistance(FlatBufferBuilder builder, double virtualDistance)
static void addRotation(FlatBufferBuilder builder, int rotationOffset)
static void addInterpolationFactor2(FlatBufferBuilder builder, double interpolationFactor2)
static void addAuxiliaryChannel4(FlatBufferBuilder builder, double auxiliaryChannel4)
double auxiliaryChannel2()
double auxiliaryChannel1()
double auxiliaryChannel3()
static void addAuxiliaryChannel1(FlatBufferBuilder builder, double auxiliaryChannel1)
static void addAuxiliaryChannel2(FlatBufferBuilder builder, double auxiliaryChannel2)
grl.flatbuffer.EulerXYZd rotation()
static void finishVrepControlPointBuffer(FlatBufferBuilder builder, int offset)
VrepControlPoint __init(int _i, ByteBuffer _bb)
double interpolationFactor1()
static VrepControlPoint getRootAsVrepControlPoint(ByteBuffer _bb)
double relativeVelocity()
grl.flatbuffer.EulerXYZd rotation(grl.flatbuffer.EulerXYZd obj)
double interpolationFactor2()
static void addBezierPointCount(FlatBufferBuilder builder, int bezierPointCount)
static void addInterpolationFactor1(FlatBufferBuilder builder, double interpolationFactor1)
static void addAuxiliaryChannel3(FlatBufferBuilder builder, double auxiliaryChannel3)