Exemple #1
0
        public vtkCaptionActor2D GetZAxisCaptionActor2D()
        {
            vtkCaptionActor2D vtkCaptionActor2D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAxesActor.vtkAxesActor_GetZAxisCaptionActor2D_47(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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