xsi_constraint.h Source File
 
 
 
xsi_constraint.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 __XSICONSTRAINT_H__
00018 #define __XSICONSTRAINT_H__
00019 
00020 #include <xsi_property.h>
00021 
00022 namespace XSI {
00023 
00024 class X3DObject;
00025 
00026 //*****************************************************************************
00071 //*****************************************************************************
00072 class SICPPSDKDECL Constraint : public Property
00073 {
00074 public:
00076         Constraint();
00077 
00079         ~Constraint();
00080 
00084         Constraint(const CRef& in_ref);
00085 
00089         Constraint(const Constraint& in_obj);
00090 
00095         bool IsA( siClassID in_ClassID) const;
00096 
00100         siClassID GetClassID() const;
00101 
00107         Constraint& operator=(const Constraint& in_obj);
00108 
00114         Constraint& operator=(const CRef& in_ref);
00115 
00119         X3DObject GetConstrained() const;
00120 
00124         CRefArray GetConstraining() const;
00125 
00129         X3DObject GetUpVectorReference() const;
00130 
00136         CStatus PutUpVectorReference( const X3DObject& in_obj );
00137 
00138         private:
00139         Constraint * operator&() const;
00140         Constraint * operator&();
00141 };
00142 
00143 
00144 };
00145 
00146 #endif // __XSICONSTRAINT_H__