Use vtkButtonWidget To Create 2D Button

We can use vtkButtonWidget to create 2D buttons in the render window. The vtkWidgetRepresentation object controls the button’s position and show button pictures. Write our class ButtonCallBack that inherits vtkCommand and use it to listen for vtkCommand::StateChangedEvent, then we can add our button click function in it. Finally, the widget Read more…

The Introduction For The New Page: Text Edit

Dear readers, the website www.weiy.city had completed a small page update. 亲爱的读者,站点weiy.city完成了一次小小的页面更新。 Remove links page, add a text edit page. 去掉友情链接页面,增加文本处理页面。 The new page: 新的页面: https://www.weiy.city/text-edit/ We provide the following functions on the page. 在新的页面中,提供如下功能。 1、 All lowercase conversion for strings. 1、 文本全小写转换。 2、 All uppercase conversion for strings. 2、 Read more…

A prohibited operation