コード例 #1
0
        public new vtkSliderRepresentation3D NewInstance()
        {
            vtkSliderRepresentation3D result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSliderRepresentation3D.vtkSliderRepresentation3D_NewInstance_21(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSliderRepresentation3D = (vtkSliderRepresentation3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSliderRepresentation3D.Register(null);
                }
            }
            return(vtkSliderRepresentation3D);
        }
コード例 #3
0
        public virtual vtkSliderRepresentation3D GetBottomRepresentation()
        {
            vtkSliderRepresentation3D vtkSliderRepresentation3D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkCheckerboardRepresentation.vtkCheckerboardRepresentation_GetBottomRepresentation_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSliderRepresentation3D = (vtkSliderRepresentation3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSliderRepresentation3D.Register(null);
                }
            }
            return(vtkSliderRepresentation3D);
        }
コード例 #4
0
 public void SetTopRepresentation(vtkSliderRepresentation3D arg0)
 {
     vtkCheckerboardRepresentation.vtkCheckerboardRepresentation_SetTopRepresentation_28(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }