⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 builder_base.h

📁 robocup rcssmonitor-11.1.1.zip
💻 H
字号:
/* * Copyright (c) 1999 - 2001, Artur Merke <amerke@ira.uka.de>  * * This file is part of FrameView2d. * * FrameView2d is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * FrameView2d is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with FrameView2d; see the file COPYING.  If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */#ifndef _BUILDER_BASE_H_#define _BUILDER_BASE_H_#include "rgbcolor.h"#include "vector2d.h"#include "object2d.h"#include "area2d.h"#include "visobject.h"/** This is an interface class. All classes which are used to influence    the 2d viewing area by building or moving object must inherit from     this class and implement all the abstract methods. */class BuilderBase { public:    virtual     ~BuilderBase()      { }  ///  virtual bool   set_cmd_insert_frame(int parent_frame,int this_frame,const Point2d & pos , const Angle & ang, int layer)=0;    ///  virtual bool  set_cmd_insert_visobject(int parent_frame, VisualObject2d * v_obj)= 0;  ///  virtual bool   set_cmd_insert_point(int parent_frame, int this_object,const Point2d & obj, int layer, const RGBcolor &col)=0;  virtual bool   set_cmd_insert_points(int parent_frame,int this_object, int len_data, const Point2d * data,int layer, const RGBcolor &col)=0;     ///  virtual bool   set_cmd_insert_line(int parent_frame, int this_object,const Line2d & obj, int layer, const RGBcolor &col)=0;  virtual bool   set_cmd_insert_lines(int parent_frame,int this_object, int len_data, const Line2d * data,int layer, const RGBcolor &col)=0;   ///  virtual bool   set_cmd_insert_circle(int parent_frame, int this_object,const Circle2d & obj, int layer, const RGBcolor &col)=0;    virtual bool   set_cmd_insert_circles(int parent_frame,int this_object,  int len_data, const Circle2d * data,int layer, const RGBcolor &col)=0;   virtual bool   set_cmd_insert_f_circle(int parent_frame, int this_object,const Circle2d & obj, int layer, const RGBcolor &col)=0;  virtual bool   set_cmd_insert_f_circles(int parent_frame,int this_object, int len_data, const Circle2d * data,int layer, const RGBcolor &col)=0;   ///  virtual bool   set_cmd_insert_circlearc(int parent_frame, int this_object,const CircleArc2d & obj, int layer, const RGBcolor &col)=0;   virtual bool   set_cmd_insert_circlearcs(int parent_frame,int this_object, int len_data, const CircleArc2d * data,int layer, const RGBcolor &col)=0;     virtual bool   set_cmd_insert_f_circlearc(int parent_frame, int this_object,const CircleArc2d & obj, int layer, const RGBcolor &col)=0;  virtual bool   set_cmd_insert_f_circlearcs(int parent_frame,int this_object, int len_data, const CircleArc2d * data,int layer, const RGBcolor &col)=0;  ///  virtual bool   set_cmd_insert_polyline(int parent_frame,int this_object, int len_data, const Point2d * data,int layer, const RGBcolor &col)=0;  ///  virtual bool   set_cmd_insert_polygon(int parent_frame,int this_object, int len_data, const Point2d * data,int layer, const RGBcolor &col)=0;  virtual bool   set_cmd_insert_f_polygon(int parent_frame,int this_object, int len_data, const Point2d * data,int layer, const RGBcolor &col)=0;  ///  virtual bool   set_cmd_insert_string(int parent_frame,int this_object,const Point2d & pos, int len_data, const char * data,int layer, const RGBcolor &col)=0;   ///  virtual bool   set_cmd_set_object_visible(int frame, int this_object,int vis)=0;  ///  virtual bool   set_cmd_set_object_layer(int frame, int this_object,int layer)=0;  ///  virtual bool   set_cmd_set_object_color(int frame, int this_object,const RGBcolor& col)=0;  ///  virtual bool   set_cmd_set_frame_visible(int this_frame,int visible)=0;   ///  virtual bool   set_cmd_set_frame_layer(int this_frame,int layer)=0;  ///  virtual bool   set_cmd_set_frame_pos(int this_frame, const Point2d & pos)=0;   ///  virtual bool   set_cmd_set_frame_ang(int this_frame, const Angle & ang)=0;  ///  virtual bool   set_cmd_set_frame_scale(int this_frame, double scale)=0;  ///  virtual bool   set_cmd_set_frame_pos_ang(int this_frame, const Point2d & pos, const Angle & ang)=0;  ///  virtual bool   set_cmd_remove_frame(int this_frame)=0;  ///  virtual bool   set_cmd_remove_object(int frame, int this_object)=0;  ///  virtual bool   set_cmd_empty_frame(int this_frame)=0;   ///  virtual bool  set_cmd_set_view_area(const Area2d & area)= 0;  ///  virtual bool  set_cmd_set_status_line(int len_data, const char * data)= 0;  ///  virtual bool  set_cmd_set_background_color(const RGBcolor & col)= 0;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -