[vtkusers] How to convert (cast) "vtkExtractRectilinearGrid" data type to "vtkRectilinearGrid" type.
cory.quammen at kitware.com
Fri Jul 17 11:34:42 EDT 2015
Great, thanks for letting us know.
On Fri, Jul 17, 2015 at 11:04 AM, Manjunath K E <ke.manjunath at gmail.com>
> thank u Cory... that worked
> Thanks and Regards,
> Manjunath K E
> Help Ever Hurt Never
> On Fri, Jul 17, 2015 at 4:15 PM, Cory Quammen <cory.quammen at kitware.com>
>> vtkExtractRectilinearGrid is a vtkAlgorithm subclass - it read's data and
>> produces data - while vtkRectilinearGrid is a subclass of vtkDataObject -
>> it stores data. No conversion between the two is possible.
>> What you need to do is call vtkExtractRectilinearGrid::GetOutput() to get
>> the vtkRectilinearGrid. Make sure to call vtkExtractRectilinearGrid::Update()
>> before you call GetOutput() so that the output data is up-to-date.
>> Best regards,
>> On Fri, Jul 17, 2015 at 1:36 AM, Manjunath K E <ke.manjunath at gmail.com>
>>> I am Manjunath, working on ocean visualization.
>>> I have generated certain volume of interest (VOI) using
>>> vtkExtractRectilinearGrid type. Now I would like to render
>>> vtkExtractRectilinearGrid as "vtkRectilinearGrid" type.
>>> I would like to know how to convert "vtkExtractRectilinearGrid" data
>>> type to "vtkRectilinearGrid" type.
>>> Thanks and Regards,
>>> Manjunath K E
>>> Help Ever Hurt Never
>>> Powered by www.kitware.com
>>> Visit other Kitware open-source projects at
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>> Follow this link to subscribe/unsubscribe:
>> Cory Quammen
>> R&D Engineer
>> Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers