src/java/grl/src/grl/flatbuffer/EulerPoseParams.java
Go to the documentation of this file.
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package grl.flatbuffer;
4 
5 import java.nio.*;
6 import java.lang.*;
7 import java.util.*;
8 import com.google.flatbuffers.*;
9 
10 @SuppressWarnings("unused")
11 public final class EulerPoseParams extends Table {
12  public static EulerPoseParams getRootAsEulerPoseParams(ByteBuffer _bb) { return getRootAsEulerPoseParams(_bb, new EulerPoseParams()); }
13  public static EulerPoseParams getRootAsEulerPoseParams(ByteBuffer _bb, EulerPoseParams obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__init(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
14  public EulerPoseParams __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; return this; }
15 
17  public grl.flatbuffer.Vector3d position(grl.flatbuffer.Vector3d obj) { int o = __offset(4); return o != 0 ? obj.__init(o + bb_pos, bb) : null; }
18  public EulerRotation rotation() { return rotation(new EulerRotation()); }
19  public EulerRotation rotation(EulerRotation obj) { int o = __offset(6); return o != 0 ? obj.__init(o + bb_pos, bb) : null; }
20 
21  public static void startEulerPoseParams(FlatBufferBuilder builder) { builder.startObject(2); }
22  public static void addPosition(FlatBufferBuilder builder, int positionOffset) { builder.addStruct(0, positionOffset, 0); }
23  public static void addRotation(FlatBufferBuilder builder, int rotationOffset) { builder.addStruct(1, rotationOffset, 0); }
24  public static int endEulerPoseParams(FlatBufferBuilder builder) {
25  int o = builder.endObject();
26  return o;
27  }
28 }
29 
grl.flatbuffer.Vector3d position(grl.flatbuffer.Vector3d obj)
static EulerPoseParams getRootAsEulerPoseParams(ByteBuffer _bb, EulerPoseParams obj)
static EulerPoseParams getRootAsEulerPoseParams(ByteBuffer _bb)
static void addRotation(FlatBufferBuilder builder, int rotationOffset)
static void addPosition(FlatBufferBuilder builder, int positionOffset)