ivaria/dynamicsdebug.h Source File (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

ivaria/dynamicsdebug.h
Go to the documentation of this file.

    00001 /*
    00002   Copyright (C) 2010 Christian Van Brussel, Institute of Information
    00003       and Communication Technologies, Electronics and Applied Mathematics
    00004       at Universite catholique de Louvain, Belgium
    00005       http://www.uclouvain.be/en-icteam.html
    00006
    00007   This library is free software; you can redistribute it and/or
    00008   modify it under the terms of the GNU Library General Public
    00009   License as published by the Free Software Foundation; either
    00010   version 2 of the License, or (at your option) any later version.
    00011
    00012   This library is distributed in the hope that it will be useful,
    00013   but WITHOUT ANY WARRANTY; without even the implied warranty of
    00014   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00015   Library General Public License for more details.
    00016
    00017   You should have received a copy of the GNU Library General Public
    00018   License along with this library; if not, write to the Free
    00019   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00020 */
    00021 #ifndef __CS_IVARIA_DYNAMICSDEBUG_H__
    00022 #define __CS_IVARIA_DYNAMICSDEBUG_H__
    00023
    00028 #include "csutil/scf.h"
    00029 #include "ivaria/bullet.h"
    00030
    00031 struct iDynamicSystem;
    00032 struct iSector;
    00033 struct iMaterialWrapper;
    00034
    00035 namespace CS {
    00036 namespace Debug {
    00037
    00038 struct iDynamicSystemDebugger;
    00039
    00043 struct iDynamicsDebuggerManager : public virtual iBase
    00044 {
    00045   SCF_INTERFACE(CS::Debug::iDynamicsDebuggerManager, 1, 0, 0);
    00046
    00050   virtual CS::Debug::iDynamicSystemDebugger* CreateDebugger () = 0;
    00051 };
    00052
    00057 struct iDynamicSystemDebugger : public virtual iBase
    00058 {
    00059   SCF_INTERFACE(CS::Debug::iDynamicSystemDebugger, 1, 0, 1);
    00060
    00064   virtual void SetDynamicSystem (iDynamicSystem* system) = 0;
    00065
    00070   virtual void SetDebugSector (iSector* sector) = 0;
    00071
    00081   virtual void SetDebugDisplayMode (bool debugMode) = 0;
    00082
    00087   virtual void UpdateDisplay () = 0;
    00088
    00095   virtual void SetStaticBodyMaterial (iMaterialWrapper* material) = 0;
    00096
    00103   virtual void SetDynamicBodyMaterial (iMaterialWrapper* material) = 0;
    00104
    00111   virtual void SetBodyStateMaterial (CS::Physics::Bullet::BodyState state,
    00112                                      iMaterialWrapper* material) = 0;
    00113 };
    00114
    00115 } //namespace Debug
    00116 } //namespace CS
    00117
    00118 #endif // __CS_IVARIA_DYNAMICSDEBUG_H__