[Paraview] Adding some Meta Data to a vtkUnstructuredGrid

Kent Eschenberg eschenbe at psc.edu
Tue Sep 18 16:40:04 EDT 2007


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


More information about the ParaView mailing list