<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Oct 25, 2014 at 4:11 PM, Sam Raby <span dir="ltr"><<a href="mailto:rabysam28@gmail.com" target="_blank">rabysam28@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br></div><div><br></div><div>Consider an instant of vtkTubeFilter which has a method named "SetRadius". I was wondering how this Radius is related to millimeter?</div><div><br></div><div>I am using vtkTubeFilter as an example but in general I wanted to know how units are involved in actors.</div></div></blockquote><div><br></div><div>The VTK filters have no units.  It's the same as looking at the</div><div>equation y = m*x + b and asking what the units are:  all you can</div><div>tell for certain is that 'y' and 'b' have the same units, and that 'm'</div><div>has units of 'y/x'.  Other than that, it's up to whoever is using the</div><div>equation to decide on the units.  VTK is the same.</div><div><br></div><div>If you want to use millimeters, then set the radius in millimeters.</div><div>Just make sure that you use millimeters everywhere else, too.</div><div><br></div><div>Also make sure that all the files you load use millimeters.  If they</div><div>don't, you'll have to convert their units before you use them in your</div><div>pipeline.</div><div><br></div></div> - David</div></div>