45 for(
int i=0;i<p.
size;i++)p.
X[i] = (
double)X[i];
46 for(
int i=0;i<p.
size;i++)p.
Y[i] = (
double)Y[i];
49 for(
int i=0;i<p.
size;i++)p.
Z[i] = 0.01f;
53 for(
int i=0;i<p.
size;i++)p.
Z[i] = (
double)Z[i];
63 virtual void plotTexture(std::string hashtag, std::string url,
double x,
double y,
double z,
double psi,
double w,
double l)
override
87 for(
int i=0;i<p.
size;i++)p.
X[i] = (
double)X[i];
88 for(
int i=0;i<p.
size;i++)p.
Y[i] = (
double)Y[i];
89 for(
int i=0;i<p.
size;i++)p.
Z[i] = (
double)
z;
134 std::cout<<
"connecting to PlotLabServer "<<url<<
"...\n";
146 void circlestrip(std::string hashtag,
double* X,
double* Y,
double* R,
int size,std::string options)
override
150 virtual void tristrip(std::string hashtag,
double* X,
double* Y,
double* Z,
int size,std::string options)
override
154 virtual void tristrip(std::string hashtag,
double* X,
double* Y,
int size,std::string options)
override
158 virtual void tristrip(std::string hashtag,
double* X,
double* Y,
double z,
int size,std::string options)
override
162 virtual void patch(std::string hashtag,
double* X,
double* Y,
double* Z,
int size,std::string options)
override
166 virtual void patch(std::string hashtag,
double* X,
double* Y,
int size,std::string options)
override
170 virtual void patch(std::string hashtag,
double* X,
double* Y,
double z,
int size,std::string options)
override
174 virtual void plot(std::string hashtag,
double* X,
double* Y,
double* Z,
int size,std::string options)
override
178 virtual void plot(std::string hashtag,
double* X,
double* Y,
double z,
int size,std::string options)
override
182 virtual void plot(std::string hashtag,
double* X,
double* Y,
int size,std::string options)
override
186 virtual void append(std::string hashtag,
double* X,
double* Y,
int size,std::string options)
override
190 virtual void append(std::string hashtag,
double* X,
double* Y,
double* Z,
int size,std::string options)
override
197 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
199 static const int size = 12;
205 double w2 = width/2.0f;
233 for(
int i=0;i<size;i++)
239 if(options.find(
"FillColor")!=std::string::npos)
254 virtual void plotText(std::string hashtag,
double x,
double y,std::string text)
override
258 virtual void plotVehicle(std::string hashtag,
double X,
double Y)
override
260 plotVehicle(hashtag,X,Y,0,0,0,0,0,0,0,0,
"");
310 virtual void erase(std::string hashtag)
override
330 virtual void setName(std::string value)
override
338 virtual void setViewPortOffsets(
double targetX,
double targetY,
double orientDeg,
double zoom)
override
Definition: zmqobjectprovider.h:21
static const int max_size_hashtag
Definition: plcommands.h:26
static const int max_size_points
Definition: plcommands.h:24
static const int max_size_options
Definition: plcommands.h:25
Definition: afigurestub.h:20
interval< T > cos(interval< T > x)
Definition: intervalarithmetic.h:225
T min(T a, T b, T c, T d)
Definition: adoremath.h:663
interval< T > sin(interval< T > x)
Definition: intervalarithmetic.h:204
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
Definition: plcommands.h:71
int target
Definition: plcommands.h:74
char options[PLCom::max_size_options]
Definition: plcommands.h:72
enum DLR_TS::PlotLab::PLComOther::PLComOtherType comtype
PLComOtherType
Definition: plcommands.h:76
@ hide
Definition: plcommands.h:79
@ title
Definition: plcommands.h:89
@ zlabel
Definition: plcommands.h:88
@ showAxis
Definition: plcommands.h:82
@ xlabel
Definition: plcommands.h:86
@ name
Definition: plcommands.h:90
@ hideAxis
Definition: plcommands.h:83
@ showGrid
Definition: plcommands.h:84
@ ylabel
Definition: plcommands.h:87
@ erase_similar
Definition: plcommands.h:81
@ show
Definition: plcommands.h:78
@ erase
Definition: plcommands.h:80
@ clear
Definition: plcommands.h:77
@ hideGrid
Definition: plcommands.h:85
char hashtag[PLCom::max_size_hashtag]
Definition: plcommands.h:73
Definition: plcommands.h:51
double Y[PLCom::max_size_points]
Definition: plcommands.h:53
PLComPaintType
Definition: plcommands.h:60
@ circlestrip
Definition: plcommands.h:67
@ patch
Definition: plcommands.h:62
@ texture
Definition: plcommands.h:65
@ text
Definition: plcommands.h:64
@ line
Definition: plcommands.h:61
@ append
Definition: plcommands.h:63
@ tristrip
Definition: plcommands.h:66
enum DLR_TS::PlotLab::PLComPaint::PLComPaintType comtype
double X[PLCom::max_size_points]
Definition: plcommands.h:52
char options[PLCom::max_size_options]
Definition: plcommands.h:55
double Z[PLCom::max_size_points]
Definition: plcommands.h:54
int size
Definition: plcommands.h:57
int target
Definition: plcommands.h:58
char hashtag[PLCom::max_size_hashtag]
Definition: plcommands.h:56
Definition: plcommands.h:29
double fix_zwidth
Definition: plcommands.h:35
double orientDeg
Definition: plcommands.h:36
enum DLR_TS::PlotLab::PLComView::PLComViewType viewType
int target
Definition: plcommands.h:48
double targetX
Definition: plcommands.h:30
PLComViewType
Definition: plcommands.h:39
@ disable
Definition: plcommands.h:46
@ AutoAxis
Definition: plcommands.h:45
@ ViewPosOnly
Definition: plcommands.h:40
@ ViewPosOrientZoom
Definition: plcommands.h:42
@ ViewPosOrientation
Definition: plcommands.h:41
@ FixedAxis
Definition: plcommands.h:44
double fix_xwidth
Definition: plcommands.h:33
double fix_ywidth
Definition: plcommands.h:34
double targetY
Definition: plcommands.h:31
double zoom
Definition: plcommands.h:37
double targetZ
Definition: plcommands.h:32