xsi_envelopeweight.h Source File
 
 
 
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 #ifdef _MSC_VER
00023 #pragma warning(disable:4251)
00024 #endif
00025 
00026 namespace XSI {
00027 
00028 //*****************************************************************************
00036 //*****************************************************************************
00037 
00038 class SICPPSDKDECL EnvelopeWeight : public ClusterProperty
00039 {
00040 public:
00042         EnvelopeWeight();
00043 
00045         ~EnvelopeWeight();
00046 
00050         EnvelopeWeight(const CRef& in_ref);
00051 
00055         EnvelopeWeight(const EnvelopeWeight& in_obj);
00056 
00061         bool IsA( siClassID in_ClassID) const;
00062 
00066         siClassID GetClassID() const;
00067 
00073         EnvelopeWeight& operator=(const EnvelopeWeight& in_obj);
00074 
00080         EnvelopeWeight& operator=(const CRef& in_ref);
00081 
00085         CRefArray GetDeformers() const;
00086 
00105         CStatus SetValues(
00106                 const CRef&             in_deformer,
00107                 const LONG*             in_pVertices,
00108                 const float*    in_pValues,
00109                 LONG                    in_nVertices );
00110 
00128         CStatus SetValues(
00129                 const CRef&             in_deformer,
00130                 const float*    in_pValues,
00131                 LONG                    in_nValues,
00132                 LONG                    in_nOffset=0 );
00133 
00134         private:
00135         EnvelopeWeight * operator&() const;
00136         EnvelopeWeight * operator&();
00137 };
00138 
00139 };
00140 
00141 #endif // __XSIENVWPROP_H__