question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vtkCubeAxesActor2D

See original GitHub issue

I would like to draw axes with labels around the bounding box of my data set, like you can do with vtkCubeAxesActor2D, but I was unable to find this class in vtk.js. Would it be possible to create axes like this with the current functionality in vtk.js or would one have to implement vtkCubeAxesActor2D? In the latter case, do you have any idea how much work it would take to implement this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
xavArtleycommented, Nov 25, 2019

Hello, I made a proof of concept to create axes with vtkjs You can find the source and results here (all is embed in the html): https://xavartley.github.io/#dev/vtkjs/vtk_axes.html

ezgif com-video-to-gif (17)

I don’t know if it’s the best way to do it but I’m open to all suggestions for improvement (First I think about it, is possibility to specify the origin)

Edit: I implemented a grid and possibility to set origin

1reaction
dakercommented, Mar 23, 2021

@jourdain @martinken Should this be closed since we now have vtkCubeAxesActor?

Read more comments on GitHub >

github_iconTop Results From Across the Web

vtkCubeAxesActor2D Class Reference - VTK
vtkCubeAxesActor2D is a composite actor that draws three axes of the bounding box of an input dataset. The axes include labels and titles...
Read more >
VTK/vtkCubeAxesActor2D.cxx at master · Kitware/VTK - GitHub
Mirror of Visualization Toolkit repository. Contribute to Kitware/VTK development by creating an account on GitHub.
Read more >
CubeAxesActor2D
GetPointer()); // Create a vtkCubeAxesActor2D. Use the closest vertex to the camera to // determine where to draw the axes. Add the actor...
Read more >
Python vtkCubeAxesActor2D Examples
Python vtkCubeAxesActor2D - 22 examples found. These are the top rated real world Python examples of vtk.vtkCubeAxesActor2D extracted from open source ...
Read more >
vtkCubeAxesActor2D — MeVisLab documentation
This module wraps the class vtkCubeAxesActor2D to make it usable in MeVisLab. Details¶. Integration type = Wrapped VTK class; Module category = Props;...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found