remove redundant methods, implement assignment operator for widget

This commit is contained in:
ozantonkal
2013-07-03 22:27:09 +03:00
parent c8d2b5ff44
commit daa2a205a4
3 changed files with 19 additions and 13 deletions

View File

@@ -119,6 +119,9 @@ namespace temp_viz
public:
Widget();
Widget(const Widget &other);
Widget& operator =(const Widget &other);
void copyTo(Widget &dst);
void setColor(const Color &color);
void setPose(const Affine3f &pose);
@@ -134,6 +137,6 @@ namespace temp_viz
class LineWidget : public Widget
{
public:
LineWidget(const Point3f &pt1, const Point3f &pt2, const Color &color);
LineWidget(const Point3f &pt1, const Point3f &pt2, const Color &color = Color(255,255,255));
};
}