public new static vtkTextRepresentation New()
        {
            vtkTextRepresentation result = null;
            uint   mteStatus             = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkTextRepresentation.vtkTextRepresentation_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTextRepresentation = (vtkTextRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTextRepresentation.Register(null);
                }
            }
            return(vtkTextRepresentation);
        }
Exemplo n.º 3
0
 public void SetRepresentation(vtkTextRepresentation r)
 {
     vtkTextWidget.vtkTextWidget_SetRepresentation_08(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }