Line | |
---|
1 | /*
|
---|
2 | Copyright (C) 2005-2006 Feeling Software Inc.
|
---|
3 | MIT License: http://www.opensource.org/licenses/mit-license.php
|
---|
4 | */
|
---|
5 | |
---|
6 | #ifndef _FCD_PHYSICS_RIGID_CONSTRAINT_INSTANCE_H_ |
---|
7 | #define _FCD_PHYSICS_RIGID_CONSTRAINT_INSTANCE_H_ |
---|
8 | |
---|
9 | #include "FCDocument/FCDEntityInstance.h" |
---|
10 | |
---|
11 | class FCDocument; |
---|
12 | class FCDSceneNode; |
---|
13 | class FCDPhysicsModel; |
---|
14 | class FCDPhysicsRigidConstraint; |
---|
15 | |
---|
16 | class FCOLLADA_EXPORT FCDPhysicsRigidConstraintInstance : public FCDEntityInstance |
---|
17 | { |
---|
18 | private: |
---|
19 | DeclareObjectType; |
---|
20 | FCDPhysicsModel* parent; |
---|
21 | FCDPhysicsRigidConstraint* rigidConstraint; |
---|
22 | |
---|
23 | public: |
---|
24 | FCDPhysicsRigidConstraintInstance(FCDocument* document, FCDEntity* _parent); |
---|
25 | virtual ~FCDPhysicsRigidConstraintInstance(); |
---|
26 |
|
---|
27 | // FCDEntity override for RTTI-like |
---|
28 | virtual Type GetType() const { return PHYSICS_RIGID_CONSTRAINT; } |
---|
29 | |
---|
30 | // Load the geometry instance from the COLLADA document |
---|
31 | virtual FUStatus LoadFromXML(xmlNode* instanceNode); |
---|
32 | |
---|
33 | // Write out the instantiation information to the xml node tree |
---|
34 | virtual xmlNode* WriteToXML(xmlNode* parentNode) const; |
---|
35 | }; |
---|
36 | |
---|
37 | #endif // _FCD_PHYSICS_RIGID_CONSTRAINT_INSTANCE_H_ |
---|
Note: See
TracBrowser
for help on using the repository browser.