Exemple #1
0
        public new static vtkAssemblyNode New()
        {
            vtkAssemblyNode result      = null;
            uint            mteStatus   = 0u;
            uint            mteIndex    = 4294967295u;
            uint            rawRefCount = 0u;
            IntPtr          intPtr      = vtkAssemblyNode.vtkAssemblyNode_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAssemblyNode)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        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 #3
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);
        }