<div dir="ltr">vtkDataObject is the parent class of vtkDataSet. <a href="http://www.vtk.org/doc/nightly/html/classvtkDataSet.html">http://www.vtk.org/doc/nightly/html/classvtkDataSet.html</a><div><div><br></div><div>If you are handed a vtkDataObject you can use SafeDownCast to check if it happens to be a vtkDataSet, but you shouldn't expect to create the child by by creating the parent. Try creating one of the concrete child classes of vtkDataSet. vtkPolyData::New(), vtkImageData::New() etc.</div>
<div><div><br></div><div>.<br></div><div><br></div></div></div></div>