示例#1
0
        public new vtkScalarBarActor NewInstance()
        {
            vtkScalarBarActor result = null;
            uint   mteStatus         = 0u;
            uint   mteIndex          = 4294967295u;
            uint   rawRefCount       = 0u;
            IntPtr intPtr            = vtkScalarBarActor.vtkScalarBarActor_NewInstance_28(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkScalarBarActor)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public virtual vtkScalarBarActor GetScalarBarActor()
        {
            vtkScalarBarActor vtkScalarBarActor = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkScalarBarWidget.vtkScalarBarWidget_GetScalarBarActor_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkScalarBarActor = (vtkScalarBarActor)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkScalarBarActor.Register(null);
                }
            }
            return(vtkScalarBarActor);
        }
 public virtual void SetScalarBarActor(vtkScalarBarActor actor)
 {
     vtkScalarBarWidget.vtkScalarBarWidget_SetScalarBarActor_14(base.GetCppThis(), (actor == null) ? default(HandleRef) : actor.GetCppThis());
 }
 public virtual void SetScalarBarActor(vtkScalarBarActor arg0)
 {
     vtkScalarBarRepresentation.vtkScalarBarRepresentation_SetScalarBarActor_17(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }