[vtkusers] display tens of thousands of cubes

Alex Southern mrapsouthern at gmail.com
Fri Feb 10 05:34:45 EST 2012


Is possible to set the color of each glyph individually?

i.e. i'd like glyph's with different scaling to have different colors.

On 2/9/2012 3:45 PM, David Doria wrote:
>> 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