Exemplo n.º 1
0
        public vtkProperty2D GetBoxProperty()
        {
            vtkProperty2D vtkProperty2D = null;
            uint          mteStatus     = 0u;
            uint          mteIndex      = 4294967295u;
            uint          rawRefCount   = 0u;
            IntPtr        intPtr        = vtkLegendBoxActor.vtkLegendBoxActor_GetBoxProperty_13(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkProperty2D = (vtkProperty2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkProperty2D.Register(null);
                }
            }
            return(vtkProperty2D);
        }
        public virtual vtkProperty2D GetSelectedProperty()
        {
            vtkProperty2D vtkProperty2D = null;
            uint          mteStatus     = 0u;
            uint          mteIndex      = 4294967295u;
            uint          rawRefCount   = 0u;
            IntPtr        intPtr        = vtkPointHandleRepresentation2D.vtkPointHandleRepresentation2D_GetSelectedProperty_08(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkProperty2D = (vtkProperty2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkProperty2D.Register(null);
                }
            }
            return(vtkProperty2D);
        }
        public virtual vtkProperty2D GetActiveProperty()
        {
            vtkProperty2D vtkProperty2D = null;
            uint          mteStatus     = 0u;
            uint          mteIndex      = 4294967295u;
            uint          rawRefCount   = 0u;
            IntPtr        intPtr        = vtkOrientedGlyphFocalPlaneContourRepresentation.vtkOrientedGlyphFocalPlaneContourRepresentation_GetActiveProperty_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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