VTK Measurement Widgets

The article shows a few kinds of widgets which are used to measure the distance between two points, angle between two rays, and the bidimensional length of an object. Distance Measure The Distance On 2D Model We need vtkDistanceWidget, vtkDistanceRepresentation2D and vtkPointHandleRepresentation2D to help us to calculate the distance between Read more…

VTK – A Simple Example Written In C++

The article shows how to create a simple vtk render window project. We need cmake and the visualization toolkit installed. This example uses C plus plus programming language to create and show a cone in the 3D world. CMakeLists.txt cmake_minimum_required(VERSION 2.8) project(mytest) find_package( VTK REQUIRED ) include( ${VTK_USE_FILE} ) add_executable(${PROJECT_NAME} Read more…

Git Rebase And Git Merge

Git Rebase git rebase [ []] git wiil go to another branch by command git checkout firstly and then apply the commits on it to area. We wiil start with the example showed in the last article Git Diff Different Branches git checkout master git rebase master dev After resolving Read more…

Git Diff Different Branches

We want to compare the current branch and another branch to find the changes since they diverged. For example, we create a new branch dev from branch master and add a few commits, the branch master also update after diverging. The common ancestor is in the following part. The following Read more…

The Chinese Emperor Zhuanxu

  Zhuanxu is the Emperor Huangdi’s grandson, he was smart and introverted in his childhood, the man helped Shaohao to manage Jiuli region when he was fifteen years old. Zhuanxu got superior political achievements at that moment, he was rewarded by the emperor at region GaoYang, so people called him Read more…

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

X