mercredi 19 avril 2017

Object creation design pattern in vtk

Why do vtk classes derived from vtkObjectBase have protected constructors and objects must be instantiated in the heap via a static method called New?

Why was this design chosen and what are its main advantages?

Aucun commentaire:

Enregistrer un commentaire