All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ContactVisualPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2014 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 _CONTACTVISUAL_PRIVATE_HH_
19 #define _CONTACTVISUAL_PRIVATE_HH_
20 
21 #include <string>
22 #include <vector>
23 
24 #include "gazebo/msgs/msgs.hh"
27 
28 
29 namespace Ogre
30 {
31  class Entity;
32  class SceneNode;
33 }
34 
35 namespace gazebo
36 {
37  namespace rendering
38  {
39  class DynamicLines;
40 
43  {
46 
49 
51  public: boost::shared_ptr<msgs::Contacts const> contactsMsg;
52 
54  public: std::vector<event::ConnectionPtr> connections;
55 
57  public: class ContactPoint
58  {
60  public: Ogre::SceneNode *sceneNode;
63  };
64 
66  public: std::vector<ContactVisualPrivate::ContactPoint *> points;
67 
69  public: boost::mutex mutex;
70 
72  public: bool receivedMsg;
73 
75  public: bool enabled;
76 
78  public: std::string topicName;
79  };
80  }
81 }
82 #endif