[vtkusers] vtk c++ - using classes with VTK
David Doria
daviddoria at gmail.com
Tue Nov 8 09:19:47 EST 2011
On Tue, Nov 8, 2011 at 7:22 AM, Hikaruchan
<Sandra.Schroetter.fl at ait.ac.at> wrote:
> Hi!
>
> I made an VTK application which works great. But it is very long long code
> in one class with many functions. So I tried to split up the VTK things into
> serveral classes in my project. But then I got a problem with an access
> violation error. As example what I am doing:
>
>
>
> later I will need the "objactor" in another class, getting it via the
> getBrainModelActor()-Function.
>
> So the Problem now is, that when I try this shorten code above, I get an
> access violation error in the line
>
>
>
> I do not understand why. Is there anything wrong? I don't get it out. I hope
> someone can help me, or tell me why it does not work.
>
> Dear Hikaru
Did you forget to post your code? Please make the shortest possible
compilable example of your problem.
David
More information about the vtkusers
mailing list