<div>
<div>Hi everyone, </div>
<div>&nbsp;</div>
<div>I am trying to use the vtkImagePlaneWidget class, and its quite
strange that my program crashes when I am trying to create a new
instance/object of vtkImagePlaneWidget class. </div>
<div>&nbsp;</div>
<div>I have no compile errors, or link errors and I have included the
required vtkHybrid.lib and vtkWidgets.lib link libraries. However, the
program crashes at the point where I am trying to create the
vtkImagePlaneWidget object: </div>
<div>&nbsp;<br>#include &lt;vtkImagePlaneWidget.h&gt; <br><br>int main (int argc, char* argv[])<br>{<br></div>
<div>&nbsp;&nbsp; vtkImagePlaneWidget *plane_x = vtkImagePlaneWidget::New(); </div>
}<br><br>
<div>Does anyone have any clue as to why this is happening?? Any help will be appreciated. </div>
<div>&nbsp;</div>
<div>Thank you in advance! <br clear="all"><br>-- <br>Rashed karim </div>
<div>PhD Student </div>
<div>Imperial college London </div></div><br>