22 lines
503 B
C++
22 lines
503 B
C++
//
|
|
// Created by flo on 09.11.20.
|
|
//
|
|
|
|
#include "NormalsImageSerializer.h"
|
|
#include "carla/sensor/s11n/NormalsImageSerializer.h"
|
|
|
|
#include "carla/sensor/data/Image.h"
|
|
|
|
namespace carla {
|
|
namespace sensor {
|
|
namespace s11n {
|
|
|
|
SharedPtr<SensorData> NormalsImageSerializer::Deserialize(RawData &&data) {
|
|
auto image = SharedPtr<data::NormalsImage>(new data::NormalsImage{std::move(data)});
|
|
return image;
|
|
}
|
|
|
|
} // namespace s11n
|
|
} // namespace sensor
|
|
} // namespace carla
|