public new vtkContinuousValueWidgetRepresentation NewInstance()
        {
            vtkContinuousValueWidgetRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkContinuousValueWidgetRepresentation.vtkContinuousValueWidgetRepresentation_NewInstance_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkContinuousValueWidgetRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
예제 #2
0
        public vtkContinuousValueWidgetRepresentation GetContinuousValueWidgetRepresentation()
        {
            vtkContinuousValueWidgetRepresentation vtkContinuousValueWidgetRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkContinuousValueWidget.vtkContinuousValueWidget_GetContinuousValueWidgetRepresentation_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkContinuousValueWidgetRepresentation = (vtkContinuousValueWidgetRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkContinuousValueWidgetRepresentation.Register(null);
                }
            }
            return(vtkContinuousValueWidgetRepresentation);
        }
예제 #4
0
 public void SetRepresentation(vtkContinuousValueWidgetRepresentation r)
 {
     vtkContinuousValueWidget.vtkContinuousValueWidget_SetRepresentation_07(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }