xsi_envelopeweight.h

Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016 
00017 #ifndef __XSIENVWPROP_H__
00018 #define __XSIENVWPROP_H__
00019 
00020 #include <xsi_clusterproperty.h>
00021 
00022 #pragma warning(disable:4251)
00023 
00024 namespace XSI {
00025 
00026 //*****************************************************************************
00034 //*****************************************************************************
00035 
00036 class SICPPSDKDECL EnvelopeWeight : public ClusterProperty
00037 {
00038 public:
00040     EnvelopeWeight();
00041 
00043     ~EnvelopeWeight();
00044 
00048     EnvelopeWeight(const CRef& in_ref);
00049 
00053     EnvelopeWeight(const EnvelopeWeight& in_obj);
00054 
00059     bool IsA( siClassID in_ClassID) const;
00060 
00064     siClassID GetClassID() const;
00065 
00071     EnvelopeWeight& operator=(const EnvelopeWeight& in_obj);
00072 
00078     EnvelopeWeight& operator=(const CRef& in_ref);
00079 
00083     CRefArray GetDeformers() const;
00084 
00103     CStatus SetValues(
00104         const CRef&     in_deformer,
00105         const LONG*     in_pVertices,
00106         const float*    in_pValues,
00107         LONG            in_nVertices );
00108 
00126     CStatus SetValues(
00127         const CRef&     in_deformer,
00128         const float*    in_pValues,
00129         LONG            in_nValues,
00130         LONG            in_nOffset=0 );
00131 
00132     private:
00133     EnvelopeWeight * operator&() const;
00134     EnvelopeWeight * operator&();
00135 };
00136 
00137 };
00138 
00139 #endif // __XSIENVWPROP_H__