00001
00011
00012
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016
00017 #ifndef __XSIRIGIDBODYACCESSOR_H__
00018 #define __XSIRIGIDBODYACCESSOR_H__
00019
00020 #include <xsi_siobject.h>
00021 #include <xsi_value.h>
00022 #include <xsi_status.h>
00023
00024 #pragma warning(disable:4251)
00025
00026 namespace XSI {
00027
00028 class CBitArray;
00029 class CLongArray;
00030 class CDoubleArray;
00031 class CFloatArray;
00032 class CRefArray;
00033 class SimulationEnvironment;
00034
00035
00043
00044
00045 class SICPPSDKDECL CRigidBodyAccessor : public CBase
00046 {
00047 public:
00049 CRigidBodyAccessor();
00050
00052 ~CRigidBodyAccessor();
00053
00057 CRigidBodyAccessor(const CRef& in_ref);
00058
00062 CRigidBodyAccessor(const CRigidBodyAccessor& in_obj);
00063
00068 bool IsA( siClassID in_ClassID) const;
00069
00073 siClassID GetClassID() const;
00074
00080 CRigidBodyAccessor& operator=(const CRigidBodyAccessor& in_obj);
00081
00087 CRigidBodyAccessor& operator=(const CRef& in_ref);
00088
00089
00097 CRefArray GetAttachedRigidConstraints( ) const;
00098
00107 LONG GetAttachedRigidConstraintsCount( ) const;
00108
00112 SimulationEnvironment GetSimulationEnvironment( ) const;
00113
00127 CRefArray GetShapes( bool in_bAllShapes ) const;
00128
00138 LONG GetShapeCount( bool in_bAllShapes ) const;
00139
00153 CRef GetPatriarch( ) const;
00154
00155 private:
00156 CRigidBodyAccessor * operator&() const;
00157 CRigidBodyAccessor * operator&();
00158 };
00159
00160 };
00161 #endif // __XSIGEOMACCESSOR_H__