TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
camera_parser.h
Go to the documentation of this file.
1#ifndef INCLUDE_TINYURDF_CAMERAPARSER_H_
2#define INCLUDE_TINYURDF_CAMERAPARSER_H_
3
4// Copyright 2025 Wissem CHIHA
5
6#include "color.h"
7#include "parser_base.h"
8#include "camera.h"
9
23class CameraParser : public ParserBase<Camera>{
24public:
26 void parse(const tinyxml2::XMLElement* xml) override;
27 std::shared_ptr<Camera> get() override;
28 const char* getTypename() override;
29 bool isA(const char* name) override;
30 bool empty() const override;
31 void clear() override;
32 void print(std::ostream& os) override;
33private:
34 std::shared_ptr<Camera> p_;
35};
36#endif // INCLUDE_TINYURDF_CAMERAPARSER_H
sensor configuration for a camera sensor. This is an example configuration for a camera sensor in the...
Definition camera_parser.h:23
void parse(const tinyxml2::XMLElement *xml) override
std::shared_ptr< Camera > get() override
void print(std::ostream &os) override
void clear() override
const char * getTypename() override
bool isA(const char *name) override
bool empty() const override
Definition parser_base.h:16