[vtkusers] Sharing data attributes among several vtk objects?

William Oquendo woquendo at gmail.com
Mon Jan 28 13:21:47 EST 2013


Hi,

I have a simulation of complex bodies where a single complex body can be
though as formed by two planes and 4 spheres. For each of these objects I
have some data attributes to assign (let's say a vector force and a scalar
mass). I want to write a vtk (.vtp?) file to visualize (in Paraview) the
system, and to use the attributes to color/analyse the objects. Since each
object is composed of six primitives (2 planes and 4 spheres), in my
(naive) approach I will need to print the same data attributes to each of
these 6 primitives, which results into a 6x increases in data and
redundancy. I would like to know if there is a better way to print the
object data, like, for example, printing the data per object just once and
then sharing it to each of primitives of the object, or to group the
object's primitives into a group and then assigning the data to the group,
or something better.

Thanks in advance.

-- 

Best regards / Cordialmente,

William-Fernando Oquendo
--------------------------
Este correo puede carecer de tildes o eñes debido al teclado.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130128/c575214f/attachment.htm>


More information about the vtkusers mailing list