4 #include <zerobuf/ConstVector.h>
5 #include <zerobuf/NonMovingAllocator.h>
6 #include <zerobuf/Schema.h>
7 #include <zerobuf/Vector.h>
8 #include <zerobuf/Zerobuf.h>
14 template<
class Alloc = zerobuf::NonMovingAllocator >
19 const float* getOrigin()
const;
20 std::vector< float > getOriginVector()
const;
21 void setOrigin(
float value[ 3 ] );
22 void setOrigin(
const std::vector< float >& value );
23 void setOrigin(
const std::string& value );
26 const float* getLookAt()
const;
27 std::vector< float > getLookAtVector()
const;
28 void setLookAt(
float value[ 3 ] );
29 void setLookAt(
const std::vector< float >& value );
30 void setLookAt(
const std::string& value );
33 const float* getUp()
const;
34 std::vector< float > getUpVector()
const;
35 void setUp(
float value[ 3 ] );
36 void setUp(
const std::vector< float >& value );
37 void setUp(
const std::string& value );
40 explicit CameraBase( const ::zerobuf::Zerobuf& from );
45 { ::zerobuf::Zerobuf::operator = ( rhs );
return *
this; }
47 static bool isEmptyZerobuf() {
return false; }
48 static bool isStaticZerobuf() {
return true; }
49 servus::uint128_t getZerobufType()
const override
50 {
return servus::uint128_t( 0xa43b250fbcd843ebull, 0x1af5d3dd0c957543ull ); }
52 static ::zerobuf::Schema schema();
A runtime and optimized representation of the schema file input, which describes the data layout of a...
Base class for all zerobufs.