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

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

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