[vtk-developers] Major problem in vtkRenderer.h
Volpe, Christopher R (Research)
volpecr at crd.ge.com
Tue Sep 10 10:35:38 EDT 2002
That was me. Sorry folks. I'll repair.
> -----Original Message-----
> From: Andy Cedilnik [mailto:andy.cedilnik at kitware.com]
> Sent: Tuesday, September 10, 2002 9:47 AM
> To: vtk-developers
> Subject: [vtk-developers] Major problem in vtkRenderer.h
>
>
> Hello,
>
> Last night somebody added this to vtkRenderer.h. We need to get rid of
> this, since it does not work on Mac:
>
> // Description:
> // Wrapper-friendly version of ComputeVisiblePropBounds
> float *ComputeVisiblePropBounds()
> {
> static float bounds[6];
> this->ComputeVisiblePropBounds(bounds);
> return bounds;};
>
> If there is another way, please use it. For example, create a member
> variable, and then do this:
>
> float *ComputeVisiblePropBounds()
> {
> this->ComputeVisiblePropBounds(this->ComputedVisibleBounds);
> return this->ComputedVisibleBounds;};
>
> Andy
>
>
>
> _______________________________________________
> 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