Fix Crash Bug About vtkCellPicker::~vtkCellPicker And vtkCollection::DeleteElement

Here is dump log which shows the stack information. The class CBase has OpenModule and CloseModule interfaces, they can be called multible times. exe caused an Access Violation at location 00007FFA62174327 in module vtkCommonCore-8.2.dll Reading from location 0000000000000DA4. AddrPC Params 00007FFA62174327 0000000000000001 00007FFA9011F05B 0000013DF642A190 vtkCommonCore-8.2.dll!vtkCollection::DeleteElement 00007FFA62174155 0000000000000001 00007FFA622D3BFF 0000013DF6429290 vtkCommonCore-8.2.dll!vtkCollection::~vtkCollection Read more…

Show Point List By Line And Points

The article describe a simple way to display point id list on the original model. We use VTK to draw and show all scenes. vtkSmartPointer<vtkPolyData> UShowData::ShowListByPoints(vtkSmartPointer<vtkPolyData> polyData, vtkSmartPointer<vtkIdList> list) { vSPNew( result, vtkPolyData ); vSPNew( resultPts, vtkPoints ); vSPNew( resultVerts, vtkCellArray ); for( int i = 0; i < list->GetNumberOfIds(); Read more…

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

X