# How to use vtkAxesTransformWidget to generate 3D widget in VTK scene ?

**URL:** https://discourse.vtk.org/t/how-to-use-vtkaxestransformwidget-to-generate-3d-widget-in-vtk-scene/7189
**Category:** Support
**Created:** [November 16, 2021, 8:34am UTC](https://discourse.vtk.org/t/how-to-use-vtkaxestransformwidget-to-generate-3d-widget-in-vtk-scene/7189 "2021-11-16T08:34:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![heruiyuan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/heruiyuan/32/3770_2.png) [@heruiyuan](https://discourse.vtk.org/u/heruiyuan)
#### Post date: [November 16, 2021, 8:34am UTC](https://discourse.vtk.org/t/how-to-use-vtkaxestransformwidget-to-generate-3d-widget-in-vtk-scene/7189/1 "2021-11-16T08:34:19Z")

</div>

Hi, I just want to generate a widget around an 3D actor, then I interact with the widget to move, rotate, scale the actor or bind other event. The official method is use vtkAxesTransformWidget and vtkAxesTransformRepresentation, but I failed to generate it with "ERROR: In D:\02\_Data\vtk\Rendering\FreeType\vtkVectorText.cxx, line 63  
vtkVectorText (00000203298F2110): Text is not set!

ERROR: In D:\02\_Data\vtk\Common\ExecutionModel\vtkExecutive.cxx, line 753  
vtkCompositeDataPipeline (00000203275235E0): Algorithm vtkVectorText(00000203298F2110) returned failure for request: vtkInformation (000002032AD72A00)  
Debug: Off  
Modified Time: 4315  
Reference Count: 1  
Registered Events: (none)  
Request: REQUEST\_DATA  
FORWARD\_DIRECTION: 0  
ALGORITHM\_AFTER\_FORWARD: 1  
FROM\_OUTPUT\_PORT: 0"

---

<div class="post-metadata">

### Author: ![lujean](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/l/da6949/32.png) [@lujean](https://discourse.vtk.org/u/lujean)
#### Post date: [June 8, 2022, 5:59am UTC](https://discourse.vtk.org/t/how-to-use-vtkaxestransformwidget-to-generate-3d-widget-in-vtk-scene/7189/2 "2022-06-08T05:59:04Z")

</div>

> [@heruiyuan](#):
>
> Text is not set!

I meet the same problem. I look into the code of vtkAxesTransformWidget and think the code is not finished.

---

<div class="post-metadata">

### Author: ![heruiyuan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/heruiyuan/32/3770_2.png) [@heruiyuan](https://discourse.vtk.org/u/heruiyuan)
#### Post date: [June 15, 2022, 5:50am UTC](https://discourse.vtk.org/t/how-to-use-vtkaxestransformwidget-to-generate-3d-widget-in-vtk-scene/7189/3 "2022-06-15T05:50:33Z")

</div>

Need someone to fix?

---

<div class="post-metadata">

### Author: ![DFlyer](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dflyer/32/1598_2.png) [@DFlyer](https://discourse.vtk.org/u/DFlyer)
#### Post date: [June 30, 2023, 12:15pm UTC](https://discourse.vtk.org/t/how-to-use-vtkaxestransformwidget-to-generate-3d-widget-in-vtk-scene/7189/4 "2023-06-30T12:15:31Z")

</div>

Still see this error, is there a different widget available to manipulate the Actor for Translation and rotation? like a move tool?

Thanks!

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [June 24, 2024, 2:19pm UTC](https://discourse.vtk.org/t/how-to-use-vtkaxestransformwidget-to-generate-3d-widget-in-vtk-scene/7189/5 "2024-06-24T14:19:45Z")

</div>

We had lots of issues with the stock VTK widgets in 3D Slicer and we ended up adding a new widget for translating/rotating/scaling objects in 3D and slice views. We have just announced the feature [here](https://discourse.slicer.org/t/new-feature-interactive-transformation-adjustable-center-of-rotation/36974). If you want to render with VTK (especially in the domain of medical imaging) and want to interactively transform objects then you can use this widget in 3D Slicer.

[![](https://discourse.vtk.org/uploads/default/original/2X/2/2a2554394e6e4d59a2770ac6b3d592184ff8ece3.jpeg "Transform Interaction Handles in 3D Slicer") ](https://www.youtube.com/watch?v=ielxgJS-6SI)
