[vtk-developers] Major problem in vtkRenderer.h
Andy Cedilnik
andy.cedilnik at kitware.com
Tue Sep 10 09:47:28 EDT 2002
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
More information about the vtk-developers
mailing list