xsi_pickbuffer.h Source File
 
 
 
xsi_pickbuffer.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 __XSIPICKBUFFER_H__
00018 #define __XSIPICKBUFFER_H__
00019 #include <xsi_base.h>
00020 
00021 namespace XSI {
00022 
00023 //*****************************************************************************
00030 //*****************************************************************************
00031 class SICPPSDKDECL PickBuffer : public CBase
00032 {
00033 public:
00035         PickBuffer();
00036 
00038         ~PickBuffer();
00039 
00043         PickBuffer(const CRef& in_ref);
00044 
00048         PickBuffer(const PickBuffer& in_obj);
00049 
00054         bool IsA(siClassID in_ClassID) const;
00055 
00059         siClassID GetClassID() const;
00060 
00066         PickBuffer& operator=(const PickBuffer& in_obj);
00067 
00073         PickBuffer& operator=(const CRef& in_ref);
00074 
00080         CRef GetObjectAtPosition( LONG x, LONG y ) const;
00081 
00090         LONG GetComponentIndexAtPosition( LONG x, LONG y ) const;
00091 
00092         private:
00093         PickBuffer * operator&() const;
00094         PickBuffer * operator&();
00095 };
00096 
00097 };
00098 
00099 #endif // __XSIPICKBUFFER_H__