[vtkusers] Glyphing vtkImageData scalars (3D) as arrows

David Doria daviddoria at gmail.com
Wed Oct 6 15:53:31 EDT 2010


On Wed, Oct 6, 2010 at 3:36 PM, Jothy <jothybasu at gmail.com> wrote:
> Hi David,
>
> I think it should be solved by calling SetScaleModeToScaleByVector() on
> vtkGlyph3D.
>
> Jothy

That results in no display at all. I think that function is setting
the scale of the glyphs, not the orientation.

I fixed it by doing this:
image->GetPointData()->SetActiveVectors("ImageScalars");

Thanks for your input,

David



More information about the vtkusers mailing list