[vtkusers] Problem creating vtkSmartPointer for vtkContourRepresentation

Prathamesh Kulkarni prathameshmkulkarni at gmail.com
Mon Jun 28 12:51:08 EDT 2010


Hello all,

I go an error while compiling the following line of code in my program:

  vtkSmartPointer<vtkContourRepresentation> contour_rep =
vtkSmartPointer<vtkContourRepresentation>::New();

The error says (in brief): any of the overloads of vtkSmartPointer
cannot take vtkContourRepresentation as argument.

Since I m anew to vtk, I do not know a better way to control a
callback to vtkContourCallBack.

Could anyone please point me to the right direction?



Prathamesh



More information about the vtkusers mailing list