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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkTexture)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
示例#2
0
		public vtkTexture GetTexture()
		{
			vtkTexture vtkTexture = null;
			uint mteStatus = 0u;
			uint mteIndex = 4294967295u;
			uint rawRefCount = 0u;
			IntPtr intPtr = vtkGeoImageNode.vtkGeoImageNode_GetTexture_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);
			if (IntPtr.Zero != intPtr)
			{
				bool flag;
				vtkTexture = (vtkTexture)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
				if (flag)
				{
					vtkTexture.Register(null);
				}
			}
			return vtkTexture;
		}
示例#3
0
        public virtual vtkTexture GetIconTexture()
        {
            vtkTexture vtkTexture  = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkRenderView.vtkRenderView_GetIconTexture_11(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTexture = (vtkTexture)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTexture.Register(null);
                }
            }
            return(vtkTexture);
        }
示例#5
0
        public vtkTexture GetTexture(string name)
        {
            vtkTexture vtkTexture  = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkProperty.vtkProperty_GetTexture_76(base.GetCppThis(), name, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTexture = (vtkTexture)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTexture.Register(null);
                }
            }
            return(vtkTexture);
        }
示例#6
0
 public virtual void SetIconTexture(vtkTexture texture)
 {
     vtkRenderView.vtkRenderView_SetIconTexture_35(base.GetCppThis(), (texture == null) ? default(HandleRef) : texture.GetCppThis());
 }
示例#7
0
		public void SetTexture(vtkTexture texture)
		{
			vtkGeoImageNode.vtkGeoImageNode_SetTexture_16(base.GetCppThis(), (texture == null) ? default(HandleRef) : texture.GetCppThis());
		}
示例#8
0
 public int AddLOD(vtkMapper m, vtkProperty p, vtkTexture t, double time)
 {
     return(vtkLODProp3D.vtkLODProp3D_AddLOD_03(base.GetCppThis(), (m == null) ? default(HandleRef) : m.GetCppThis(), (p == null) ? default(HandleRef) : p.GetCppThis(), (t == null) ? default(HandleRef) : t.GetCppThis(), time));
 }
示例#9
0
 public void SetLODTexture(int id, vtkTexture t)
 {
     vtkLODProp3D.vtkLODProp3D_SetLODTexture_59(base.GetCppThis(), id, (t == null) ? default(HandleRef) : t.GetCppThis());
 }
示例#10
0
 public void SetIconTexture(vtkTexture texture)
 {
     vtkGraphMapper.vtkGraphMapper_SetIconTexture_60(base.GetCppThis(), (texture == null) ? default(HandleRef) : texture.GetCppThis());
 }
 public virtual void SetTexture(vtkTexture texture)
 {
     vtkTexturedActor2D.vtkTexturedActor2D_SetTexture_12(base.GetCppThis(), (texture == null) ? default(HandleRef) : texture.GetCppThis());
 }
示例#12
0
 public void SetTexture(int unit, vtkTexture texture)
 {
     vtkProperty.vtkProperty_SetTexture_127(base.GetCppThis(), unit, (texture == null) ? default(HandleRef) : texture.GetCppThis());
 }
示例#13
0
 public void SetTexture(string name, vtkTexture texture)
 {
     vtkProperty.vtkProperty_SetTexture_126(base.GetCppThis(), name, (texture == null) ? default(HandleRef) : texture.GetCppThis());
 }
示例#14
0
 public virtual void SetTexture(vtkTexture arg0)
 {
     vtkActor.vtkActor_SetTexture_26(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }