Class CameraSubject
Defined in File model.h
Inheritance Relationships
Base Type
public O3DS::Subject(Class Subject)
Class Documentation
-
class CameraSubject : public O3DS::Subject
Moving Camera, e.g. VCam.
Representation of a 3d camera including some lens and filmback information Likely only has one transform but more than one are supported
Public Functions
-
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CameraSubject(void *ref = nullptr)
-
CameraSubject(const std::string &name, const std::string &uuid, void *ref = nullptr)
-
flatbuffers::Offset<O3DS::Data::Camera> serialize(flatbuffers::FlatBufferBuilder &builder)
Convert to flatbuffers using the given builder.
-
void parse(const O3DS::Data::Camera *data, CameraBuilder *camera = nullptr)
Parse the given flatbuffer data to populate this camera, no null checking.
-
void parseUpdate(const O3DS::Data::CameraUpdate*)
Parse the given flatbuffer data to populate this camera, no null checking.
-
flatbuffers::Offset<O3DS::Data::CameraUpdate> serializeUpdate(flatbuffers::FlatBufferBuilder &builder, size_t &count, double deltaThreshold)
Flatbuffers serialization of updates only.
-
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CameraSubject(void *ref = nullptr)