[vtk-developers] TestSetObjectMacro

Berk Geveci berk.geveci at kitware.com
Sat May 2 20:38:35 EDT 2009


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
>
>
>



More information about the vtk-developers mailing list