$search
00001 /****************************************************************************** 00002 * \file 00003 * 00004 * $Id:$ 00005 * 00006 * Copyright (C) Brno University of Technology 00007 * 00008 * This file is part of software developed by dcgm-robotics@FIT group. 00009 * 00010 * Author: Vit Stancl (stancl@fit.vutbr.cz) 00011 * Supervised by: Michal Spanel (spanel@fit.vutbr.cz) 00012 * Date: dd/mm/2012 00013 * 00014 * This file is free software: you can redistribute it and/or modify 00015 * it under the terms of the GNU Lesser General Public License as published by 00016 * the Free Software Foundation, either version 3 of the License, or 00017 * (at your option) any later version. 00018 * 00019 * This file is distributed in the hope that it will be useful, 00020 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 * GNU Lesser General Public License for more details. 00023 * 00024 * You should have received a copy of the GNU Lesser General Public License 00025 * along with this file. If not, see <http://www.gnu.org/licenses/>. 00026 */ 00027 #pragma once 00028 #ifndef TestingPolymesh_H_included 00029 #define TestingPolymesh_H_included 00030 00031 #include "testing_planes.h" 00032 00033 namespace srs_env_model 00034 { 00035 00039 class CTestingPolymesh : public CTestingPlanes 00040 { 00041 public: 00043 typedef Eigen::Vector3f tPoint; 00044 00046 typedef Eigen::Quaternionf tQuaternion; 00047 00049 typedef Eigen::Transform<float, 3, Eigen::Affine> tTransform; 00050 00051 public: 00052 EIGEN_MAKE_ALIGNED_OPERATOR_NEW 00053 00054 public: 00056 CTestingPolymesh(); 00057 00059 CTestingPolymesh( const tPoint ¢er, const tQuaternion &orientation, const tPoint & size ); 00060 00062 void setAsBox( const tPoint ¢er, const tQuaternion &orientation, const tPoint & size ); 00063 00064 protected: 00065 00066 00067 }; // class CTestingPolymesh 00068 00069 } // namespace srs_env_model 00070 00071 00072 // TestingPolymesh_H_included 00073 #endif 00074