A Few Powerful Options For Git Stash

Git stash has many common operations that can be represented by following commands. git stash git stash list git stash pop [–index] [stash_id] git stash apply [–index] [stash_id] git stash drop [stash_id] git stash clear Now we will learn a few other powerful options. git stash push After October 2017, Read more…

Coordinate Transformation For Different Systems

We can use vtkCoordinate and vtkRenderer objects to convert point’s coordinate from a system to another one. I found vtkCoordinate called the functions of vtkViewport (vtkRenderer is child class of vtkViewport) to accomplish coordinate transformation. class vtkViewport: virtual void LocalDisplayToDisplay(double &x, double &y); virtual void DisplayToNormalizedDisplay(double &u, double &v); virtual Read more…

Show Image By vtkActor2D

I want to show png picture by vtkActor2D rather than vtkImageActor or vtkImageViewer. There is not rotating and scaling for the picture when move mouse and click if the vtkActor2D object works. But how to do it? The following project shows axes and a png picture in the window, the Read more…

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

X