Beispiel #1
0
        public new vtkAbstractMapper3D NewInstance()
        {
            vtkAbstractMapper3D result = null;
            uint   mteStatus           = 0u;
            uint   mteIndex            = 4294967295u;
            uint   rawRefCount         = 0u;
            IntPtr intPtr = vtkAbstractMapper3D.vtkAbstractMapper3D_NewInstance_10(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAbstractMapper3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public vtkAbstractMapper3D GetLODMapper(int id)
        {
            vtkAbstractMapper3D vtkAbstractMapper3D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkLODProp3D.vtkLODProp3D_GetLODMapper_30(base.GetCppThis(), id, ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAbstractMapper3D = (vtkAbstractMapper3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAbstractMapper3D.Register(null);
                }
            }
            return(vtkAbstractMapper3D);
        }
        public virtual vtkAbstractMapper3D GetMapper()
        {
            vtkAbstractMapper3D vtkAbstractMapper3D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAreaPicker.vtkAreaPicker_GetMapper_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAbstractMapper3D = (vtkAbstractMapper3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAbstractMapper3D.Register(null);
                }
            }
            return(vtkAbstractMapper3D);
        }