[Paraview] cast from vtkDataSet to subclasses

Natalie Happenhofer nataliehapp at hotmail.com
Tue Sep 9 07:37:16 EDT 2008


Hi!
Is there any possibility to cast from vtkDataSet to vtkRectilinearGrid or vtkStructuredGrid,....?
I´m writing a filter which should input vtkDataSet, it´s to say I have RectilinearGrid, StructuredGrid and StructuredPoint files with which the filter should work. 
I need to extract the dimensions from these DataSets, i.e use "GetDimensions(dims)" to implement my algorithm, so that´s why I´d need the downcast.. 
or is there any other possibility to get the dimensions of the input Dataset?

thx,
NH

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080909/6507c464/attachment-0001.htm>


More information about the ParaView mailing list