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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAxisActor2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemplo n.º 2
0
        public virtual vtkAxisActor2D GetTopAxis()
        {
            vtkAxisActor2D vtkAxisActor2D = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkLegendScaleActor.vtkLegendScaleActor_GetTopAxis_33(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAxisActor2D = (vtkAxisActor2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAxisActor2D.Register(null);
                }
            }
            return(vtkAxisActor2D);
        }
        public vtkAxisActor2D GetAxis()
        {
            vtkAxisActor2D vtkAxisActor2D = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkDistanceRepresentation2D.vtkDistanceRepresentation2D_GetAxis_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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