Пример #1
0
        public new static vtkInteractorStyleRubberBand3D New()
        {
            vtkInteractorStyleRubberBand3D result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkInteractorStyleRubberBand3D.vtkInteractorStyleRubberBand3D_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkInteractorStyleRubberBand3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Пример #2
0
        public new static vtkInteractorStyleRubberBand3D SafeDownCast(vtkObjectBase o)
        {
            vtkInteractorStyleRubberBand3D vtkInteractorStyleRubberBand3D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkInteractorStyleRubberBand3D.vtkInteractorStyleRubberBand3D_SafeDownCast_24((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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