source: NonGTP/FCollada/FCDocument/FCDPhysicsRigidConstraintInstance.h @ 964

Revision 964, 1.1 KB checked in by igarcia, 18 years ago (diff)
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
11class FCDocument;
12class FCDSceneNode;
13class FCDPhysicsModel;
14class FCDPhysicsRigidConstraint;
15
16class FCOLLADA_EXPORT FCDPhysicsRigidConstraintInstance : public FCDEntityInstance
17{
18private:
19        DeclareObjectType;
20        FCDPhysicsModel* parent;
21        FCDPhysicsRigidConstraint* rigidConstraint;
22
23public:
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.