Skip to main content
Solved

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

  • November 18, 2020
  • 2 replies
  • 39 views

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).

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

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

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


Forum|alt.badge.img

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

It works , Thanks a lot !