3 #ifndef FLATBUFFERS_GENERATED_VREPCONTROLPOINT_GRL_FLATBUFFER_H_ 4 #define FLATBUFFERS_GENERATED_VREPCONTROLPOINT_GRL_FLATBUFFER_H_ 6 #include "flatbuffers/flatbuffers.h" 12 namespace flatbuffer {
21 namespace flatbuffer {
25 struct EulerTranslationParams;
26 struct EulerRotationParams;
27 struct EulerPoseParams;
32 namespace flatbuffer {
34 struct VrepControlPoint;
36 struct VrepControlPoint FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
49 bool Verify(flatbuffers::Verifier &verifier)
const {
50 return VerifyTableStart(verifier) &&
51 VerifyField<grl::flatbuffer::Vector3d>(verifier, 4 ) &&
52 VerifyField<grl::flatbuffer::EulerXYZd>(verifier, 6 ) &&
53 VerifyField<double>(verifier, 8 ) &&
54 VerifyField<int32_t>(verifier, 10 ) &&
55 VerifyField<double>(verifier, 12 ) &&
56 VerifyField<double>(verifier, 14 ) &&
57 VerifyField<double>(verifier, 16 ) &&
58 VerifyField<int32_t>(verifier, 18 ) &&
59 VerifyField<double>(verifier, 20 ) &&
60 VerifyField<double>(verifier, 22 ) &&
61 VerifyField<double>(verifier, 24 ) &&
62 VerifyField<double>(verifier, 26 ) &&
68 flatbuffers::FlatBufferBuilder &
fbb_;
76 void add_virtualDistance(
double virtualDistance) { fbb_.AddElement<
double>(16, virtualDistance, 0.0); }
77 void add_auxiliaryFlags(int32_t auxiliaryFlags) { fbb_.AddElement<int32_t>(18, auxiliaryFlags, 0); }
84 flatbuffers::Offset<VrepControlPoint>
Finish() {
85 auto o = flatbuffers::Offset<VrepControlPoint>(fbb_.EndTable(start_, 12));
93 double relativeVelocity = 1.0,
94 int32_t bezierPointCount = 1,
95 double interpolationFactor1 = 0.5,
96 double interpolationFactor2 = 0.5,
97 double virtualDistance = 0.0,
98 int32_t auxiliaryFlags = 0,
99 double auxiliaryChannel1 = 0.0,
100 double auxiliaryChannel2 = 0.0,
101 double auxiliaryChannel3 = 0.0,
102 double auxiliaryChannel4 = 0.0) {
123 inline void FinishVrepControlPointBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset<grl::flatbuffer::VrepControlPoint> root) { fbb.Finish(root); }
128 #endif // FLATBUFFERS_GENERATED_VREPCONTROLPOINT_GRL_FLATBUFFER_H_ void add_auxiliaryChannel3(double auxiliaryChannel3)
int32_t bezierPointCount() const
VrepControlPointBuilder(flatbuffers::FlatBufferBuilder &_fbb)
void add_bezierPointCount(int32_t bezierPointCount)
double auxiliaryChannel2() const
void FinishVrepControlPointBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< grl::flatbuffer::VrepControlPoint > root)
double relativeVelocity() const
double virtualDistance() const
void add_rotation(const grl::flatbuffer::EulerXYZd *rotation)
double interpolationFactor1() const
double auxiliaryChannel3() const
double interpolationFactor2() const
void add_virtualDistance(double virtualDistance)
flatbuffers::Offset< VrepControlPoint > Finish()
double auxiliaryChannel4() const
void add_auxiliaryChannel2(double auxiliaryChannel2)
flatbuffers::uoffset_t start_
bool Verify(flatbuffers::Verifier &verifier) const
void add_interpolationFactor1(double interpolationFactor1)
void add_relativeVelocity(double relativeVelocity)
void add_position(const grl::flatbuffer::Vector3d *position)
const grl::flatbuffer::VrepControlPoint * GetVrepControlPoint(const void *buf)
bool VerifyVrepControlPointBuffer(flatbuffers::Verifier &verifier)
flatbuffers::FlatBufferBuilder & fbb_
const grl::flatbuffer::Vector3d * position() const
double auxiliaryChannel1() const
const grl::flatbuffer::EulerXYZd * rotation() const
void add_auxiliaryChannel4(double auxiliaryChannel4)
void add_auxiliaryChannel1(double auxiliaryChannel1)
void add_interpolationFactor2(double interpolationFactor2)
void add_auxiliaryFlags(int32_t auxiliaryFlags)
int32_t auxiliaryFlags() const
flatbuffers::Offset< VrepControlPoint > CreateVrepControlPoint(flatbuffers::FlatBufferBuilder &_fbb, const grl::flatbuffer::Vector3d *position=0, const grl::flatbuffer::EulerXYZd *rotation=0, double relativeVelocity=1.0, int32_t bezierPointCount=1, double interpolationFactor1=0.5, double interpolationFactor2=0.5, double virtualDistance=0.0, int32_t auxiliaryFlags=0, double auxiliaryChannel1=0.0, double auxiliaryChannel2=0.0, double auxiliaryChannel3=0.0, double auxiliaryChannel4=0.0)