glance icon indicating copy to clipboard operation
glance copied to clipboard

Anatomical structure grabbing, supporting the grabbing of various parts of the model instead of moving it as a whole. Thank you very much

Open linhuanfengQ opened this issue 1 year ago • 6 comments

linhuanfengQ avatar Jan 22 '24 04:01 linhuanfengQ

Do you mean being able to manipulate individual geometries interactively? In what manner?

floryst avatar Jan 22 '24 17:01 floryst

For example, when a button is turned on, a single file can be selected on the screen and then dragged. It's just a change in the translate attribute of a single file

linhuanfengQ avatar Jan 30 '24 02:01 linhuanfengQ

[email protected] This is my email, paid to address my needs. Thank you.

linhuanfengQ avatar Jan 30 '24 02:01 linhuanfengQ

This is doable, but I don't have availability currently to take this on. I can give you pointers of where to start if you'd like to try.

floryst avatar Feb 13 '24 18:02 floryst

This is doable, but I don't have availability currently to take this on. I can give you pointers of where to start if you'd like to try. Hello, thank you very much. I am eager to receive your guidance!

Here is my core code, and now I have a serious problem: I have picked up many actors, but I cannot determine which one is what I want. What I want is the outermost model, but I cannot know which one is the outermost model

      const picker = vtkInstance();
      for (let i = 0; i < this.view.getRenderer().getActors().length; i++) {
        const element = this.view.getRenderer().getActors()[i];
        picker.addPickList(element);
      }
      picker.pick(pos, this.view.getRenderer());
      picker.getActors()

linhuanfengQ avatar May 11 '24 06:05 linhuanfengQ

The outermost model will likely be your first actor in the list, as I'm pretty sure the actors are ordered based on intersection ordering starting from the camera.

floryst avatar May 13 '24 21:05 floryst