Пример #1
0
        public new static vtkPropAssembly New()
        {
            vtkPropAssembly result      = null;
            uint            mteStatus   = 0u;
            uint            mteIndex    = 4294967295u;
            uint            rawRefCount = 0u;
            IntPtr          intPtr      = vtkPropAssembly.vtkPropAssembly_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkPropAssembly)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Пример #2
0
        public new static vtkPropAssembly SafeDownCast(vtkObjectBase o)
        {
            vtkPropAssembly vtkPropAssembly = null;
            uint            mteStatus       = 0u;
            uint            mteIndex        = 4294967295u;
            uint            rawRefCount     = 0u;
            IntPtr          intPtr          = vtkPropAssembly.vtkPropAssembly_SafeDownCast_20((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPropAssembly = (vtkPropAssembly)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPropAssembly.Register(null);
                }
            }
            return(vtkPropAssembly);
        }
Пример #3
0
        public virtual vtkPropAssembly GetPropAssembly()
        {
            vtkPropAssembly vtkPropAssembly = null;
            uint            mteStatus       = 0u;
            uint            mteIndex        = 4294967295u;
            uint            rawRefCount     = 0u;
            IntPtr          intPtr          = vtkAbstractPropPicker.vtkAbstractPropPicker_GetPropAssembly_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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