ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
dummyfigure.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2017-2020 German Aerospace Center (DLR).
3  * Eclipse ADORe, Automated Driving Open Research https://eclipse.org/adore
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License 2.0 which is available at
7  * http://www.eclipse.org/legal/epl-2.0.
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  * Daniel Heß - initial API and implementation
13  ********************************************************************************/
14 
15 #pragma once
16 #include <string>
17 #include "afigurestub.h"
18 
19 
20 namespace DLR_TS
21 {
22  namespace PlotLab
23  {
24  //a dummy figure, which deactivates plotting output
25  class DummyFigure:public AFigureStub
26  {
27  public:
28  virtual ~DummyFigure(){}
29  void circlestrip(std::string hashtag, double* X,double* Y,double* R,int size,std::string options) override {}
30  virtual void tristrip(std::string hashtag, double* X,double* Y,double* Z,int size,std::string options)override {}
31  virtual void tristrip(std::string hashtag, double* X,double* Y,int size,std::string options)override {}
32  virtual void tristrip(std::string hashtag, double* X,double* Y,double z,int size,std::string options)override {}
33  virtual void patch(std::string hashtag, double* X,double* Y,double* Z,int size,std::string options)override {}
34  virtual void patch(std::string hashtag, double* X,double* Y,int size,std::string options)override {}
35  virtual void patch(std::string hashtag, double* X,double* Y,double z,int size,std::string options)override{}
36  virtual void plot(std::string hashtag, double* X,double* Y,double* Z,int size,std::string options)override {}
37  virtual void plot(std::string hashtag, double* X,double* Y,double z,int size,std::string options)override {}
38  virtual void plot(std::string hashtag, double* X,double* Y,int size,std::string options)override {}
39  virtual void append(std::string hashtag, double* X,double* Y,int size,std::string options)override {}
40  virtual void append(std::string hashtag, double* X,double* Y,double* Z,int size,std::string options)override {}
41  virtual void plotText(std::string hashtag,double x,double y,std::string text) override {}
42  virtual void plotVehicle(std::string hashtag,double X,double Y,double Z,double PSI,double delta,double a,double b,double width,double forward,double backward,std::string options)override {}
43  virtual void plotVehicle(std::string hashtag,double X,double Y)override {}
44  virtual void clear()override {}
45  virtual void show()override {}
46  virtual void hide()override {}
47  virtual void showAxis()override {}
48  virtual void hideAxis()override {}
49  virtual void showGrid()override {}
50  virtual void hideGrid()override {}
51  virtual void setFixAxis(double x0,double y0,double z0,double x1,double y1,double z1)override{}
52  virtual void setFixAxisOff()override{}
53  virtual void erase(std::string hashtag)override {}
54  virtual void erase_similar(std::string hashtag)override {}
55  virtual void setXLabel(std::string value)override {}
56  virtual void setYLabel(std::string value)override {}
57  virtual void setZLabel(std::string value)override {}
58  virtual void setName(std::string value)override {}
59  virtual void setTitle(std::string value)override {}
60  virtual void plotTexture(std::string hashtag, std::string url, double x,double y,double z,double psi,double w,double l){}
61  virtual void setViewPortOffsets(double targetX, double targetY, double orientDeg, double zoom) override {}
62  virtual void setViewPortOffsets(double targetX, double targetY, double orientDeg) override {}
63  virtual void setViewPortOffsets(double targetX, double targetY) override {}
64  virtual void setViewPortOffsets(bool disable) override {}
65  };
66  }
67 }
Definition: afigurestub.h:24
Definition: dummyfigure.h:26
virtual void patch(std::string hashtag, double *X, double *Y, double *Z, int size, std::string options) override
Definition: dummyfigure.h:33
virtual void clear() override
Definition: dummyfigure.h:44
virtual void plot(std::string hashtag, double *X, double *Y, int size, std::string options) override
Definition: dummyfigure.h:38
virtual void hide() override
Definition: dummyfigure.h:46
virtual void append(std::string hashtag, double *X, double *Y, double *Z, int size, std::string options) override
Definition: dummyfigure.h:40
virtual void setZLabel(std::string value) override
Definition: dummyfigure.h:57
virtual void setTitle(std::string value) override
Definition: dummyfigure.h:59
virtual void erase_similar(std::string hashtag) override
Definition: dummyfigure.h:54
virtual void tristrip(std::string hashtag, double *X, double *Y, double *Z, int size, std::string options) override
Definition: dummyfigure.h:30
virtual void setXLabel(std::string value) override
Definition: dummyfigure.h:55
virtual void hideGrid() override
Definition: dummyfigure.h:50
void circlestrip(std::string hashtag, double *X, double *Y, double *R, int size, std::string options) override
Definition: dummyfigure.h:29
virtual void tristrip(std::string hashtag, double *X, double *Y, double z, int size, std::string options) override
Definition: dummyfigure.h:32
virtual void setViewPortOffsets(double targetX, double targetY, double orientDeg, double zoom) override
Definition: dummyfigure.h:61
virtual void erase(std::string hashtag) override
Definition: dummyfigure.h:53
virtual void setName(std::string value) override
Definition: dummyfigure.h:58
virtual void setViewPortOffsets(double targetX, double targetY) override
Definition: dummyfigure.h:63
virtual void plot(std::string hashtag, double *X, double *Y, double *Z, int size, std::string options) override
Definition: dummyfigure.h:36
virtual void showGrid() override
Definition: dummyfigure.h:49
virtual void plotText(std::string hashtag, double x, double y, std::string text) override
Definition: dummyfigure.h:41
virtual void plotVehicle(std::string hashtag, double X, double Y, double Z, double PSI, double delta, double a, double b, double width, double forward, double backward, std::string options) override
Definition: dummyfigure.h:42
virtual void setYLabel(std::string value) override
Definition: dummyfigure.h:56
virtual void plot(std::string hashtag, double *X, double *Y, double z, int size, std::string options) override
Definition: dummyfigure.h:37
virtual void patch(std::string hashtag, double *X, double *Y, double z, int size, std::string options) override
Definition: dummyfigure.h:35
virtual void setViewPortOffsets(double targetX, double targetY, double orientDeg) override
Definition: dummyfigure.h:62
virtual void show() override
Definition: dummyfigure.h:45
virtual void plotVehicle(std::string hashtag, double X, double Y) override
Definition: dummyfigure.h:43
virtual void patch(std::string hashtag, double *X, double *Y, int size, std::string options) override
Definition: dummyfigure.h:34
virtual void setFixAxisOff() override
Definition: dummyfigure.h:52
virtual void setFixAxis(double x0, double y0, double z0, double x1, double y1, double z1) override
Definition: dummyfigure.h:51
virtual void hideAxis() override
Definition: dummyfigure.h:48
virtual ~DummyFigure()
Definition: dummyfigure.h:28
virtual void append(std::string hashtag, double *X, double *Y, int size, std::string options) override
Definition: dummyfigure.h:39
virtual void plotTexture(std::string hashtag, std::string url, double x, double y, double z, double psi, double w, double l)
Definition: dummyfigure.h:60
virtual void tristrip(std::string hashtag, double *X, double *Y, int size, std::string options) override
Definition: dummyfigure.h:31
virtual void setViewPortOffsets(bool disable) override
Definition: dummyfigure.h:64
virtual void showAxis() override
Definition: dummyfigure.h:47
Definition: afigurestub.h:20
x0
Definition: adore_set_goal.py:25
x
Definition: adore_set_goal.py:30
y0
Definition: adore_set_goal.py:26
z0
Definition: adore_set_goal.py:27
y
Definition: adore_set_goal.py:31
z
Definition: adore_set_goal.py:32
y1
Definition: adore_set_pose.py:29
x1
Definition: adore_set_pose.py:28
z1
Definition: adore_set_pose.py:30
w
Definition: adore_set_pose.py:40