xsi_actiondelta.h
Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00013 #pragma once
00014 #endif
00015 
00016 #ifndef __XSIACTIONDELTA_H__
00017 #define __XSIACTIONDELTA_H__
00018 
00019 #include <xsi_siobject.h>
00020 #include <xsi_vector3.h>
00021 
00022 namespace XSI {
00023 
00024 class ActionDeltaItem;
00025 class CDoubleArray;
00026 //*****************************************************************************
00089 class SICPPSDKDECL ActionDelta : public SIObject
00090 {
00091 public:
00093     ActionDelta();
00094 
00096     ~ActionDelta();
00097 
00101     ActionDelta(const CRef& in_ref);
00102 
00106     ActionDelta(const ActionDelta& in_obj);
00107 
00112     bool IsA( siClassID in_ClassID) const;
00113 
00117     siClassID GetClassID() const;
00118 
00124     ActionDelta& operator=(const ActionDelta& in_obj);
00125 
00131     ActionDelta& operator=(const CRef& in_ref);
00132 
00197     ActionDeltaItem AddFCurveItem (
00198         const CString&      in_Target,
00199         const CDoubleArray& in_KeyValueArray,
00200         siFCurveInterpolation  in_Interpolation = siCubicInterpolation,
00201         siFCurveType           in_Type =siStandardFCurve,
00202         siFCurveExtrapolation  in_Extrapolation=siConstantExtrapolation
00203     );
00204 
00278     CRefArray AddConstraintItem (
00279         const CString&      in_preset,
00280         const CRefArray&    in_cnsned,
00281         const CRefArray&    in_cnsning,
00282         bool                in_bComp,
00283         const MATH::CVector3& in_offsetCnsned,
00284         const MATH::CVector3& in_offsetCnsning
00285     );
00286 
00339     ActionDeltaItem AddStaticValueItem (
00340         const CString&      in_Target,
00341         double              in_Value
00342     );
00343 
00344 
00405     ActionDeltaItem AddExpressionItem (
00406         const CString&      in_Target,
00407         const CString&      in_Expression
00408     );
00409 
00414     CString GetName()const;
00415 
00420     CString GetType()const;
00421 
00504     CStatus RemoveItem ( const CString& in_target );
00505 
00511     CStatus RemoveAllItems ();
00512 
00517     CRefArray GetItems()const;
00518 
00519 
00520     private:
00521     ActionDelta * operator&() const;
00522     ActionDelta * operator&();
00523 };
00524 
00525 }
00526 
00527 #endif // __XSIACTIONDELTA_H__