Explore Interaction Of vtkAbstractWidget By vtkHandleWidget Example

vtkAbstractWidget has its mechanism to handle interactive events. Here is a simple demo indicates the differences between the responses of widget and vtkInteractorStyleTrackballCamera. Example Code: int main() { vtkSmartPointer<vtkConeSource> cone = vtkSmartPointer<vtkConeSource>::New(); cone->Update(); vtkSmartPointer<vtkPolyDataMapper> coneMapper = vtkSmartPointer<vtkPolyDataMapper>::New(); coneMapper->SetInputData( cone->GetOutput() ); Read more…

Git Apply/Am Patch File

Create Patch Files Create simple Email-format files which contain commit content with git. For example, $ git format-patch -M origin/master -5 0001-remove-debug-dir.patch 0002-adjust-height.patch 0003-use-splitter-as-stackWidget-page.patch 0004-Make-gif-resize.patch 0005-add-resize-event.patch The patch file has UNIX mailbox format context which is convenient for e-mail submission Read more…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X