[vtk-developers] TestSetObjectMacro

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon May 4 05:29:26 EDT 2009


Just for completeness, Berk meant:

virtual  void SetFoo(vtkBar* );

On Sun, May 3, 2009 at 2:38 AM, Berk Geveci <berk.geveci at kitware.com> wrote:
> You should use
>
> void SetFoo(vtkBar* );
>
> in the header and then
>
> vtkCxxSetObjectMacro(vtkMyClass,Foo,vtkBar);
>
> in the cxx file. This is to avoid including vtkBar.h in vtkMyClass.h.
>
> -berk
>
> On Sat, May 2, 2009 at 11:54 AM, Shepherd, Jason F <jfsheph at sandia.gov> wrote:
>> Hi all,
>>
>> I've got a failure of the TestSetObjectMacro test on the dashboard.  Can
>> someone tell me what causes this failure?  Has the vtkSetObjectMacro been
>> deprecated? Or is there another reason for this particular failure?
>>
>> c:/Dashboards/My Tests/VTK/Infovis/vtkSpanTreeLayoutStrategy.h: Found
>> vtkSetObjectMacro on line 80
>>   vtkSetObjectMacro(TreeLayout,vtkGraphLayoutStrategy);
>>
>> Found "vtkSetObjectMacro" 1 times
>>
>> Thanks,
>>
>> Jason
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



-- 
Mathieu



More information about the vtk-developers mailing list