On Mon, Jan 30, 2012 at 1:59 PM, David Doria <<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>> wrote:<br>> I have a data set that has a 308D vector associated with the PointData:<br>><br>> descriptors->SetNumberOfComponents(308);<br>
> descriptors->SetName("Descriptors");<br>> descriptors->SetNumberOfTuples(polyData->GetNumberOfPoints());<br>> ...<br>> polyData->GetPointData()->AddArray(descriptors);<br>><br>> I want to apply a Calculator filter to filter the points by their<br>
> descriptor magnitude. In the Calculator filter, I choose<br>><br>> Attribute mode: PointData<br>><br>> Then if I click the "Vectors" drop down box, I see two other vectors<br>> (colors and coords), but not "Descriptors". If I click on the<br>
> "Scalars" drop down box, I see 308 entries for a single dimension of<br>> the descriptor vector with their index appended after an underscore<br>> (ie. Descriptors_0 ...Descriptors_307), but not the whole vector. Is<br>
> there a way to apply a norm(Descriptors) operation in the Calculator<br>> filter with this data set?<br><div><br></div><div>I found the Auto Convert Properties which lets me threshold the magnitudes directly in the Threshold filter (this is nice!). However, it still seems like you should be able to use the magnitude in a calculator filter.<br>
</div>