vtk

vtk caption widget problem

Hi, I am trying to use caption widget, how can i get the arrowed edge caption widget? wht property i should set? ...

Caption Widget mouse events

Hi, I want to capture the left and right mouse button of caption widget how to do that? ...

Preparing Interface for a project using VTK

Hi, I'm working on a small project based on VTK. Its interface is written on C#, but it occurs performence loss. I want to make an interface using c++ library or if there is a VTK library. How can I do it? Thanks. ...

Development environment to use/learn VTK with C++

Hi, I am a newbie with VTK and C++ (but am well versed in the concepts/Java etc). I will eventually need to use both QT and VTK for my project. (1) I would like to know if there is a "development environment"/"editor" for VTK (using C++) ? (2) Something similar to VTK Designer (http://www.vcreatelogic.com/products/vtkd/) ? With VTK De...

Rendering the skin using VTK

I am developing an application in windows forms that reads a sequence of 2d dicom images and transform them into a 3d object. I can do it pretty well for bones using the VTK framework, but when trying to do the same for the skin, I am getting a blank screen. Does anyone have the same issue? Thanks in advance. ...

Outputting stl from multiple ellipse sources VTK

Hello, I currently have a small (I'm a complete beginner) project in VTK where I've used different vtkParametricFunctionSource objects and arranged them spatially. Now what I want to do is find a way to output all that data I'm currently rendering into a .stl file. I don't know how I'd manage to convert my implicit parametric functio...

Paraview and Python on Mac OSX

I've installed the binary distribution of paraview on OSX. When running this I can access the python interpreter from the Tools -> Python Shell. However I cannot figure out which libraries I need to add to PYTHONPATH in order to access VTK and Paraview functionality directly from Python. Of course I could just compile the source distrib...

vtk java voxel rendering

Hi Guys, does anyone knows, why this code in Java compiles, but an Error appears: "An unrecoverable stack overflow has occurred. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x5d05b377, pid=4576, tid=4888 # # JRE version: 6.0_20-b02 # Java VM: Java HotSpot(TM) Cli...

How to build VTK for iPhone?

Hi, I'm trying to make an iPhone/iPad application that uses VTK to visualize DICOM images and present them on the screen. The problem is no matter what I do, I am not able to build VTK to work on the device (it works correctly on the simulator). Is there any way to build VTK for the iPhone/iPad? Thank you very much for your help! :) ...

draw smooth surface from 3D points via vtk

Hello every body. I have a set/cloud of 3D points of human face and want to draw a smoother surface using vtk. I have tried Delaunay triangulation but the result is not good. Thanks. ...

Howto show a model from the front, top, right, left, bottom, rear in VTK?

I want to create a VTK-Viewer and want realize some buttons that automaticly rotate the camera so I look on the model from the front, top, right, left, botton or rear. Has somebody a code snippit in C/C++ or better in Java? ...

Configuring a CMake C++/Java Project to work with Eclipse

Hello, I'm currently trying to set up a VTK project that has pre written Cmake makefiles to work with Eclipse. The code that I need to use is in both C++ and Java, but my main concern right now is actually to be able to translate the existing project into something that Eclipse can understand with all the dependencies etc. Please feel ...

3D pie graph in matplotlib

Is there a way to render a 3D pie in matplotlib? Or do you know at least a Python package that can generate 3D pies? EDIT: I actually already knew about pygooglechart, but I'm looking for something that can be done offline. My apologies for forgetting to include this information. For those who offered pygooglechart, thanks for the effor...

VTK Wrapping JNI Issues

Hello VTK users, I currently have a project that's in both Java and C++, and part of the project involves a wrapper using the Java Native Interface (JNI) where I use functionality from my C++ libraries in the Java code. Now the problem that I face is, both my Java and C++ codes use VTK objects - and when I pass down, say a vtkPolyDataA...

QT Plugin , VTK QT Widget , Multi-thread and Linking question?

Greetings all, This is going to be a long question,skip the [Background] if its not that neccasary ;) [Background] I am developing a modular QT based application.Application is extentible via QT based plugins. As shown in the figure, there are mainly 3 parts .(numbers in red) 1) libAppCore - the core of the application,which defin...

visualisation Toolkit in vs10 (.net)

Hi, in trying since hours to include vtk in my visual studio 10... With ActiViz everything works, but I dont want to have the watermark in my projekt... so I tried the .net wrapper. I included all nessesary files, but the control will not work? is it because of VS10 or my 64 bit system or what is the problem? I added the control to the ...

VTK (visualization toolkit) versus OSG (OpenSceneGraph) , other?

Does anyone have experience to fairly compare VTK and OpenSceneGraph? I'm more familiar with VTK, but I'm curious as to whether anyone has tried both extensively. I have both built, 5.6 vtk and 2.9.9 osg, can run the examples... at first glance OSG seems more 'rough', but maybe that's OK. In particular I worry about being able to fidd...

Does VTK play nicer with Java or QT?

I'm a newbie to VTK and am starting to write a medical viewer. I've seen that VTK wraps into either Java or QT and was wondering if anyone has an opinion about which one works better. I'm much better at Java, and would be learning QT from scratch. However, I've read and noticed that getting VTK and Java to play nice can be problematic...

VTK : Generate meshes for contour data which have several curves in one contour?

Greetings all, I have stack of contours which generated using someother algorithm outside VTK. Each contour consists of several curves . Please refer to image at : As seen in the image, each curve has an ID to identify which level it is.(Curves in same level have identical color) Now I want to generate Meshes using "vtkVoxelContou...

VTK: how can I add a scrollbar to my project ?

What's the easiest way to add a scrollbar to my VTK project ? thanks Update def vtkSliderCallback2(obj, event): sliderRepres = obj.GetRepresentation() pos = sliderRepres.GetValue() contourFilter.SetValue(0, pos) SliderRepres = vtk.vtkSliderRepresentation2D() min = 0 #ImageViewer.GetSliceMin() max = 256 #ImageViewer.GetSli...