phyheightfield.h
1 /********************************************************************************
2  * WorldSim -- library for robot simulations *
3  * Copyright (C) 2008-2013 Gianluca Massera <emmegian@yahoo.it> *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the Free Software *
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
18  ********************************************************************************/
19 
20 // #ifndef PHYHEIGHTFIELD_H
21 // #define PHYHEIGHTFIELD_H
22 //
23 // #include "phyobject.h"
24 // class NewtonMesh;
25 //
26 // namespace farsa {
27 //
28 // /*! PhyHeightField class
29 // */
30 // class FARSA_WSIM_API PhyHeightField : public PhyObject {
31 // Q_OBJECT
32 // public:
33 // /*! Create a static height field object in the physic world
34 // * \param side_x dimension of the side aligned with X axis
35 // * \param side_y dimension of the side aligned with Y axis
36 // * \param heights vector of Z elevations at the coordinate X,Y speficied
37 // * \param world The World which object will be inserted
38 // * \param tm rotation and position at the moment of creation
39 // */
40 // PhyHeightField( real side_x, real side_y, World* world, QString name="unamed", const wMatrix& tm = wMatrix::identity() );
41 // /*! Destroy this object */
42 // virtual ~PhyHeightField();
43 // /*! return the side X */
44 // real sideX() const {
45 // return sidex;
46 // };
47 // /*! return the side Y */
48 // real sideY() const {
49 // return sidey;
50 // };
51 // /*! return the Z elevation at the point specified inside the height field */
52 // real elevationAt( real x, real y ) const {
53 // return 0.0f;
54 // };
55 // NewtonMesh* mesh;
56 // private:
57 // real sidex;
58 // real sidey;
59 // protected:
60 // /*! change the matrix of the phyheightfield rotating it */
61 // virtual void changedMatrix();
62 // /*! Engine encapsulation */
63 // void createPrivateObject();
64 // };
65 //
66 // } // end namespace farsa
67 //
68 // #endif