[vtkusers] Creating a new vtkDataSet object
David E DeMarle
dave.demarle at kitware.com
Fri Jun 7 21:01:43 EDT 2013
vtkDataObject is the parent class of vtkDataSet.
http://www.vtk.org/doc/nightly/html/classvtkDataSet.html
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.
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130607/1c768801/attachment.htm>
More information about the vtkusers
mailing list