예제 #1
0
        public new vtkLight NewInstance()
        {
            vtkLight result      = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkLight.vtkLight_NewInstance_35(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkLight)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
예제 #2
0
        public virtual vtkLight GetLight()
        {
            vtkLight vtkLight    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkLightActor.vtkLightActor_GetLight_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkLight = (vtkLight)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkLight.Register(null);
                }
            }
            return(vtkLight);
        }
예제 #4
0
 public void SetLight(vtkLight light)
 {
     vtkLightActor.vtkLightActor_SetLight_17(base.GetCppThis(), (light == null) ? default(HandleRef) : light.GetCppThis());
 }
 public bool LightCreatesShadow(vtkLight l)
 {
     return(vtkShadowMapBakerPass.vtkShadowMapBakerPass_LightCreatesShadow_10(base.GetCppThis(), (l == null) ? default(HandleRef) : l.GetCppThis()) != 0);
 }
예제 #6
0
 public void AddItem(vtkLight a)
 {
     vtkLightCollection.vtkLightCollection_AddItem_01(base.GetCppThis(), (a == null) ? default(HandleRef) : a.GetCppThis());
 }
예제 #7
0
 public void DeepCopy(vtkLight light)
 {
     vtkLight.vtkLight_DeepCopy_01(base.GetCppThis(), (light == null) ? default(HandleRef) : light.GetCppThis());
 }