Exemplo n.º 1
0
        public new static vtkSynchronizedTemplates3D New()
        {
            vtkSynchronizedTemplates3D result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSynchronizedTemplates3D.vtkSynchronizedTemplates3D_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkSynchronizedTemplates3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemplo n.º 2
0
        public new static vtkSynchronizedTemplates3D SafeDownCast(vtkObjectBase o)
        {
            vtkSynchronizedTemplates3D vtkSynchronizedTemplates3D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSynchronizedTemplates3D.vtkSynchronizedTemplates3D_SafeDownCast_24((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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