コード例 #1
0
        public new vtkGlyphSource2D NewInstance()
        {
            vtkGlyphSource2D result      = null;
            uint             mteStatus   = 0u;
            uint             mteIndex    = 4294967295u;
            uint             rawRefCount = 0u;
            IntPtr           intPtr      = vtkGlyphSource2D.vtkGlyphSource2D_NewInstance_27(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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