vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CoreActorDesc.h
Go to the documentation of this file.
1 #ifndef CoreActorDesc_h
2 #define CoreActorDesc_h
3 
4 #include "PhysXObject.h"
5 #include <vrecko/World.h>
6 
7 using namespace vrecko;
8 
9 namespace PhysXPlugin
10 {
12  {
13  private:
14  bool _create;
15 
16  NxActor* _pActor;
17  NxActorDesc _actorDesc;
18  NxBodyDesc _bodyDesc;
19 
20  NxReal _impulseThreshold;
21  NxReal _penetrationDepth;
22  NxReal _maxDeformationDistance;
23 
24  public:
25  CoreActorDesc():_create(false){}
26  bool loadXMLParameters( XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *parametersNode );
27 
28  void Create(NxScene* pScene, NxCloth* pCloth);
29  };
30 }
31 
32 #endif