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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkFeatureEdges)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public vtkFeatureEdges GetFeatureEdges()
        {
            vtkFeatureEdges vtkFeatureEdges = null;
            uint            mteStatus       = 0u;
            uint            mteIndex        = 4294967295u;
            uint            rawRefCount     = 0u;
            IntPtr          intPtr          = vtkQuadricClustering.vtkQuadricClustering_GetFeatureEdges_15(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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