# Support

**URL:** https://discourse.vtk.org/c/support/6.md?page=17

[Latest](https://discourse.vtk.org/latest.md) · [Categories](https://discourse.vtk.org/categories.md) · [Tags](https://discourse.vtk.org/tags.md)

**Page:** 18

---

## [How to subclass vtkColorTransferFunction?](https://discourse.vtk.org/t/how-to-subclass-vtkcolortransferfunction/14853)

<div class="topic-metadata">

**Author:** [@Alouettesu](https://discourse.vtk.org/u/Alouettesu)\
**Replies:** 3\
**Last updated:** [November 13, 2024, 2:45am UTC](https://discourse.vtk.org/t/how-to-subclass-vtkcolortransferfunction/14853 "2024-11-13T02:45:23Z")

</div>

I want to implement custom color calculation for color lookup table. I’ve subclassed vtkColorTransferFunction and overrided GetColor and MapValue functions. But the color has no change, whether I use original vtkColorTra…

---

## [How to display right axis when using vtkChartXY?](https://discourse.vtk.org/t/how-to-display-right-axis-when-using-vtkchartxy/14855)

<div class="topic-metadata">

**Author:** [@yiman](https://discourse.vtk.org/u/yiman)\
**Replies:** 3\
**Last updated:** [November 13, 2024, 1:46am UTC](https://discourse.vtk.org/t/how-to-display-right-axis-when-using-vtkchartxy/14855 "2024-11-13T01:46:55Z")

</div>

Hello everyone. I was wondering how to display right axis of the 2D chart. After test, I found the code like this does not work, left axis still show, and right axis does not appear. code snippet: auto chart = vtkSm…

---

## [Black screen when using vtkRenderWindowInteractor and vtkGenericOpenGLRenderWindow.](https://discourse.vtk.org/t/black-screen-when-using-vtkrenderwindowinteractor-and-vtkgenericopenglrenderwindow/14840)

<div class="topic-metadata">

**Author:** [@Will](https://discourse.vtk.org/u/Will)\
**Replies:** 0\
**Last updated:** [November 9, 2024, 5:40am UTC](https://discourse.vtk.org/t/black-screen-when-using-vtkrenderwindowinteractor-and-vtkgenericopenglrenderwindow/14840 "2024-11-09T05:40:31Z")

</div>

Hi all. I’m learning qt and vtk recently. According to the tutorial in vtk examples, I successfully used vtkGenericOpenGLRenderWindow to draw vtk in qt. Now I want to add MouseEvents. According to the MouseEvents in v…

---

## [SelectVisiblePoints misbehaving after UserMatrix set](https://discourse.vtk.org/t/selectvisiblepoints-misbehaving-after-usermatrix-set/14837)

<div class="topic-metadata">

**Author:** [@at6sbt](https://discourse.vtk.org/u/at6sbt)\
**Replies:** 0\
**Last updated:** [November 8, 2024, 5:45pm UTC](https://discourse.vtk.org/t/selectvisiblepoints-misbehaving-after-usermatrix-set/14837 "2024-11-08T17:45:41Z")

</div>

Hi, I’m trying to use vtkSelectVisiblePoints on a vtkActor that has been moved through setUserMatrix, but I cannot manage to make it work as intended. With the code below, I press the “space” key to obtain the number o…

---

## [Implmentation of flying-edges.](https://discourse.vtk.org/t/implmentation-of-flying-edges/14806)

<div class="topic-metadata">

**Author:** [@Anant\_Bharti](https://discourse.vtk.org/u/Anant_Bharti)\
**Replies:** 7\
**Last updated:** [November 7, 2024, 10:21am UTC](https://discourse.vtk.org/t/implmentation-of-flying-edges/14806 "2024-11-07T10:21:17Z")

</div>

Hi, I am trying to implement flying-edges. Can somebody help me? I am working on a software which previously using marching cubes and I am shifting it flying-edges. (3d). Is this the right place to ask a question here?

---

## [reading files from sourceDir rather than sourceDir/build/project.app/Contents/MacOS/](https://discourse.vtk.org/t/reading-files-from-sourcedir-rather-than-sourcedir-build-project-app-contents-macos/14829)

<div class="topic-metadata">

**Author:** [@RoyMultiC](https://discourse.vtk.org/u/RoyMultiC)\
**Replies:** 3\
**Last updated:** [November 7, 2024, 6:59am UTC](https://discourse.vtk.org/t/reading-files-from-sourcedir-rather-than-sourcedir-build-project-app-contents-macos/14829 "2024-11-07T06:59:13Z")

</div>

Hi everyone, I’m currently working on the example from \[https://examples.vtk.org/site/Cxx/IO/ReadSTL/\]. I noticed that the STL files are only successfully read when I place them in the directory: /source/cmake-build-deb…

---

## [Issue with Mouse Move Interaction in Release Mode Using VTK 8.2](https://discourse.vtk.org/t/issue-with-mouse-move-interaction-in-release-mode-using-vtk-8-2/14825)

<div class="topic-metadata">

**Author:** [@sreerajrs\_cdac](https://discourse.vtk.org/u/sreerajrs_cdac)\
**Replies:** 1\
**Last updated:** [November 6, 2024, 1:56pm UTC](https://discourse.vtk.org/t/issue-with-mouse-move-interaction-in-release-mode-using-vtk-8-2/14825 "2024-11-06T13:56:10Z")

</div>

Hi There, I am encountering an issue with my project involving VTK 8.2 in Qt C++ environment. Specifically, when running my code in debug mode, all functionalities, including the mouse move interaction for dragging a 3…

---

## [Using IndexedLookUp color in volume rendering](https://discourse.vtk.org/t/using-indexedlookup-color-in-volume-rendering/14807)

<div class="topic-metadata">

**Author:** [@huaweiping](https://discourse.vtk.org/u/huaweiping)\
**Replies:** 7\
**Last updated:** [November 5, 2024, 6:31pm UTC](https://discourse.vtk.org/t/using-indexedlookup-color-in-volume-rendering/14807 "2024-11-05T18:31:52Z")

</div>

Hi there, I’m working on a volume rendering task in a 3D dataset. Points in the dataset have already been clustered as individual objects, and my work is to visualize individual objects with different colors. Since I n…

---

## [VTK draw-camera](https://discourse.vtk.org/t/vtk-draw-camera/14728)

<div class="topic-metadata">

**Author:** [@gistam](https://discourse.vtk.org/u/gistam)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 3:04pm UTC](https://discourse.vtk.org/t/vtk-draw-camera/14728 "2024-11-05T15:04:22Z")

</div>

I am trying to create a drawing scene using VTK modules. I have created axes and grid planes with a minimum point of (0.0,0.0,0.0) and a maximum point of (10.0,10.0,10.0). By resetting the camera, the user appears to be …

---

## [vtkPassInputTypeAlgorithm : Skip computation if inputs are not modified from last compute ?](https://discourse.vtk.org/t/vtkpassinputtypealgorithm-skip-computation-if-inputs-are-not-modified-from-last-compute/14823)

<div class="topic-metadata">

**Author:** [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)\
**Replies:** 0\
**Last updated:** [November 5, 2024, 1:28am UTC](https://discourse.vtk.org/t/vtkpassinputtypealgorithm-skip-computation-if-inputs-are-not-modified-from-last-compute/14823 "2024-11-05T01:28:50Z")

</div>

I am exploring subclassing vtkPassInputTypeAlgorithm for some custom node-graph like processing since vtkExecutive view them as a pipeline When implementing vtkTypeBool vtkPassInputTypeAlgorithm::ProcessRequest ( vtkIn…

---

## [About draw a cylindeical ring , use boolean operation](https://discourse.vtk.org/t/about-draw-a-cylindeical-ring-use-boolean-operation/14792)

<div class="topic-metadata">

**Author:** [@nanoahSR](https://discourse.vtk.org/u/nanoahSR)\
**Replies:** 1\
**Last updated:** [November 2, 2024, 8:52pm UTC](https://discourse.vtk.org/t/about-draw-a-cylindeical-ring-use-boolean-operation/14792 "2024-11-02T20:52:41Z")

</div>

I want to use boolean operations to draw a cylinder ring: create two cylinder, use vtkTrianglefilters, and then Boolean operations, but why is that? code: // Function to create a cylinder vtkSmartPointer\<vtkPolyData\>…

---

## [Strange effect with unstructured mesh edges ON and high zoom levels](https://discourse.vtk.org/t/strange-effect-with-unstructured-mesh-edges-on-and-high-zoom-levels/14817)

<div class="topic-metadata">

**Author:** [@santichialvo](https://discourse.vtk.org/u/santichialvo)\
**Replies:** 0\
**Last updated:** [November 2, 2024, 8:33pm UTC](https://discourse.vtk.org/t/strange-effect-with-unstructured-mesh-edges-on-and-high-zoom-levels/14817 "2024-11-02T20:33:10Z")

</div>

Hi everyone, I have a strange behavior with a simple unstructured mesh loaded as poly data, with the actor’s property edges visibility ON. It displays OK, however, when I start doing high zoom levels into specific eleme…

---

## [vtkAxisActor2D() ticks on both sides with n distance](https://discourse.vtk.org/t/vtkaxisactor2d-ticks-on-both-sides-with-n-distance/14810)

<div class="topic-metadata">

**Author:** [@hs\_hs](https://discourse.vtk.org/u/hs_hs)\
**Replies:** 0\
**Last updated:** [November 2, 2024, 8:43am UTC](https://discourse.vtk.org/t/vtkaxisactor2d-ticks-on-both-sides-with-n-distance/14810 "2024-11-02T08:43:28Z")

</div>

def create\_ruler\_in(x1, y1, x2, y2,title="",tick\_dis=10): ruler = pv.plotting.\_vtk.vtkAxisActor2D() ruler.GetPositionCoordinate().SetCoordinateSystemToDisplay() ruler.GetP…

---

## [I Have a question with this vtkOutputWindow with vtk version 9.4.0](https://discourse.vtk.org/t/i-have-a-question-with-this-vtkoutputwindow-with-vtk-version-9-4-0/14802)

<div class="topic-metadata">

**Author:** [@Etzka](https://discourse.vtk.org/u/Etzka)\
**Replies:** 0\
**Last updated:** [November 1, 2024, 8:41am UTC](https://discourse.vtk.org/t/i-have-a-question-with-this-vtkoutputwindow-with-vtk-version-9-4-0/14802 "2024-11-01T08:41:03Z")

</div>

Hi, I have run a vtk program to render a image like this, and I do have the desired result, that is, when running my vtk program it dose show the window on where my expected image present. But before the result arise, …

---

## [registration using ICP](https://discourse.vtk.org/t/registration-using-icp/14788)

<div class="topic-metadata">

**Author:** [@maedeh\_kafiyan\_safar](https://discourse.vtk.org/u/maedeh_kafiyan_safar)\
**Replies:** 0\
**Last updated:** [October 30, 2024, 3:13pm UTC](https://discourse.vtk.org/t/registration-using-icp/14788 "2024-10-30T15:13:53Z")

</div>

I’m using ICP (Iterative Closest Point) to register a set of points to the surface of a leg bone object. instead of bone I simplify it to a cylinder shape. The registration process involves two main steps: Coarse Regi…

---

## [Edit the text property of vtkAnnotatedCubeActor](https://discourse.vtk.org/t/edit-the-text-property-of-vtkannotatedcubeactor/14795)

<div class="topic-metadata">

**Author:** [@Hedwig\_Huang](https://discourse.vtk.org/u/Hedwig_Huang)\
**Replies:** 1\
**Last updated:** [October 31, 2024, 10:24am UTC](https://discourse.vtk.org/t/edit-the-text-property-of-vtkannotatedcubeactor/14795 "2024-10-31T10:24:08Z")

</div>

I tried to make vtkAnnotatedCubeActor to display Chinese and some other languages, but I found that it’s not realistic to just SetXPlusFaceText(\*\*Other font\*\*) like this. So I refers to use vtkTextActor to display chines…

---

## [Can't use vtkExternalOpenGLRenderer - vtkRenderingExternalModule.h is missing](https://discourse.vtk.org/t/cant-use-vtkexternalopenglrenderer-vtkrenderingexternalmodule-h-is-missing/14790)

<div class="topic-metadata">

**Author:** [@Seb-surgar](https://discourse.vtk.org/u/Seb-surgar)\
**Replies:** 2\
**Last updated:** [October 31, 2024, 9:05am UTC](https://discourse.vtk.org/t/cant-use-vtkexternalopenglrenderer-vtkrenderingexternalmodule-h-is-missing/14790 "2024-10-31T09:05:01Z")

</div>

Hello, I am on ubuntu and I can’t use the vtkExternalOpenGLRenderer (or other vtkExternal… class) because the file vtkRenderingExternalModule.h is missing. Is this file supposed to be automatically generated during bui…

---

## [vtkImageReslice with vtkBoxWidget](https://discourse.vtk.org/t/vtkimagereslice-with-vtkboxwidget/14776)

<div class="topic-metadata">

**Author:** [@Edoardo\_Pasca](https://discourse.vtk.org/u/Edoardo_Pasca)\
**Replies:** 2\
**Last updated:** [October 30, 2024, 9:24pm UTC](https://discourse.vtk.org/t/vtkimagereslice-with-vtkboxwidget/14776 "2024-10-30T21:24:50Z")

</div>

Hi, I am trying to reslice a vtkImageData with an interactive vtkBoxWidget. Once the box is placed correctly, I pass the vtkTransform obtained from the box widget to vtkImageReslice. My tests are with VTK 9.2.6 from co…

---

## [vtkPlaneWidget handle size](https://discourse.vtk.org/t/vtkplanewidget-handle-size/13567)

<div class="topic-metadata">

**Author:** [@codeling](https://discourse.vtk.org/u/codeling)\
**Replies:** 4\
**Last updated:** [October 29, 2024, 2:35pm UTC](https://discourse.vtk.org/t/vtkplanewidget-handle-size/13567 "2024-10-29T14:35:58Z")

</div>

I’m trying to use vtkPlaneWidget, but the handle size adjustment does not work for my use case - it does not adapt properly to modified plane parameters. From looking at the code in the vtkPlaneWidget::SizeHandles() meth…

---

## [Installation problem](https://discourse.vtk.org/t/installation-problem/14781)

<div class="topic-metadata">

**Author:** [@Zhao\_liu](https://discourse.vtk.org/u/Zhao_liu)\
**Replies:** 1\
**Last updated:** [October 29, 2024, 12:33pm UTC](https://discourse.vtk.org/t/installation-problem/14781 "2024-10-29T12:33:37Z")

</div>

When I install the vtk use “pip3 install vtk” there is a error: ERROR: Could not find a version that satisfies the requirement vtk (from versions: none) ERROR: No matching distribution found for vtk. How to solve this…

---

## [raycasting initially renders at low resolution](https://discourse.vtk.org/t/raycasting-initially-renders-at-low-resolution/582)

<div class="topic-metadata">

**Author:** [@msmerps](https://discourse.vtk.org/u/msmerps)\
**Replies:** 14\
**Last updated:** [October 28, 2024, 12:03pm UTC](https://discourse.vtk.org/t/raycasting-initially-renders-at-low-resolution/582 "2024-10-28T12:03:45Z")

</div>

Hi VTK-experts, I’m working on an app for viewing CT scans in 3D or 2D. When I initially render the CT scan in 3D, the raycast rendering looks great (see the attached normalResolution.png). However, when I switch from a…

---

## [Can't turn off or capture INFO messages from vtkCutter in Python](https://discourse.vtk.org/t/cant-turn-off-or-capture-info-messages-from-vtkcutter-in-python/14227)

<div class="topic-metadata">

**Author:** [@michaelhogg](https://discourse.vtk.org/u/michaelhogg)\
**Replies:** 5\
**Last updated:** [October 28, 2024, 2:13am UTC](https://discourse.vtk.org/t/cant-turn-off-or-capture-info-messages-from-vtkcutter-in-python/14227 "2024-10-28T02:13:02Z")

</div>

Hi all, I’m using a vtkCutter in Python to cut polydata with a plane and getting INFO output everytime I update the cutter. For example: e\[0me\[2m2024-07-14 16:29:49.498 ( 1.109s) \[ 722103\]vtkPolyDataPlaneCut…

---

## [Internal compiler error and cannot open input file named vtkioss-9.2.lib on windows](https://discourse.vtk.org/t/internal-compiler-error-and-cannot-open-input-file-named-vtkioss-9-2-lib-on-windows/11543)

<div class="topic-metadata">

**Author:** [@zhuofalin](https://discourse.vtk.org/u/zhuofalin)\
**Replies:** 8\
**Last updated:** [October 26, 2024, 7:49am UTC](https://discourse.vtk.org/t/internal-compiler-error-and-cannot-open-input-file-named-vtkioss-9-2-lib-on-windows/11543 "2024-10-26T07:49:21Z")

</div>

I am compiling VTK on the window10 machine, and have encountered several problems. \[Environment: window10, vs2022, cmake\] 1.Internal compiler error. Severity Code Description Project File Line Suppression State Error C…

---

## [Seeking Advice: Making stunning visuals from my CT Chest Scan](https://discourse.vtk.org/t/seeking-advice-making-stunning-visuals-from-my-ct-chest-scan/14741)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 3:38pm UTC](https://discourse.vtk.org/t/seeking-advice-making-stunning-visuals-from-my-ct-chest-scan/14741 "2024-10-22T15:38:16Z")

</div>

Hey everyone! I recently had a CT Coronary scan done, and I’ve been exploring ways to visualize the data using the VTK ecosystem. I have the DICOM series from the scan and have successfully generated a 3D volume for visu…

---

## [Pyside6 renderer resetCamera issue.](https://discourse.vtk.org/t/pyside6-renderer-resetcamera-issue/14751)

<div class="topic-metadata">

**Author:** [@Mordrago](https://discourse.vtk.org/u/Mordrago)\
**Replies:** 0\
**Last updated:** [October 22, 2024, 6:28am UTC](https://discourse.vtk.org/t/pyside6-renderer-resetcamera-issue/14751 "2024-10-22T06:28:17Z")

</div>

Hello! I want to create multi renderer like image belowe: I created it by QVTKRenderWindowInteractor and a code belowe: def \_\_set\_multiple\_view\_port(self) -\> None: """.""" xmins = \[0, .5, 0, .5\]…

---

## [All cpps with "#include \<vtkAxis.h\>" will report compilation error: expected identifier before numeric constant](https://discourse.vtk.org/t/all-cpps-with-include-vtkaxis-h-will-report-compilation-error-expected-identifier-before-numeric-constant/14733)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 4\
**Last updated:** [October 21, 2024, 11:51am UTC](https://discourse.vtk.org/t/all-cpps-with-include-vtkaxis-h-will-report-compilation-error-expected-identifier-before-numeric-constant/14733 "2024-10-21T11:51:52Z")

</div>

Hi ,I have a large cmake-based project which keeps report this compilation error: \<command-line\>: error: expected identifier before numeric constant compilation terminated due to -Wfatal-errors. make\[2\]: \*\*\* \[CMakeFiles…

---

## [How to start a C# project with VTK](https://discourse.vtk.org/t/how-to-start-a-c-project-with-vtk/14457)

<div class="topic-metadata">

**Author:** [@petr.raunigr](https://discourse.vtk.org/u/petr.raunigr)\
**Replies:** 8\
**Last updated:** [October 21, 2024, 8:43am UTC](https://discourse.vtk.org/t/how-to-start-a-c-project-with-vtk/14457 "2024-10-21T08:43:02Z")

</div>

Hello, I’ll be completely honest… I’m lost and I need your help. I try to utilize VTK in my upcoming C# project and so far I was unable to properly set up my project. So far I did this: https://gitlab.kitware.com/vtk/v…

---

## [Negative values in vtkCamera projection transform breaks GPU volume raycast mapper](https://discourse.vtk.org/t/negative-values-in-vtkcamera-projection-transform-breaks-gpu-volume-raycast-mapper/14593)

<div class="topic-metadata">

**Author:** [@Jeremy](https://discourse.vtk.org/u/Jeremy)\
**Replies:** 8\
**Last updated:** [October 18, 2024, 4:41pm UTC](https://discourse.vtk.org/t/negative-values-in-vtkcamera-projection-transform-breaks-gpu-volume-raycast-mapper/14593 "2024-10-18T16:41:14Z")

</div>

Hi everyone, I’m having issues with the vtkOpenGLGPUVolumeRayCastMapper class. What seems to work with the vtkFixedPointVolumeRaycastMapper doesn’t seem to work with the GPU variant. To be more precise, I’m flipping th…

---

## [Unable to capture clicked event from vtkQWidgetWidget](https://discourse.vtk.org/t/unable-to-capture-clicked-event-from-vtkqwidgetwidget/14700)

<div class="topic-metadata">

**Author:** [@vishalkumar2222](https://discourse.vtk.org/u/vishalkumar2222)\
**Replies:** 5\
**Last updated:** [October 18, 2024, 2:30pm UTC](https://discourse.vtk.org/t/unable-to-capture-clicked-event-from-vtkqwidgetwidget/14700 "2024-10-18T14:30:29Z")

</div>

I’m unable to capture any event from vtkQWidgetWidget to Qt Widgets. Here is the code class CustomInteractorStyle : public vtkInteractorStyleTrackballCamera { public: static CustomInteractorStyle\* New() { return ne…

---

## [vtkXMLPStructuredGridWriter writting pieces twice](https://discourse.vtk.org/t/vtkxmlpstructuredgridwriter-writting-pieces-twice/14732)

<div class="topic-metadata">

**Author:** [@curiouspeaceful](https://discourse.vtk.org/u/curiouspeaceful)\
**Replies:** 0\
**Last updated:** [October 17, 2024, 8:49am UTC](https://discourse.vtk.org/t/vtkxmlpstructuredgridwriter-writting-pieces-twice/14732 "2024-10-17T08:49:43Z")

</div>

Dear all, Newbie here, I’m trying to use VTK to write results of a simulation on a structured grid. The calculations are done in parallel in distributed memory so I’m trying to write them using the vtkXMLPStructuredGrid…

[Previous page](https://discourse.vtk.org/c/support/6.md?page=16)

[Next page](https://discourse.vtk.org/c/support/6.md?page=18)
