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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkCaptionRepresentation = (vtkCaptionRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkCaptionRepresentation.Register(null);
                }
            }
            return(vtkCaptionRepresentation);
        }
Example #3
0
 public void SetRepresentation(vtkCaptionRepresentation r)
 {
     vtkCaptionWidget.vtkCaptionWidget_SetRepresentation_10(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }