ApplyWrenchVisualPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef _GAZEBO_APPLYWRENCHVISUAL_PRIVATE_HH_
19 #define _GAZEBO_APPLYWRENCHVISUAL_PRIVATE_HH_
20 
21 #include <string>
22 #include <mutex>
23 
25 
26 namespace gazebo
27 {
28  namespace rendering
29  {
32  {
34  public: std::string selectedMaterial;
35 
37  public: std::string unselectedMaterial;
38 
41 
44 
47 
50 
53 
56 
59 
61  public: std::mutex mutex;
62 
65 
68  public: bool rotatedByMouse;
69  };
70  }
71 }
72 #endif
Class for drawing lines that can change.
Definition: DynamicLines.hh:43
math::Vector3 torqueVector
Torque vector expressed in the link frame.
Definition: ApplyWrenchVisualPrivate.hh:58
bool rotatedByMouse
If true, the rotation tool was rotated by the mouse and shouldn't be oriented again according to the ...
Definition: ApplyWrenchVisualPrivate.hh:68
std::string unselectedMaterial
Material for the unselected mode.
Definition: ApplyWrenchVisualPrivate.hh:37
boost::shared_ptr< SelectionObj > SelectionObjPtr
Definition: RenderTypes.hh:179
Private data for the Visual class.
Definition: VisualPrivate.hh:57
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
VisualPtr torqueVisual
Tube and line representing torque.
Definition: ApplyWrenchVisualPrivate.hh:43
rendering::SelectionObjPtr rotTool
Rotation tool composed of two circles.
Definition: ApplyWrenchVisualPrivate.hh:64
Private data for the Apply Wrench Visual class.
Definition: ApplyWrenchVisualPrivate.hh:31
math::Vector3 forcePosVector
Force application point in link coordinates.
Definition: ApplyWrenchVisualPrivate.hh:52
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:107
std::mutex mutex
Mutex to protect variables.
Definition: ApplyWrenchVisualPrivate.hh:61
math::Vector3 forceVector
Force vector expressed in the link frame.
Definition: ApplyWrenchVisualPrivate.hh:55
rendering::DynamicLines * torqueLine
Line connecting the torque visual to the CoM.
Definition: ApplyWrenchVisualPrivate.hh:46
math::Vector3 comVector
CoM position in link coordinates.
Definition: ApplyWrenchVisualPrivate.hh:49
std::string selectedMaterial
Material for the current mode.
Definition: ApplyWrenchVisualPrivate.hh:34
VisualPtr forceVisual
Arrow representing force.
Definition: ApplyWrenchVisualPrivate.hh:40