# Support

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

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

**Page:** 157

---

## [problem accessing vtkPolyData info from vtkTransformPolyDataFilter](https://discourse.vtk.org/t/problem-accessing-vtkpolydata-info-from-vtktransformpolydatafilter/992)

<div class="topic-metadata">

**Author:** [@Michele](https://discourse.vtk.org/u/Michele)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 5:57pm UTC](https://discourse.vtk.org/t/problem-accessing-vtkpolydata-info-from-vtktransformpolydatafilter/992 "2019-05-20T17:57:40Z")

</div>

Hi everybody. I was using VTK 5.10 and decided to move to newer version. I found that there was a Migration/Replacement of SetInput and modified accordingly my code. In terms of Polydata visualization, everything works…

---

## [Colors of vtkAnnotatedCubeActor faces (with vtkOrientationMarkerWidget)](https://discourse.vtk.org/t/colors-of-vtkannotatedcubeactor-faces-with-vtkorientationmarkerwidget/934)

<div class="topic-metadata">

**Author:** [@Marco](https://discourse.vtk.org/u/Marco)\
**Replies:** 8\
**Last updated:** [May 18, 2019, 10:34pm UTC](https://discourse.vtk.org/t/colors-of-vtkannotatedcubeactor-faces-with-vtkorientationmarkerwidget/934 "2019-05-18T22:34:22Z")

</div>

Hi all. In my VTK 3D scene, I am using a vtkOrientationMarkerWidget which in turn uses a vtkAnnotatedCubeActor as the widget’s vtkProp. I have an apparently-trivial question: how to customize the colors of this cube’s …

---

## [QVTKOpenGLWidget: simple animation does not work in a repository version of VTK.](https://discourse.vtk.org/t/qvtkopenglwidget-simple-animation-does-not-work-in-a-repository-version-of-vtk/988)

<div class="topic-metadata">

**Author:** [@sdobashi](https://discourse.vtk.org/u/sdobashi)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 1:32am UTC](https://discourse.vtk.org/t/qvtkopenglwidget-simple-animation-does-not-work-in-a-repository-version-of-vtk/988 "2019-05-20T01:32:01Z")

</div>

Hello everyone, A simple animation like “rotating cone” (VTK\\Examples\\Tutorial\\Step1\\Cxx\\Cone.cxx) does not properly work in a recent repository version of VTK if I use QVTKOpenGLWidget, while it properly works in VTK…

---

## [Texture + Poly Data with UVs from PolyData with Scalars](https://discourse.vtk.org/t/texture-poly-data-with-uvs-from-polydata-with-scalars/980)

<div class="topic-metadata">

**Author:** [@Andrew](https://discourse.vtk.org/u/Andrew)\
**Replies:** 2\
**Last updated:** [May 18, 2019, 1:02am UTC](https://discourse.vtk.org/t/texture-poly-data-with-uvs-from-polydata-with-scalars/980 "2019-05-18T01:02:51Z")

</div>

Does VTK have a filter that will accept vtkPolyData input with scalars and output vtkPolyData with UV coordinates + vtkImageData texture mapped from the scalars? If so what is it called? I have not been able to find such…

---

## [Question about vtkChartXY](https://discourse.vtk.org/t/question-about-vtkchartxy/981)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 7:35am UTC](https://discourse.vtk.org/t/question-about-vtkchartxy/981 "2019-05-17T07:35:19Z")

</div>

Hi all. I have a question about the properties of the vtkChartXY. Question1) I want to change the color of the axis’s label. I think the ① is the ‘label’, and ② is the ‘title’. So, I tried to test the code as belo…

---

## [Where is the vtkContextView header file?](https://discourse.vtk.org/t/where-is-the-vtkcontextview-header-file/977)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 12:38am UTC](https://discourse.vtk.org/t/where-is-the-vtkcontextview-header-file/977 "2019-05-17T00:38:18Z")

</div>

Hi all. I have a question about vtkContextView. environment SDK: VTK 8.9 IDE: Visual Studio 2015 OS: Windows 7 x64 I want to run the Line plot sample code. But the compiler can’t find vtkContextView header file. …

---

## [Multi-configuration from installed VTK](https://discourse.vtk.org/t/multi-configuration-from-installed-vtk/978)

<div class="topic-metadata">

**Author:** [@Sunderlandkyl](https://discourse.vtk.org/u/Sunderlandkyl)\
**Replies:** 4\
**Last updated:** [May 16, 2019, 8:55pm UTC](https://discourse.vtk.org/t/multi-configuration-from-installed-vtk/978 "2019-05-16T20:55:25Z")

</div>

Hi all, Recently we’ve found that our current setup in Plus is unable to support multi-configuration builds with installed VTK. Is there a way to set up our CMake so that this is possible? (Related Plus issue.) @lass…

---

## [weird behaviour for a vtkimagereslice image to render in the full viewport](https://discourse.vtk.org/t/weird-behaviour-for-a-vtkimagereslice-image-to-render-in-the-full-viewport/973)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 1\
**Last updated:** [May 16, 2019, 10:05am UTC](https://discourse.vtk.org/t/weird-behaviour-for-a-vtkimagereslice-image-to-render-in-the-full-viewport/973 "2019-05-16T10:05:06Z")

</div>

Hi everybody, I would like to render the image with maximum zoom to the full viewport. I am using \[ vtkImageResliceViewer which has the same problem as vtkimageViewer2. For the axial image obtained by default i use the…

---

## [VTK\_MODULE\_INIT help](https://discourse.vtk.org/t/vtk-module-init-help/972)

<div class="topic-metadata">

**Author:** [@langer](https://discourse.vtk.org/u/langer)\
**Replies:** 3\
**Last updated:** [May 16, 2019, 12:58am UTC](https://discourse.vtk.org/t/vtk-module-init-help/972 "2019-05-16T00:58:20Z")

</div>

Hi – I have a C++ project that doesn’t use cmake, so vtk modules are loaded by explicitly listing the libraries in the linker arguments and using VTK\_MODULE\_INIT calls in the code. What is the best way to figure out wh…

---

## [How to change the color of the Point Cloud Data?](https://discourse.vtk.org/t/how-to-change-the-color-of-the-point-cloud-data/942)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 1\
**Last updated:** [May 15, 2019, 11:53pm UTC](https://discourse.vtk.org/t/how-to-change-the-color-of-the-point-cloud-data/942 "2019-05-15T23:53:38Z")

</div>

Hi all. This is my 2nd question about VTK! :slight\_smile: Last time, I have inquired on loading the PLY file. link: https://discourse.vtk.org/t/the-ply-file-is-not-working/924 I can change the color of Point Cloud Da…

---

## [Advice required: is VTK the right choice for my application?](https://discourse.vtk.org/t/advice-required-is-vtk-the-right-choice-for-my-application/893)

<div class="topic-metadata">

**Author:** [@jean](https://discourse.vtk.org/u/jean)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 7:51pm UTC](https://discourse.vtk.org/t/advice-required-is-vtk-the-right-choice-for-my-application/893 "2019-05-15T19:51:53Z")

</div>

Hi everyone. First post here. I am about to develop a huge application to visualize 3D datasets from different technologies, and I am wondering if I could get some advice to make sure that VTK is the right choice for wh…

---

## [How to print a list of vertices' location and IDs using python?](https://discourse.vtk.org/t/how-to-print-a-list-of-vertices-location-and-ids-using-python/965)

<div class="topic-metadata">

**Author:** [@Wenye\_He](https://discourse.vtk.org/u/Wenye_He)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 6:30pm UTC](https://discourse.vtk.org/t/how-to-print-a-list-of-vertices-location-and-ids-using-python/965 "2019-05-15T18:30:27Z")

</div>

Hello, I am new to VTK. I want to print a list of vertices’ location and IDs from an imported mesh. For a list of vertices, I have to loop “GetPoint(i)”…? For a list of IDs, “GetPointIds” return the list of point ids…

---

## [Applying lighting to texture](https://discourse.vtk.org/t/applying-lighting-to-texture/694)

<div class="topic-metadata">

**Author:** [@graphicsmonkey](https://discourse.vtk.org/u/graphicsmonkey)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 2:16am UTC](https://discourse.vtk.org/t/applying-lighting-to-texture/694 "2019-05-15T02:16:59Z")

</div>

In a previous project we used a OpenGL fragment shader to apply lighting effect to an input texture. E.g. the final color of the fragment was the source texture multiplied by the lighting value calculated in the fragment…

---

## [SetOpacity on Actor2D](https://discourse.vtk.org/t/setopacity-on-actor2d/963)

<div class="topic-metadata">

**Author:** [@Marcel\_Santos](https://discourse.vtk.org/u/Marcel_Santos)\
**Replies:** 0\
**Last updated:** [May 15, 2019, 12:13am UTC](https://discourse.vtk.org/t/setopacity-on-actor2d/963 "2019-05-15T00:13:09Z")

</div>

Hello, I often use actor-\>GetProperty()-\>SetOpacity(opacity); with the standard vtkActor. However, I notice that whenever I try to call the same method to set the opacity of vtkActor2D’s, it turns out that there is no…

---

## [Detect and extract disjoint portions of the dataset](https://discourse.vtk.org/t/detect-and-extract-disjoint-portions-of-the-dataset/959)

<div class="topic-metadata">

**Author:** [@amit112amit](https://discourse.vtk.org/u/amit112amit)\
**Replies:** 1\
**Last updated:** [May 14, 2019, 8:20pm UTC](https://discourse.vtk.org/t/detect-and-extract-disjoint-portions-of-the-dataset/959 "2019-05-14T20:20:06Z")

</div>

Hi. I have a 3D surface mesh (unstructured grid) with periodic boundary conditions as shown below: I clipped it using the scalar values and got four separated domains: In this pictures there are four domains in 4 …

---

## [Behavior of MTime after it gets reset due to continuous changes or running a long session](https://discourse.vtk.org/t/behavior-of-mtime-after-it-gets-reset-due-to-continuous-changes-or-running-a-long-session/847)

<div class="topic-metadata">

**Author:** [@scbiradar](https://discourse.vtk.org/u/scbiradar)\
**Replies:** 8\
**Last updated:** [May 14, 2019, 3:33pm UTC](https://discourse.vtk.org/t/behavior-of-mtime-after-it-gets-reset-due-to-continuous-changes-or-running-a-long-session/847 "2019-05-14T15:33:10Z")

</div>

I am using a vtkCutter with a vtkPlane as the Cut function to visualize a dataset. I am running a loop where I continuously modify the cut plane’s origin/normal. Everything works fine till the Modified Time of the cut p…

---

## [Unable to build vtkAcceleratorsVTKm with CUDA using VTK Release on Visual Studio 2015 / Windows 10](https://discourse.vtk.org/t/unable-to-build-vtkacceleratorsvtkm-with-cuda-using-vtk-release-on-visual-studio-2015-windows-10/133)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.vtk.org/u/Shan)\
**Replies:** 12\
**Last updated:** [May 14, 2019, 11:52am UTC](https://discourse.vtk.org/t/unable-to-build-vtkacceleratorsvtkm-with-cuda-using-vtk-release-on-visual-studio-2015-windows-10/133 "2019-05-14T11:52:17Z")

</div>

I am getting the following output/error in Visual Studio 2015 when trying to build the vtkAcceleratorsVTKm project generated by cmake: 90\> D:\\VTK\_build\\Accelerators\\Vtkm\>“C:\\Program Files\\NVIDIA GPU Computing To…

---

## [How to disable the dragging option of vtkOrientationMarkerWidget?](https://discourse.vtk.org/t/how-to-disable-the-dragging-option-of-vtkorientationmarkerwidget/946)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 2\
**Last updated:** [May 14, 2019, 5:30am UTC](https://discourse.vtk.org/t/how-to-disable-the-dragging-option-of-vtkorientationmarkerwidget/946 "2019-05-14T05:30:53Z")

</div>

Hi all. I have a simple question about dragging option of vtkOrientationMarkerWidget. I want to disable the dragging option. (I attached the image file, it indicates the dragging box of vtkOrientationMarkerWidget.) C…

---

## [Rendering a time sequence of volumes](https://discourse.vtk.org/t/rendering-a-time-sequence-of-volumes/788)

<div class="topic-metadata">

**Author:** [@guillaumedavidphd](https://discourse.vtk.org/u/guillaumedavidphd)\
**Replies:** 8\
**Last updated:** [May 13, 2019, 2:55pm UTC](https://discourse.vtk.org/t/rendering-a-time-sequence-of-volumes/788 "2019-05-13T14:55:25Z")

</div>

Hi All, I’m new around here, and also new to VTK so bear with me. I have a series of vti files of an object. The series describes the movement of the object. I would like to render the series as an animation. So far I’v…

---

## [create tetrahedral from a set of points using vtkDelaunay3D](https://discourse.vtk.org/t/create-tetrahedral-from-a-set-of-points-using-vtkdelaunay3d/938)

<div class="topic-metadata">

**Author:** [@Ida](https://discourse.vtk.org/u/Ida)\
**Replies:** 4\
**Last updated:** [May 12, 2019, 10:10am UTC](https://discourse.vtk.org/t/create-tetrahedral-from-a-set-of-points-using-vtkdelaunay3d/938 "2019-05-12T10:10:11Z")

</div>

Hi, How do I create tetrahedral from a set of points using vtkDelaunay3D? This is what I have come up with so far. vtkDelaunay3D\* getDelaunayTets; // create instance of vtkDelaunay3D vtkPoints\* points; points=vtkPoin…

---

## [Linking error: Undefined reference to \<vtkInteractor-derived class\>::New(). All VTK libraries linked, I suppose.](https://discourse.vtk.org/t/linking-error-undefined-reference-to-vtkinteractor-derived-class-new-all-vtk-libraries-linked-i-suppose/949)

<div class="topic-metadata">

**Author:** [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)\
**Replies:** 2\
**Last updated:** [May 10, 2019, 12:14pm UTC](https://discourse.vtk.org/t/linking-error-undefined-reference-to-vtkinteractor-derived-class-new-all-vtk-libraries-linked-i-suppose/949 "2019-05-10T12:14:19Z")

</div>

Greetings, all, I’m trying to compile the code below: #ifndef V3DMOUSEINTERACTORSTYLE\_H #define V3DMOUSEINTERACTORSTYLE\_H #include \<vtkObjectFactory.h\> #include \<vtkInteractorStyleTrackballCamera.h\> class v3dMouseInte…

---

## [Packaging with an installed version of VTK](https://discourse.vtk.org/t/packaging-with-an-installed-version-of-vtk/933)

<div class="topic-metadata">

**Author:** [@Sunderlandkyl](https://discourse.vtk.org/u/Sunderlandkyl)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 12:11pm UTC](https://discourse.vtk.org/t/packaging-with-an-installed-version-of-vtk/933 "2019-05-10T12:11:01Z")

</div>

Previously in Plus, we built VTK and set VTK\_DIR to the binary directory. In order to reduce the command length for rc.exe (due to the large number of additional include directories), we decided to install VTK and then s…

---

## [vtkImageResliceViewer - How to use](https://discourse.vtk.org/t/vtkimageresliceviewer-how-to-use/948)

<div class="topic-metadata">

**Author:** [@Riccardo\_Ballarini](https://discourse.vtk.org/u/Riccardo_Ballarini)\
**Replies:** 0\
**Last updated:** [May 10, 2019, 9:52am UTC](https://discourse.vtk.org/t/vtkimageresliceviewer-how-to-use/948 "2019-05-10T09:52:50Z")

</div>

Hi, I’m looking for an example on vtkImageResliceViewer, because the only example I found is for Qt. Does anyone has got and example with only VTK (and not Qt)? Thank you all.

---

## [The PLY file is not working.](https://discourse.vtk.org/t/the-ply-file-is-not-working/924)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 13\
**Last updated:** [May 10, 2019, 2:55am UTC](https://discourse.vtk.org/t/the-ply-file-is-not-working/924 "2019-05-10T02:55:05Z")

</div>

Hi all. I have a question about PLY file load. I have two PLY files. (A) PLY file: It made by 3D Scanner. (B) PLY file: The sample PLY file from the link. Link: http://graphics.im.ntu.edu.tw/~robin/courses/cg04/mode…

---

## [Upcasting vtkSmartPointer](https://discourse.vtk.org/t/upcasting-vtksmartpointer/935)

<div class="topic-metadata">

**Author:** [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 5:25pm UTC](https://discourse.vtk.org/t/upcasting-vtksmartpointer/935 "2019-05-09T17:25:00Z")

</div>

Greetings, The (legacy) code below that used to compile: vtkSmartPointer\<vtkLookupTable\> lut = Util::getColorTable( ColorTable::RAINBOW, min, max); ... pointCloudMapper-\>SetLookupTable(lut); Now I get no known conv…

---

## [Mouse not working for Fullscreen in SplitViewportHorizontal.](https://discourse.vtk.org/t/mouse-not-working-for-fullscreen-in-splitviewporthorizontal/923)

<div class="topic-metadata">

**Author:** [@aabs08](https://discourse.vtk.org/u/aabs08)\
**Replies:** 3\
**Last updated:** [May 9, 2019, 4:44pm UTC](https://discourse.vtk.org/t/mouse-not-working-for-fullscreen-in-splitviewporthorizontal/923 "2019-05-09T16:44:33Z")

</div>

When the render window (vtkRenderWindow()) is both SetStereoTypeToSplitViewportHorizontal() and SetFullScreen(True), I face a weird bug that I cannot use my mouse for any interaction (rotate and zoom) but can use my keyb…

---

## [How to get mirrored view from vtkcamera](https://discourse.vtk.org/t/how-to-get-mirrored-view-from-vtkcamera/898)

<div class="topic-metadata">

**Author:** [@Jay](https://discourse.vtk.org/u/Jay)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 4:38am UTC](https://discourse.vtk.org/t/how-to-get-mirrored-view-from-vtkcamera/898 "2019-05-09T04:38:15Z")

</div>

I used the VTK camera to change the position and focal length and was able to see the scene. Now I was wondering how can I get the mirror image of the scene (Horizontal flip i.e. left becomes right & right becomes left) …

---

## [Display both 3D polydata and 2D "projected" images preserving the geometrical relations](https://discourse.vtk.org/t/display-both-3d-polydata-and-2d-projected-images-preserving-the-geometrical-relations/926)

<div class="topic-metadata">

**Author:** [@sdobashi](https://discourse.vtk.org/u/sdobashi)\
**Replies:** 4\
**Last updated:** [May 8, 2019, 10:39pm UTC](https://discourse.vtk.org/t/display-both-3d-polydata-and-2d-projected-images-preserving-the-geometrical-relations/926 "2019-05-08T22:39:40Z")

</div>

Hello everyone, I have one 3D poly-data and several related 2D images obtained by some projection from certain angles, like X-ray images. (2D images are not constructed directly from the 3D poly-data but provided from …

---

## [Moving from QMake to CMake: "VTK is designed to work with OpenGL version..."](https://discourse.vtk.org/t/moving-from-qmake-to-cmake-vtk-is-designed-to-work-with-opengl-version/916)

<div class="topic-metadata">

**Author:** [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)\
**Replies:** 6\
**Last updated:** [May 8, 2019, 12:59pm UTC](https://discourse.vtk.org/t/moving-from-qmake-to-cmake-vtk-is-designed-to-work-with-opengl-version/916 "2019-05-08T12:59:36Z")

</div>

Dear all, I’ve been avoiding this for years, but I finally decided to move a Qt project from QMake to CMake. My QMake-based build works just fine, but my CMake build leads to a “VTK is designed to work with OpenGL vers…

---

## [vtkPyramid / vtkQuadraticPyramid Inconsistencies](https://discourse.vtk.org/t/vtkpyramid-vtkquadraticpyramid-inconsistencies/931)

<div class="topic-metadata">

**Author:** [@andreas](https://discourse.vtk.org/u/andreas)\
**Replies:** 0\
**Last updated:** [May 8, 2019, 11:49am UTC](https://discourse.vtk.org/t/vtkpyramid-vtkquadraticpyramid-inconsistencies/931 "2019-05-08T11:49:53Z")

</div>

Hi Folks, I’ve got some questions regarding the pyramidal elements in vtk: First of all: Why is the GetParametricCenter() different in both cells, although they span the same domain: linear Pyra: pcoords\[0\] = pcoor…

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

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