[vtkusers] Python compass widget example

Bill Lorensen bill.lorensen at gmail.com
Fri Jan 29 23:53:48 EST 2010


I think the GeoVis package which contains vtkCOmpassRepresentation was
added to vtk in version 5.4.

If you are using vtk5.4, then
When you configure vtk you must set

VTK_USE_GEOVIS:BOOL=ON

I believe it is ON by default.

Bill

On Fri, Jan 29, 2010 at 4:54 PM, Anders Wallin
<anders.e.e.wallin at gmail.com> wrote:
> this example:
> http://www.vtk.org/Wiki/VTK/Examples/Python/vtkCompassWidget
>
> gives me an error:
> Traceback (most recent call last):
>  File "compasswidget.py", line 23, in <module>
>    compassRepresentation = vtkCompassRepresentation();
> NameError: name 'vtkCompassRepresentation' is not defined
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list