17 const double principalPointX,
18 const double principalPointY,
19 const double focalLengthX,
20 const double focalLengthY,
23 const bool isOptional) :
25 physFocalLength(physFocalLength),
26 principalPointX(principalPointX),
27 principalPointY(principalPointY),
28 focalLengthX(focalLengthX),
29 focalLengthY(focalLengthY),
30 distortionModel(distortionModel),
31 rectificationMatrix3X3(rectificationMatrix3X3),
32 isOptional(isOptional)
39 if (!read_physFocalLength(reader)) {
42 if (!read_principalPointX(reader)) {
45 if (!read_principalPointY(reader)) {
48 if (!read_focalLengthX(reader)) {
51 if (!read_focalLengthY(reader)) {
54 if (!nested_read_distortionModel(reader)) {
57 if (!nested_read_rectificationMatrix3X3(reader)) {
60 if (!read_isOptional(reader)) {
85 if (!write_physFocalLength(writer)) {
88 if (!write_principalPointX(writer)) {
91 if (!write_principalPointY(writer)) {
94 if (!write_focalLengthX(writer)) {
97 if (!write_focalLengthY(writer)) {
100 if (!nested_write_distortionModel(writer)) {
103 if (!nested_write_rectificationMatrix3X3(writer)) {
106 if (!write_isOptional(writer)) {
122 if (!
write(writer)) {
A simple collection of objects that can be described and transmitted in a portable way.
std::string toString() const override
Gives a human-readable textual representation of the bottle.
An interface for reading from a network connection.
An interface for writing to a network connection.
static bool copyPortable(const PortWriter &writer, PortReader &reader)
Copy one portable to another, via writing and reading.
IDL-friendly connection reader.
bool readNested(WirePortable &obj)
bool read(WirePortable &obj)
bool readFloat64(yarp::conf::float64_t &x)
IDL-friendly connection writer.
bool writeBool(bool x, bool skip_tag=false) const
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeFloat64(yarp::conf::float64_t x, bool skip_tag=false) const
bool writeNested(const WirePortable &obj) const
std::string toString() const
IntrinsicParamsData()=default
yarp::sig::DistortionModelData distortionModel
bool read(yarp::os::idl::WireReader &reader) override
bool write(const yarp::os::idl::WireWriter &writer) const override
yarp::sig::Vector rectificationMatrix3X3