예제 #1
0
        public new vtkSliderRepresentation NewInstance()
        {
            vtkSliderRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSliderRepresentation.vtkSliderRepresentation_NewInstance_32(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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

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