Skip to main content
Solved

How to use the PointCloudCombiner parameter «attribute to preserve as component» and to expose it/them for further proccessing ?


Forum|alt.badge.img

Hi everyone,

I have an output from a PointCloudCombiner with 4 components (x, y, z, _distance). The _distance attribute comes from a NeighborFinder. What I want to do with the point cloud is to replace the z component of each point by its _distance value. I tried to use the PointCloudExpressionEvaluator after the PointCloudCombiner but _distance doesn't appear in the component list. I only have access to it as an attribute (not a component) and then get the same z value for each point of the point cloud... But when I check the PointCloudCombiner output in DataInspector I can see by clicking on each point that there is a _distance component that changes with each point. How can I have access to this component for further processing ?

Thanks !

Best answer by jdh

In the PointCloudExpressionEvaluator set the expression to @Component(_distance).

View original
Did this help you find an answer to your question?

2 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • November 18, 2020

In the PointCloudExpressionEvaluator set the expression to @Component(_distance).


Forum|alt.badge.img
jdh wrote:

In the PointCloudExpressionEvaluator set the expression to @Component(_distance).

It works , Thanks a lot !


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings