Delete vtkObjectBase Object

The interface vtkObjectBase::UnRegister will reduce the reference count for pointer and delete the pointer if the reference count becomes zero. vtkObjectBase::Delete <= vtkObjectBase::UnRegister <= vtkObjectBase::UnRegisterInternal <= delete ptr vtkSmartPointerBase::~vtkSmartPointerBase { vtkObjectBase* object = this->Object; if(object) { this->Object = nullptr; object->UnRegister(nullptr); } } We can get the reference count and consumer Read more…

vtkSelectPolyData可能存在bug ?

单纯看“Can’t follow edge”的错误提示,我没能得到有价值的线索。不管怎么说,在使用该对象处理数据之前居然需要写读一遍信息本身就显得很诡异,或者,这就是VTK8.2上的一个bug?也许,当我升级VTK之后才能找到答案。

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

X