Configure TBB – VTK Environment For Mac

Development environment: VTK-8.1.1 macOS Catalina 10.15 Python 2.7.10 Configure variables about Qt in CMake GUi fristly. Some details are in the following script file configure.sh. cmake ./ -G “Unix Makefiles” \ -DVTK_USE_QVTK:BOOL=ON \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DVTK_USE_GUISUPPORT:BOOL=ON \ -DVTK_QT_VERSION=5 \ -DModule_vtkGUISupportQt:BOOL=ON Read more…

Create And Export Curve

I write a small project to create a curve that can be changed and export. The class vtkContourWidget is used to re-construct the curve, vtkXMLPolyDataWriter object helps us to store the polydata. All details for the project had been pushed Read more…

Store Polydata By vtkXMLPolyDataWriter

Store Polydata Some Special polydata can’t be stored by vtkSTLWriter. The following polydata contains points and a line in its structure, it can’t be saved by vtkSTLWriter, but vtkXMLPolyDataWriter works. vtkObject::GlobalWarningDisplayOn(); int numPts = 10; vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); int Read more…

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

X