bardsleyta bardsleyta - 1 year ago 97
C++ Question

How to change the size of arrows in VTK?

Short question but is there a function/way of easily changing the sizes of arrows in VTK C++?

I want to do this because I am trying to display a set of arrows all in specific positions that are pretty close to each other but because I can't change the arrow size, the output looks really messy.

At the moment I am using the arrow source objects, adding them to unique actors and then iteratively adding them to the renderer.

Answer Source

You could try to scale the vtkActor using something to the likes of myActor.SetScale(0.5). If all goes well this should scale your arrow size without changing anything else.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download