On Mon, Jan 30, 2012 at 1:59 PM, David Doria <[email protected]> wrote:
> I have a data set that has a 308D vector associated with the PointData:
>
> descriptors->SetNumberOfComponents(308);
> descriptors->SetName("Descriptors");
> descriptors->SetNumberOfTuples(polyData->GetNumberOfPoints());
> ...
> polyData->GetPointData()->AddArray(descriptors);
>
> I want to apply a Calculator filter to filter the points by their
> descriptor magnitude. In the Calculator filter, I choose
>
> Attribute mode: PointData
>
> Then if I click the "Vectors" drop down box, I see two other vectors
> (colors and coords), but not "Descriptors". If I click on the
> "Scalars" drop down box, I see 308 entries for a single dimension of
> the descriptor vector with their index appended after an underscore
> (ie. Descriptors_0 ...Descriptors_307), but not the whole vector. Is
> there a way to apply a norm(Descriptors) operation in the Calculator
> filter with this data set?

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.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to