[vtkusers] Error C2660: 'vtkObject::operatpr new': do not take 3 patameters
徐志 華
zionman.hsu at gmail.com
Wed Apr 27 04:19:44 EDT 2016
Hi,
I had a class derived from vtkInteractorStyleRubberBandPick defined as
following:
class myAreaSelector : public vtkInteractorStyleRubberBandPick
{
public:
vtkTypeMacro(myAreaSelector, vtkInteractorStyleRubberBandPick);
static myAreaSelector *New();
.....
};
And implemented this new function with:
vtkStandardNewMacro(myAreaSelector);
Which leads to error C2660 : 'vtkObject::operator new' not take 3 parameters
Is there any wrong doings with this implementation?
Any suggestion to overcoming this error message is welcome.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160427/83aee98b/attachment.html>
More information about the vtkusers
mailing list