[vtkusers] Coloring Glyphs
Bruno da Silva de Oliveira
bruno at esss.com.br
Fri Nov 18 13:51:41 EST 2005
Try to set the range in the mapper.
HTH,
Beau Sapach wrote:
> Hello everyone,
>
> I’m using vtkGlyph3D to represent every point of an image with an
> arrow. The image has vector data attached to it which I’m using to
> orient and scale the arrows, this all works no-problem. When I choose
> to color the arrows using SetColorModeToColorByVector() then all the
> arrows stay blue, all the time. Even if I choose to color by scalar,
> again everything is blue. I can verify that the range of scalar data
> is between 0 and 2000, and the vector data is obviously there because
> orientation and scaling looks correct.
>
> Is there any trick to coloring glyphs? Something that I’m missing? All
> the point data attached to the image is shorts, that is vtkShortArray.
> Does that matter??? Oh, and is there a way of specifying which
> lookuptable to use with the glyph filter?
>
> Beau
>
>------------------------------------------------------------------------
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
Bruno da Silva de Oliveira
bruno at esss.com.br
ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br
More information about the vtkusers
mailing list