[vtkusers] vtkPolyDataMapper is an abstract class?

David Gobbi david.gobbi at gmail.com
Thu Jul 5 08:58:43 EDT 2012


On Thu, Jul 5, 2012 at 3:06 AM, Mathieu Westphal
<mathieu.westphal at gmail.com> wrote:
> so it IS an abstract class. But i use instance of this class without
> problem, how is this possible?

The vtkObjectFactory mechanism does this.  You know how VTK
objects are always instantiated through a ::New() method?  The
vtkPolyDataMapper::New() method returns a vtkOpenGLPolyDataMapper,
which is a concrete class.

 - David



More information about the vtkusers mailing list