octree_stamped_pa.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 *                                                                             *
00003 * octree_stamped_pa.h                                                         *
00004 * ===================                                                         *
00005 *                                                                             *
00006 *******************************************************************************
00007 *                                                                             *
00008 * github repository                                                           *
00009 *   https://github.com/TUC-ProAut/ros_octomap                                 *
00010 *                                                                             *
00011 * Chair of Automation Technology, Technische Universität Chemnitz             *
00012 *   https://www.tu-chemnitz.de/etit/proaut                                    *
00013 *                                                                             *
00014 *******************************************************************************
00015 *                                                                             *
00016 * New BSD License                                                             *
00017 *                                                                             *
00018 * Copyright (c) 2015-2018, Peter Weissig, Technische Universität Chemnitz     *
00019 * All rights reserved.                                                        *
00020 *                                                                             *
00021 * Redistribution and use in source and binary forms, with or without          *
00022 * modification, are permitted provided that the following conditions are met: *
00023 *     * Redistributions of source code must retain the above copyright        *
00024 *       notice, this list of conditions and the following disclaimer.         *
00025 *     * Redistributions in binary form must reproduce the above copyright     *
00026 *       notice, this list of conditions and the following disclaimer in the   *
00027 *       documentation and/or other materials provided with the distribution.  *
00028 *     * Neither the name of the Technische Universität Chemnitz nor the       *
00029 *       names of its contributors may be used to endorse or promote products  *
00030 *       derived from this software without specific prior written permission. *
00031 *                                                                             *
00032 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" *
00033 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE   *
00034 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE  *
00035 * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY      *
00036 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES  *
00037 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR          *
00038 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  *
00039 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT          *
00040 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY   *
00041 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH *
00042 * DAMAGE.                                                                     *
00043 *                                                                             *
00044 ******************************************************************************/
00045 
00046 #ifndef OCTREE_STAMPED_PA_H
00047 #define OCTREE_STAMPED_PA_H
00048 
00049 // local headers
00050 #include "octomap_pa/octree_stamped_base_pa.h"
00051 
00052 // additional libraries
00053 #include <octomap/octomap.h>
00054 #include <octomap/OcTreeNode.h>
00055 #include <octomap/OccupancyOcTreeBase.h>
00056 
00057 // standard headers
00058 #include <string>
00059 
00060 
00061 //**************************[cOcTreeStampedPa]*********************************
00062 class cOcTreeStampedPa : public cOcTreeStampedBasePa <
00063   octomap::OccupancyOcTreeBase, octomap::OcTreeNode> {
00064 
00065   public:
00066 
00067     typedef octomap::OcTreeNode                   NodeTypeBase;
00068     typedef cNodeStampedBasePa<NodeTypeBase>      NodeTypeFull;
00069     typedef cOcTreeStampedBasePa <
00070       octomap::OccupancyOcTreeBase, NodeTypeBase> TreeTypeBase;
00071 
00073     cOcTreeStampedPa(double resolution);
00074 
00075     // Default destructor
00076     virtual ~cOcTreeStampedPa(void);
00077 
00080     cOcTreeStampedPa* create() const;
00081 
00082     virtual std::string getTreeType() const;
00083 
00084   protected:
00089      class StaticMemberInitializer {
00090        public:
00091          StaticMemberInitializer(void);
00092 
00093          void ensureLinking(void);
00094      };
00095 
00097      static StaticMemberInitializer StaticMemberInit;
00098 };
00099 
00100 #endif //#ifndef OCTREE_STAMPED_PA_H


octomap_pa
Author(s):
autogenerated on Thu Jun 6 2019 17:53:30