FCDocument/FCDForceField.h

00001 /*
00002     Copyright (C) 2005-2007 Feeling Software Inc.
00003     Portions of the code are:
00004     Copyright (C) 2005-2007 Sony Computer Entertainment America
00005     
00006     MIT License: http://www.opensource.org/licenses/mit-license.php
00007 */
00008 
00009 #ifndef _FCD_FORCE_FIELD_H_
00010 #define _FCD_FORCE_FIELD_H_
00011 
00012 class FCDocument;
00013 class FCDExtra;
00014 class FCDForce;
00015 
00016 #ifndef _FCD_FORCE_TYPED_H_
00017 #include "FCDocument/FCDForceTyped.h"
00018 #endif // _FCD_FORCE_TYPED_H_
00019 #ifndef _FCD_ENTITY_H_
00020 #include "FCDocument/FCDEntity.h"
00021 #endif // _FCD_ENTITY_H_
00022 
00033 class FCOLLADA_EXPORT FCDForceField : public FCDEntity
00034 {
00035 private:
00036     DeclareObjectType(FCDEntity);
00037     DeclareParameterRef(FCDExtra, information, FC("Information"));
00038 
00039 public:
00042     FCDForceField(FCDocument* document);
00043 
00045     virtual ~FCDForceField();
00046 
00049     inline FCDExtra* GetInformation() { return const_cast<FCDExtra*>(const_cast<const FCDForceField*>(this)->GetInformation()); }
00050     const FCDExtra* GetInformation() const;
00051 
00054     inline void SetInformation(FCDExtra* info){ information = info; }
00055 
00058     virtual Type GetType() const { return FORCE_FIELD; }
00059 
00066     virtual FCDEntity* Clone(FCDEntity* clone = NULL, bool cloneChildren = false) const;
00067 };
00068 
00069 #endif // _FCD_FORCE_FIELD_H_

Generated on Thu Feb 14 16:58:34 2008 for FCollada by  doxygen 1.4.6-NO