<br>On Sun, Sep 16, 2012 at 10:10 AM, Tasnim <<a href="mailto:hanene-jeder@hotmail.fr">hanene-jeder@hotmail.fr</a>> wrote:<br>><br>> David Doria-2-3 wrote<br>>><br>>> On Sun, Sep 16, 2012 at 7:35 AM, Tasnim &lt;hanene-jeder@&gt; wrote:<br>
>><br>>> As usual, a minimal example is the key to getting a response:<br>>> <a href="http://www.vtk.org/Wiki/VTK/MinimalExample">http://www.vtk.org/Wiki/VTK/MinimalExample</a><br>>><br>>><br>
> ok, I have a QCombobox which contains a list of files names. when i choose<br>> one of these names, i will display the my mesh in the qvtkWidget. this is my<br>> simpleviewUI.cxx class :<br><br><div>This code is not <a href="http://www.vtk.org/Wiki/VTK/MinimalExample#Self-contained">self contained</a> (it relies on a PLY file/reader) and the <a href="http://www.vtk.org/Wiki/VTK/MinimalExample#Formatting.2Findention:">formatting</a> is wacky. I am also confused why you are defining the <span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">MouseInteractorStyle inside of a function?</span></div>
<div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">void SimpleView:: comboitem(QString a)</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">{</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">class MouseInteractorStyle : public vtkInteractorStyleTrackballCam</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">era</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">{</span><br>...</div><div><br>David</div>