<p>
I am trying to subclass the vtkActor class. But my class keeps getting the error "undefined reference to `vtkIntraLatticeObject::New()". When I try to instantiate it in a vtksmartpointer.
</p>
<p>
I found this <a href=https://stackoverflow.com/questions/20945017/how-to-subclass-vtkactor target="_top" rel="nofollow" link="external">link</a>. I tried it but I get "undefined reference to vtkIntraLatticeObject::vtkIntraLatticeObject()". I am also not 100% convinced this is the way to go. It seems a bit complicated especially compared to the next <a href=http://www.vtk.org/Wiki/VTK/Examples/Cxx/Picking/HighlightPickedActor target="_top" rel="nofollow" link="external">example</a> I found. So I have difficulty understanding what's so different with my code or what I am missing.
</p>
<p>
So here's my class files
<a href="http://vtk.1045678.n5.nabble.com/file/t342143/vtkIntraLatticeObject.h" target="_top" rel="nofollow" link="external">vtkIntraLatticeObject.h</a>
<a href="http://vtk.1045678.n5.nabble.com/file/t342143/vtkIntraLatticeObject.cc" target="_top" rel="nofollow" link="external">vtkIntraLatticeObject.cc</a>
</p>
<br/><hr align="left" width="300" />
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>