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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSeedRepresentation = (vtkSeedRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSeedRepresentation.Register(null);
                }
            }
            return(vtkSeedRepresentation);
        }
Example #3
0
        public vtkSeedRepresentation GetSeedRepresentation()
        {
            vtkSeedRepresentation vtkSeedRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSeedWidget.vtkSeedWidget_GetSeedRepresentation_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSeedRepresentation = (vtkSeedRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSeedRepresentation.Register(null);
                }
            }
            return(vtkSeedRepresentation);
        }
Example #4
0
 public void SetRepresentation(vtkSeedRepresentation rep)
 {
     vtkSeedWidget.vtkSeedWidget_SetRepresentation_17(base.GetCppThis(), (rep == null) ? default(HandleRef) : rep.GetCppThis());
 }