public vtkAssemblyNode GetLastNode()
        {
            vtkAssemblyNode vtkAssemblyNode = null;
            uint            mteStatus       = 0u;
            uint            mteIndex        = 4294967295u;
            uint            rawRefCount     = 0u;
            IntPtr          intPtr          = vtkAssemblyPath.vtkAssemblyPath_GetLastNode_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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