예제 #1
0
        public vtkColorSeries GetColorSeries()
        {
            vtkColorSeries vtkColorSeries = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkPlotBar.vtkPlotBar_GetColorSeries_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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