vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Cloth.h
Go to the documentation of this file.
1
#ifndef Cloth_h
2
#define Cloth_h
3
4
#include "
UpdatablePhysXObject.h
"
5
#include "
ClothDrawable.h
"
6
#include "
CoreActorDesc.h
"
7
8
#include <vector>
9
10
using namespace
vrecko;
11
12
namespace
PhysXPlugin
13
{
14
class
Cloth
:
public
UpdatablePhysXObject
15
{
16
private
:
17
public
:
18
Cloth
():
UpdatablePhysXObject
(
"Cloth"
)
19
{
20
_scale.x = 1.0f;
21
_scale.y = 1.0f;
22
_scale.z = 1.0f;
23
24
_offset.x = 0.0f;
25
_offset.y = 0.0f;
26
_offset.z = 0.0f;
27
}
28
29
virtual
~Cloth
(){}
30
31
virtual
void
Create();
32
33
virtual
bool
loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*parametersNode);
34
35
36
protected
:
37
ClothDrawable
*
_pClothDrawable
;
38
39
NxCloth*
_pCloth
;
40
NxClothMesh*
_pClothMesh
;
41
NxMeshData
_meshData
;
42
NxClothDesc
_clothDesc
;
43
NxClothMeshDesc
_clothMeshDesc
;
44
45
CoreActorDesc
_coreActorDesc
;
46
47
NxVec3
_scale
;
48
NxVec3
_offset
;
49
50
std::vector<unsigned long>
_attachment_ids
;
51
52
std::string
_fileName
;
53
54
virtual
void
UpdateEnvironmentObject();
55
};
56
}
57
58
#endif
src
vreckoAP
PhysX
Cloth.h
Generated on Tue Feb 19 2013 10:23:46 for vrecko by
1.8.3.1