Ejemplo n.º 1
0
        public new vtkPlot NewInstance()
        {
            vtkPlot result      = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkPlot.vtkPlot_NewInstance_17(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPlot = (vtkPlot)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPlot.Register(null);
                }
            }
            return(vtkPlot);
        }
Ejemplo n.º 3
0
        public override vtkPlot AddPlot(int type)
        {
            vtkPlot vtkPlot     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkChartPie.vtkChartPie_AddPlot_01(base.GetCppThis(), type, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPlot = (vtkPlot)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPlot.Register(null);
                }
            }
            return(vtkPlot);
        }
Ejemplo n.º 4
0
        public virtual vtkPlot GetPlot(long index)
        {
            vtkPlot vtkPlot     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkChart.vtkChart_GetPlot_15(base.GetCppThis(), index, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPlot = (vtkPlot)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPlot.Register(null);
                }
            }
            return(vtkPlot);
        }
Ejemplo n.º 5
0
 public override long AddPlot(vtkPlot plot)
 {
     return(vtkChartPie.vtkChartPie_AddPlot_02(base.GetCppThis(), (plot == null) ? default(HandleRef) : plot.GetCppThis()));
 }
Ejemplo n.º 6
0
 public virtual long AddPlot(vtkPlot plot)
 {
     return(vtkChart.vtkChart_AddPlot_02(base.GetCppThis(), (plot == null) ? default(HandleRef) : plot.GetCppThis()));
 }
Ejemplo n.º 7
0
 public virtual bool RemovePlotInstance(vtkPlot plot)
 {
     return(vtkChart.vtkChart_RemovePlotInstance_31(base.GetCppThis(), (plot == null) ? default(HandleRef) : plot.GetCppThis()) != 0);
 }
Ejemplo n.º 8
0
 public void SetPlotCorner(vtkPlot plot, int corner)
 {
     vtkChartXY.vtkChartXY_SetPlotCorner_35(base.GetCppThis(), (plot == null) ? default(HandleRef) : plot.GetCppThis(), corner);
 }
Ejemplo n.º 9
0
 public int GetPlotCorner(vtkPlot plot)
 {
     return(vtkChartXY.vtkChartXY_GetPlotCorner_20(base.GetCppThis(), (plot == null) ? default(HandleRef) : plot.GetCppThis()));
 }