[vtkusers] display tens of thousands of cubes

David Doria daviddoria at gmail.com
Thu Feb 9 08:45:23 EST 2012


> Although if you want to represent cubes of different sizes at the same, it
> looks like you need to make as many vtkPoint arrays, vtkGlyph3DMapper's and
> vtkActors as there are cube sizes, but this is no problem.

You can scale the glyphs by an array:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ScaleGlyphs

David



More information about the vtkusers mailing list