TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
renderer_base.h
Go to the documentation of this file.
1#ifndef TINYURDF_RENDRER_H_
2#define TINYURDF_RENDRER_H_
3
4// Copyright 2025 Wissem CHIHA
5
6#include "object_base.h"
7
14template<class T>
15class RendererBase : public ObjectBase{
16public:
17 virtual void show() = 0;
18 virtual void setLabelsVisibility(bool isVisible){};
19 virtual void update() = 0;
20 virtual void setWindowSize(const int32_t width, const int32_t height) = 0;
21 virtual void setBackrgournd(double r, double g, double b, double a) = 0;
22protected:
25};
26#endif // TINYURDF_RENDRER_H_
Definition object_base.h:11
this is a base class for all renderers all renderers impentation should inherit from this class at th...
Definition renderer_base.h:15
~RendererBase()
Definition renderer_base.h:24
virtual void update()=0
virtual void show()=0
virtual void setWindowSize(const int32_t width, const int32_t height)=0
RendererBase()
Definition renderer_base.h:23
virtual void setLabelsVisibility(bool isVisible)
Definition renderer_base.h:18
virtual void setBackrgournd(double r, double g, double b, double a)=0