| 77 | |
| 78 | template <typename Subclass> |
| 79 | static vtkSmartPointer<Subclass> NewInstance(vtkCellGrid* grid = nullptr) |
| 80 | { |
| 81 | vtkStringToken name = vtk::TypeName<Subclass>(); |
| 82 | auto metadata = vtkCellMetadata::NewInstance(name, grid); |
| 83 | vtkSmartPointer<Subclass> result(Subclass::SafeDownCast(metadata)); |
| 84 | return result; |
| 85 | } |
| 86 | |
| 87 | static vtkSmartPointer<vtkCellMetadata> NewInstance( |
| 88 | vtkStringToken className, vtkCellGrid* grid = nullptr); |
no outgoing calls
no test coverage detected