hpp-manipulation-urdf  4.9.0
Implementation of a parser for hpp-manipulation.
contact.hh
Go to the documentation of this file.
1 // Copyright (c) 2014, LAAS-CNRS
2 // Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
3 //
4 // This file is part of hpp-manipulation-urdf.
5 // hpp-manipulation-urdf is free software: you can redistribute it
6 // and/or modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation, either version
8 // 3 of the License, or (at your option) any later version.
9 //
10 // hpp-manipulation-urdf is distributed in the hope that it will be
11 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // General Lesser Public License for more details. You should have
14 // received a copy of the GNU Lesser General Public License along with
15 // hpp-manipulation-urdf. If not, see <http://www.gnu.org/licenses/>.
16 
17 #ifndef HPP_MANIPULATION_SRDF_FACTORIES_CONTACT_HH
18 # define HPP_MANIPULATION_SRDF_FACTORIES_CONTACT_HH
19 
20 # include <hpp/manipulation/fwd.hh>
21 # include <hpp/fcl/math/transform.h>
22 # include <hpp/fcl/shape/geometric_shapes.h>
23 
26 
27 namespace hpp {
28  namespace manipulation {
29  namespace srdf {
32 
35  public:
39 
41  ObjectFactory (parent, element) {}
42 
43  virtual void finishTags ();
44 
45  private:
46  JointAndShapes_t shapes_;
47  std::string linkName_, objectName_;
48  };
49 
51  } // namespace srdf
52  } // namespace manipulation
53 } // namespace hpp
54 
55 #endif // HPP_MANIPULATION_SRDF_FACTORIES_CONTACT_HH
TiXmlElement XMLElement
Definition: parser.hh:31
Factory building contact surfaces.
Definition: contact.hh:34
std::list< JointAndShape_t > JointAndShapes_t
virtual void finishTags()
Called when all the child tags have been processed.
parser::SequenceFactory< unsigned int > TriangleFactory
Definition: contact.hh:37
parser::SequenceFactory< unsigned int > ShapeFactory
Definition: contact.hh:38
Factory parsing sequence of values.
Definition: sequence.hh:36
Class that catch XML Parser events for a specific tag and build the corresponding Object...
Definition: parser.hh:73
parser::SequenceFactory< value_type > PointFactory
Definition: contact.hh:36
ContactFactory(ObjectFactory *parent, const parser::XMLElement *element)
Definition: contact.hh:40