Esempio n. 1
0
        public new vtkUnstructuredGridVolumeRayCastFunction NewInstance()
        {
            vtkUnstructuredGridVolumeRayCastFunction result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkUnstructuredGridVolumeRayCastFunction.vtkUnstructuredGridVolumeRayCastFunction_NewInstance_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkUnstructuredGridVolumeRayCastFunction)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Esempio n. 2
0
        public virtual vtkUnstructuredGridVolumeRayCastFunction GetRayCastFunction()
        {
            vtkUnstructuredGridVolumeRayCastFunction vtkUnstructuredGridVolumeRayCastFunction = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkUnstructuredGridVolumeRayCastMapper.vtkUnstructuredGridVolumeRayCastMapper_GetRayCastFunction_26(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUnstructuredGridVolumeRayCastFunction = (vtkUnstructuredGridVolumeRayCastFunction)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUnstructuredGridVolumeRayCastFunction.Register(null);
                }
            }
            return(vtkUnstructuredGridVolumeRayCastFunction);
        }
Esempio n. 4
0
 public virtual void SetRayCastFunction(vtkUnstructuredGridVolumeRayCastFunction f)
 {
     vtkUnstructuredGridVolumeRayCastMapper.vtkUnstructuredGridVolumeRayCastMapper_SetRayCastFunction_43(base.GetCppThis(), (f == null) ? default(HandleRef) : f.GetCppThis());
 }