示例#1
0
        public new static vtkProperty2D New()
        {
            vtkProperty2D result      = null;
            uint          mteStatus   = 0u;
            uint          mteIndex    = 4294967295u;
            uint          rawRefCount = 0u;
            IntPtr        intPtr      = vtkProperty2D.vtkProperty2D_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkProperty2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
示例#2
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);
        }
        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);
        }
示例#4
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 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);
        }
示例#6
0
 public virtual void SetProperty(vtkProperty2D arg0)
 {
     vtkActor2D.vtkActor2D_SetProperty_32(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
 public void SetSelectedProperty(vtkProperty2D arg0)
 {
     vtkPointHandleRepresentation2D.vtkPointHandleRepresentation2D_SetSelectedProperty_21(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
示例#8
0
 public virtual void SetSelectingProperty(vtkProperty2D p)
 {
     vtkTexturedButtonRepresentation2D.vtkTexturedButtonRepresentation2D_SetSelectingProperty_24(base.GetCppThis(), (p == null) ? default(HandleRef) : p.GetCppThis());
 }
 public virtual void SetImageProperty(vtkProperty2D p)
 {
     vtkBalloonRepresentation.vtkBalloonRepresentation_SetImageProperty_38(base.GetCppThis(), (p == null) ? default(HandleRef) : p.GetCppThis());
 }
 public void SetProperty(vtkProperty2D arg0)
 {
     vtkAffineRepresentation2D.vtkAffineRepresentation2D_SetProperty_38(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
示例#11
0
 public void DeepCopy(vtkProperty2D p)
 {
     vtkProperty2D.vtkProperty2D_DeepCopy_01(base.GetCppThis(), (p == null) ? default(HandleRef) : p.GetCppThis());
 }