ZeroBuf  0.2.0
Zero-copy, zero-serialize, zero-hassle protocol buffers
zerobuf::render::Camera Class Reference
+ Inheritance diagram for zerobuf::render::Camera:
+ Collaboration diagram for zerobuf::render::Camera:

Public Member Functions

const Vector3fgetOrigin () const
 
Vector3fgetOrigin ()
 
void setOrigin (const Vector3f &value)
 
const Vector3fgetLookAt () const
 
Vector3fgetLookAt ()
 
void setLookAt (const Vector3f &value)
 
const Vector3fgetUp () const
 
Vector3fgetUp ()
 
void setUp (const Vector3f &value)
 
 Camera (const Vector3f &originValue, const Vector3f &lookAtValue, const Vector3f &upValue)
 
 Camera (const Camera &rhs)
 
 Camera (Camera &&rhs) throw ()
 
 Camera (const ::zerobuf::Zerobuf &rhs)
 
 Camera (::zerobuf::AllocatorPtr allocator)
 
Cameraoperator= (const Camera &rhs)
 
Cameraoperator= (Camera &&rhs)
 
std::string getTypeName () const final
 
::zerobuf::uint128_t getTypeIdentifier () const final
 
size_t getZerobufStaticSize () const final
 
size_t getZerobufNumDynamics () const final
 
void _parseJSON (const Json::Value &json) final
 
void _createJSON (Json::Value &json) const final
 
- Public Member Functions inherited from zerobuf::Zerobuf
virtual void notifyChanging ()
 Called if any data in this object is about to change. More...
 
virtual void compact (float threshold=0.1f)
 Remove unused holes from the zerobuf. More...
 
Zerobufoperator= (const Zerobuf &rhs)
 Assignment operator. More...
 
 Zerobuf (Zerobuf &&rhs)
 Move ctor. More...
 
Zerobufoperator= (Zerobuf &&rhs)
 Move operator. More...
 
bool operator== (const Zerobuf &rhs) const
 
bool operator!= (const Zerobuf &rhs) const
 
void reset (AllocatorPtr allocator)
 
void check () const
 

Static Public Member Functions

static size_t ZEROBUF_STATIC_SIZE ()
 
static size_t ZEROBUF_NUM_DYNAMICS ()
 

Additional Inherited Members

- Protected Member Functions inherited from zerobuf::Zerobuf
 Zerobuf (AllocatorPtr alloc)
 
const AllocatorgetAllocator () const
 
AllocatorgetAllocator ()
 
void _copyZerobufArray (const void *data, size_t size, size_t arrayNum)
 

Detailed Description

Definition at line 51 of file camera.h.

Member Function Documentation

size_t zerobuf::render::Camera::getZerobufNumDynamics ( ) const
inlinefinalvirtual
Returns
the number of dynamics fields of this object.

Implements zerobuf::Zerobuf.

Definition at line 83 of file camera.h.

size_t zerobuf::render::Camera::getZerobufStaticSize ( ) const
inlinefinalvirtual
Returns
the static size of this object in bytes.

Implements zerobuf::Zerobuf.

Definition at line 81 of file camera.h.


The documentation for this class was generated from the following file: