Path.h
Go to the documentation of this file.
1 
2 
3 /*
4  * This file is part of ArmarX.
5  *
6  * ArmarX is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * ArmarX is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * @author Fabian Reister ( fabian dot reister at kit dot edu )
19  * @date 2021
20  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
21  * GNU General Public License
22  */
23 
24 #pragma once
25 
27 #include <RobotAPI/interface/ArViz/Elements.h>
28 
29 namespace armarx::viz
30 {
31  class Path : public ElementOps<Path, data::ElementPath>
32  {
33  public:
35 
36  Path& clear();
37 
38  Path& width(float w);
39 
40  Path& points(std::vector<Eigen::Vector3f> const& ps);
41 
42  Path& addPoint(Eigen::Vector3f p);
43  };
44 } // namespace armarx::viz
armarx::viz::Path::clear
Path & clear()
Definition: Path.cpp:11
ElementOps.h
armarx::viz::Path::addPoint
Path & addPoint(Eigen::Vector3f p)
Definition: Path.cpp:42
armarx::viz::ElementOps::ElementOps
ElementOps(std::string const &id)
Definition: ElementOps.h:111
armarx::viz::ElementOps
Definition: ElementOps.h:108
armarx::viz::Path::points
Path & points(std::vector< Eigen::Vector3f > const &ps)
Definition: Path.cpp:25
armarx::viz::Path
Definition: Path.h:31
armarx::viz::Path::width
Path & width(float w)
Definition: Path.cpp:18
armarx::viz
This file is part of ArmarX.
Definition: ArVizStorage.cpp:370