Exemple #1
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);
        }
        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);
        }