Esempio n. 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);
        }
Esempio n. 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;
		}
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 6
0
 public virtual void SetIconTexture(vtkTexture texture)
 {
     vtkRenderView.vtkRenderView_SetIconTexture_35(base.GetCppThis(), (texture == null) ? default(HandleRef) : texture.GetCppThis());
 }
Esempio n. 7
0
		public void SetTexture(vtkTexture texture)
		{
			vtkGeoImageNode.vtkGeoImageNode_SetTexture_16(base.GetCppThis(), (texture == null) ? default(HandleRef) : texture.GetCppThis());
		}
Esempio n. 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));
 }
Esempio n. 9
0
 public void SetLODTexture(int id, vtkTexture t)
 {
     vtkLODProp3D.vtkLODProp3D_SetLODTexture_59(base.GetCppThis(), id, (t == null) ? default(HandleRef) : t.GetCppThis());
 }
Esempio n. 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());
 }
Esempio n. 12
0
 public void SetTexture(int unit, vtkTexture texture)
 {
     vtkProperty.vtkProperty_SetTexture_127(base.GetCppThis(), unit, (texture == null) ? default(HandleRef) : texture.GetCppThis());
 }
Esempio n. 13
0
 public void SetTexture(string name, vtkTexture texture)
 {
     vtkProperty.vtkProperty_SetTexture_126(base.GetCppThis(), name, (texture == null) ? default(HandleRef) : texture.GetCppThis());
 }
Esempio n. 14
0
 public virtual void SetTexture(vtkTexture arg0)
 {
     vtkActor.vtkActor_SetTexture_26(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }