[vtk-developers] bug in vtkMapper (?)

dean.inglis at on.aibn.com dean.inglis at on.aibn.com
Thu Mar 13 17:43:26 EST 2003


Ok,

I'll fixe it shortly...

BTW, my motivation stems from a new widget I'm
developing: vtkPolyTracerWidget that essentially
takes in any vtkProp and allows you to draw
lines on it.  It will be used in my case for 
tracing on images during manual segmentations.
Anyone interested????

Dean


> 
> From: "Charl P. Botha" <c.p.botha at its.tudelft.nl>
> Date: 2003/03/13 Thu PM 05:30:32 GMT-05:00
> To: vtk-developers at public.kitware.com
> Subject: Re: [vtk-developers] bug in vtkMapper (?)
> 
> On Thu, Mar 13, 2003 at 05:10:02PM -0500, dean.inglis at on.aibn.com wrote:
> > void vtkMapper::SetResolveCoincidentTopologyPolygonOffsetParameters(
> >                                             float factor, float units)
> > {
> >   if (factor == vtkMapperGlobalResolveCoincidentTopologyPolygonOffsetFactor &&
> >       units == vtkMapperGlobalResolveCoincidentTopologyPolygonOffsetUnits )
> >     {
> >     return;
> >     }
> >   vtkMapperGlobalResolveCoincidentTopologyPolygonOffsetFactor = factor;
> >   vtkMapperGlobalResolveCoincidentTopologyPolygonOffsetFactor = units;
> > }
> > 
> > Should this not be:
> > 
> > void vtkMapper::SetResolveCoincidentTopologyPolygonOffsetParameters(
> >                                             float factor, float units)
> > {
> >   if (factor == vtkMapperGlobalResolveCoincidentTopologyPolygonOffsetFactor &&
> >       units == vtkMapperGlobalResolveCoincidentTopologyPolygonOffsetUnits )
> >     {
> >     return;
> >     }
> >   vtkMapperGlobalResolveCoincidentTopologyPolygonOffsetFactor = factor;
> >   vtkMapperGlobalResolveCoincidentTopologyPolygonOffsetUnits = units;
> > }
> 
> Most definitely.
> 
> -- 
> charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtk-developers
> 




More information about the vtk-developers mailing list