Ejemplo n.º 1
0
        public new vtkWarpTransform NewInstance()
        {
            vtkWarpTransform result      = null;
            uint             mteStatus   = 0u;
            uint             mteIndex    = 4294967295u;
            uint             rawRefCount = 0u;
            IntPtr           intPtr      = vtkWarpTransform.vtkWarpTransform_NewInstance_08(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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