Non-SmartPointer Member Variable

From KitwarePublic
Revision as of 13:50, 13 November 2009 by Daviddoria (talk | contribs) (New page: ==error: 'vtkSomeClass::vtkSomeClass()' is protected== You have attempted to use a VTK class as a stack-based object. You need to declare the object as a pointer and then use the ::New() f...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

error: 'vtkSomeClass::vtkSomeClass()' is protected

You have attempted to use a VTK class as a stack-based object. You need to declare the object as a pointer and then use the ::New() function in your constructor.