示例#1
0
        public virtual vtkMatrix3x3 GetMatrix()
        {
            vtkMatrix3x3 vtkMatrix3x = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkTransform2D.vtkTransform2D_GetMatrix_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMatrix3x = (vtkMatrix3x3)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMatrix3x.Register(null);
                }
            }
            return(vtkMatrix3x);
        }
示例#2
0
        public new static vtkMatrix3x3 SafeDownCast(vtkObjectBase o)
        {
            vtkMatrix3x3 vtkMatrix3x = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkMatrix3x3.vtkMatrix3x3_SafeDownCast_27((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkMatrix3x = (vtkMatrix3x3)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkMatrix3x.Register(null);
                }
            }
            return(vtkMatrix3x);
        }