CPlusPlus
VTK – Create Source Class Which Is Derived From VtkPolyDataAlgorithm
The article shows how to create a subclass which inherits vtkPolyDataAlgorithm and use it in vtk pipeline mechanism. We create a star source object which is like vtkSphereSource and display it by a vtkActor object. The star source class is very simple, it has just five points and five lines. Read more…