[vtk-developers] rendering error

Joachim Pouderoux joachim.pouderoux at kitware.com
Fri Jun 13 11:05:27 EDT 2014


Joris,

Are you sure your m_pcActor object exists or is correctly initialized?

*Joachim Pouderoux*

*PhD, Technical Expert*
*Kitware SAS <http://www.kitware.fr>*



2014-06-13 16:50 GMT+02:00 joris <datkenwel at hotmail.com>:

> int RenderTranslucentPolygonalGeometry(vtkViewport* viewport)
>
> {
>
>     int count = 0;
>
>
>
>     if (m_pcActor->GetVisibility())
>
>     {
>
>              if(viewport != NULL)
>
>              {
>
>                     count =
> m_pcActor->RenderTranslucentPolygonalGeometry(viewport);
>
>              }
>
>     }
>
>
>
>     return count;
>
> }
>
>
>
>
>
>
>
>
>
> Hi,
>
>
>
> When i execute the above code I get this error:
>
>
>
> error:Access violation reading location ...........
>
>
>
> Does anybody know how to solve this?
>
>
>
> Thanks!
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140613/3072a5bb/attachment-0002.html>


More information about the vtk-developers mailing list