[vtkusers] Adding tag/text description to an object

Phil Goddard philgoddard at telus.net
Sun Jan 18 19:23:34 EST 2009


With vtkObjects is there a mechanism for storing a textual description
in/with the object?
For instance I want to create a number of vtkStructuredGrids and need to
store a description of each particular object so that I know what that
particular grid represents.

The only field I can see that may suit is vtkInformation (at the
vtkDataObject level), although the doc for those seems to say that they hold
specific information for pipeline execution rather than being for generic
user data.

Can I add my own data to a vtkInformation object?
Is there a different/better way to do what I want?
Are there any examples that I might look at?


Thanks
Phil.





More information about the vtkusers mailing list