2
* $Id: PHY_IGraphicController.h 20021 2009-05-01 19:02:23Z ben2610 $
4
* ***** BEGIN GPL LICENSE BLOCK *****
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software Foundation,
18
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
21
* All rights reserved.
23
* The Original Code is: all of this file.
25
* Contributor(s): none yet.
27
* ***** END GPL LICENSE BLOCK *****
29
#ifndef PHY_IGRAPHICCONTROLLER_H
30
#define PHY_IGRAPHICCONTROLLER_H
32
#include "PHY_IController.h"
37
PHY_IPhysicsController is the abstract simplified Interface to a physical object.
38
It contains the IMotionState and IDeformableMesh Interfaces.
40
class PHY_IGraphicController : public PHY_IController
45
virtual ~PHY_IGraphicController();
47
SynchronizeMotionStates ynchronizes dynas, kinematic and deformable entities (and do 'late binding')
49
virtual bool SetGraphicTransform()=0;
50
virtual void Activate(bool active=true)=0;
51
virtual void setLocalAabb(const PHY__Vector3& aabbMin,const PHY__Vector3& aabbMax)=0;
52
virtual void setLocalAabb(const float* aabbMin,const float* aabbMax)=0;
54
virtual PHY_IGraphicController* GetReplica(class PHY_IMotionState* motionstate) {return 0;}
58
#endif //PHY_IGRAPHICCONTROLLER_H