Ejemplo n.º 1
0
        public new static vtkBorderRepresentation New()
        {
            vtkBorderRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkBorderRepresentation.vtkBorderRepresentation_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkBorderRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Ejemplo n.º 2
0
        public vtkBorderRepresentation GetBorderRepresentation()
        {
            vtkBorderRepresentation vtkBorderRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkBorderWidget.vtkBorderWidget_GetBorderRepresentation_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkBorderRepresentation = (vtkBorderRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkBorderRepresentation.Register(null);
                }
            }
            return(vtkBorderRepresentation);
        }
Ejemplo n.º 4
0
 public void SetRepresentation(vtkBorderRepresentation r)
 {
     vtkBorderWidget.vtkBorderWidget_SetRepresentation_14(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }