hpp-core  4.9.0
Implement basic classes for canonical path planning for kinematic chains.
discretized.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2015 CNRS
3 // Authors: Florent Lamiraux
4 //
5 // This file is part of hpp-core
6 // hpp-core is free software: you can redistribute it
7 // and/or modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation, either version
9 // 3 of the License, or (at your option) any later version.
10 //
11 // hpp-core is distributed in the hope that it will be
12 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // General Lesser Public License for more details. You should have
15 // received a copy of the GNU Lesser General Public License along with
16 // hpp-core If not, see
17 // <http://www.gnu.org/licenses/>.
18 
19 #ifndef HPP_CORE_PATH_VALIDATION_DISCRETIZED_HH
20 # define HPP_CORE_PATH_VALIDATION_DISCRETIZED_HH
21 
24 
25 namespace hpp {
26  namespace core {
27  namespace pathValidation {
30 
35  class HPP_CORE_DLLAPI Discretized :
36  public PathValidation,
37  public ConfigValidations
38  {
39  public:
40  static DiscretizedPtr_t create (const value_type& stepSize);
41 
51  virtual bool validate (const PathPtr_t& path, bool reverse,
52  PathPtr_t& validPart,
54 
55  virtual ~Discretized () {};
56  protected:
57  Discretized (const value_type& stepSize);
58 
60  }; // class Discretized
62  } // namespace pathValidation
63  } // namespace core
64 } // namespace hpp
65 
66 #endif // HPP_CORE_DISCRETIZED_PATH_VALIDATION_HH
boost::shared_ptr< Path > PathPtr_t
Definition: fwd.hh:170
ObjectFactory * create(ObjectFactory *parent=NULL, const XMLElement *element=NULL)
boost::shared_ptr< Discretized > DiscretizedPtr_t
Definition: fwd.hh:294
Definition: path-validation.hh:35
pinocchio::value_type value_type
Definition: fwd.hh:157
Definition: config-validations.hh:32
virtual ~Discretized()
Definition: discretized.hh:55
Definition: discretized.hh:35
boost::shared_ptr< PathValidationReport > PathValidationReportPtr_t
Definition: fwd.hh:298
value_type stepSize_
Definition: discretized.hh:59