Non-SmartPointer Member Variable

From KitwarePublic
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.