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

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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkLabelRenderStrategy = (vtkLabelRenderStrategy)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkLabelRenderStrategy.Register(null);
                }
            }
            return(vtkLabelRenderStrategy);
        }
 public virtual void SetRenderStrategy(vtkLabelRenderStrategy s)
 {
     vtkLabelPlacementMapper.vtkLabelPlacementMapper_SetRenderStrategy_50(base.GetCppThis(), (s == null) ? default(HandleRef) : s.GetCppThis());
 }