public vtkGlyphSource2D GetGlyphSource()
        {
            vtkGlyphSource2D vtkGlyphSource2D = null;
            uint             mteStatus        = 0u;
            uint             mteIndex         = 4294967295u;
            uint             rawRefCount      = 0u;
            IntPtr           intPtr           = vtkImageTracerWidget.vtkImageTracerWidget_GetGlyphSource_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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