-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
visulize sequence of point clouds #52
Comments
Hey! Thanks! But what's the function to update points?
I can create a viewer with point + rgb and get a reference to the viewer.
Viewer attributes can change color but not points, or am I missing
something? for a new one I need to call the viewer (create a new viewer)
... I check the functions:
…On Tue, Jun 8, 2021 at 5:39 PM Carlos Vélez García ***@***.***> wrote:
Hey,
You can just initialize the viewer with a given pointcloud and then update
that variable in a loop and it will work because it keeps a reference.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://urldefense.com/v3/__https://github.com/heremaps/pptk/issues/52*issuecomment-856826450__;Iw!!Nmw4Hv0!n0nkcHM0eMpRZmOCUry-dMEPdUeilr00jZIssHQCXSCBfRf3e9s_D4ePbODqNLoVEeYGOZk$>,
or unsubscribe
<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ACJRJRDFUCEPQ67Z6A4ZMZDTRYTSTANCNFSM43RTUEIQ__;!!Nmw4Hv0!n0nkcHM0eMpRZmOCUry-dMEPdUeilr00jZIssHQCXSCBfRf3e9s_D4ePbODqNLoV1MnxVZA$>
.
--
Amani
--
This message and its contents, including attachments are intended solely
for the original recipient. If you are not the intended recipient or have
received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or
distribution is prohibited. Please consider the environment before printing
this email.
|
@iamani From a previous issue, answered by @Merevoli-DatLuu. This answer helped me with what I wanted to do. I believe Question:
Answer:
|
Many thanks! I was looking for this function 🤩
… On 8 Jun 2021, at 10:26 PM, kwsacca ***@***.***> wrote:
From a previous issue, answered by @Merevoli-DatLuu. This answer helped me with what I wanted to do. I believe v.load() is what you want (after updating points of course).
Question:
Is there an API to plot a set of points in real time? Basically I guess I don't want to kill the viewer, but rather add a new set of points and swap the buffer
Answer:
You can invoke load() method instead.
Example:
points = [[1, 1, 1], [1, 1, 2]]
v = pptk.viewer(points)
points.append([1, 1, 3])
v.load(points)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
--
This message and its contents, including attachments are intended solely
for the original recipient. If you are not the intended recipient or have
received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or
distribution is prohibited. Please consider the environment before printing
this email.
|
Hi @kwsacca , thanks for sharing the solution for this task. I just wanted to ask is there any way if we also want the old points to remain along with updating the new points? |
Hi,
I have a sequence of point cloud. I tried pptk to visualize and interact with each cloud but independently (evoking a new viewer). I'm wondering if there's a way to update the current pptk viewer to plot the next point cloud?
Thanks.
The text was updated successfully, but these errors were encountered: