[Paraview] Adding some Meta Data to a vtkUnstructuredGrid
Mike Jackson
imikejackson at gmail.com
Tue Sep 18 20:21:45 EDT 2007
On Sep 18, 2007, at 4:40 PM, Kent Eschenberg wrote:
> Mike Jackson wrote:
>> Is there a mechanism in place that would allow me to add some meta
>> data to a vtkUnstructuredGrid object? Something like the key:value
>> thing in the pipelines?
>
> Isn't that an inherent property of C++? Define
>
> class myUnstructuredGrid : public vtkUnstructuredGrid
> {
> int myNewData;
> }
>
> then pass pointers to myUnstructuredGrid wherever pointers to
> vtkUnstructuredGrid are needed.
>
> Kent
> Pittsburgh Supercomputing Center
I had thought about that but I was not sure how paraview would react
to having MyUnstructuredGrid returned instead of vtkUnstructuredGrid.
I know what _should_ happen assuming kitware abstracted everything
correctly.. just didn't want any surprises.
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
More information about the ParaView
mailing list