CoinManipulatorVisualizationAdapter.h
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @package ArmarXGuiPlugins::RobotTrajectoryDesigner::Visualization
17  * @author Timo Birr
18  * @date 2018
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 #ifndef COINMANIPULATORVISUALIZATIONADAPTER_H
23 #define COINMANIPULATORVISUALIZATIONADAPTER_H
24 
26 
28 
29 #include <Eigen/Eigen>
30 
31 #include <VirtualRobot/Robot.h>
32 
33 #include <VirtualRobot/RobotNodeSet.h>
34 
35 #include <Inventor/nodes/SoSeparator.h>
36 
37 #include <memory>
38 
39 
40 
41 
42 
43 namespace armarx
44 {
45  /**
46  * @brief The CoinManipulatorVisualizationAdapter class
47  * Info: currently not in use as abstraction of manipulator doesn't make that much sense
48  */
50  {
51 
52  public:
55  Eigen::MatrixXf getUserDesiredPose();
56  SoSeparator* getVisualization();
57  void setVisualization(VirtualRobot::RobotPtr robot, VirtualRobot::RobotNodeSetPtr nodeSet);
58  void attachCallback(SoDraggerCB* finish, SoDraggerCB* moved, void* data);
59 
60  private:
61  ManipulatorVisualization* adaptedManipulation;
62  };
63 
64  using CoinManipulatorVisualizationAdapterPtr = std::shared_ptr<CoinManipulatorVisualizationAdapter>;
65 }
66 
67 #endif
armarx::CoinManipulatorVisualizationAdapter::getVisualization
SoSeparator * getVisualization()
Definition: CoinManipulatorVisualizationAdapter.cpp:54
armarx::AbstractManipulatorVisualization
The AbstractManipulatorVisualization class Abstraction of a Manipulator in any 3D format Info: not pr...
Definition: AbstractManipulatorVisualization.h:40
AbstractManipulatorVisualization.h
armarx::CoinManipulatorVisualizationAdapterPtr
std::shared_ptr< CoinManipulatorVisualizationAdapter > CoinManipulatorVisualizationAdapterPtr
Definition: CoinManipulatorVisualizationAdapter.h:64
armarx::CoinManipulatorVisualizationAdapter::getUserDesiredPose
Eigen::MatrixXf getUserDesiredPose()
Definition: CoinManipulatorVisualizationAdapter.cpp:49
armarx::CoinManipulatorVisualizationAdapter
The CoinManipulatorVisualizationAdapter class Info: currently not in use as abstraction of manipulato...
Definition: CoinManipulatorVisualizationAdapter.h:49
armarx::CoinManipulatorVisualizationAdapter::~CoinManipulatorVisualizationAdapter
~CoinManipulatorVisualizationAdapter()
Definition: CoinManipulatorVisualizationAdapter.cpp:39
armarx::CoinManipulatorVisualizationAdapter::setVisualization
void setVisualization(VirtualRobot::RobotPtr robot, VirtualRobot::RobotNodeSetPtr nodeSet)
Definition: CoinManipulatorVisualizationAdapter.cpp:44
data
uint8_t data[1]
Definition: EtherCATFrame.h:68
ManipulatorVisualization.h
armarx::CoinManipulatorVisualizationAdapter::CoinManipulatorVisualizationAdapter
CoinManipulatorVisualizationAdapter()
Definition: CoinManipulatorVisualizationAdapter.cpp:34
armarx::ManipulatorVisualization
Definition: ManipulatorVisualization.h:51
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::CoinManipulatorVisualizationAdapter::attachCallback
void attachCallback(SoDraggerCB *finish, SoDraggerCB *moved, void *data)
Definition: CoinManipulatorVisualizationAdapter.cpp:59
VirtualRobot::RobotPtr
std::shared_ptr< class Robot > RobotPtr
Definition: Bus.h:18