<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>[vtkusers] Re: vtkRenderWindow()->EraseOff() produces blank window!Why?</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText93715 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>Hi,</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>I think there might be an error in vtkBoundingBox
GetCenter().</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>// Original</DIV>
<DIV dir=ltr>inline void vtkBoundingBox::GetCenter(double center[3])
const<BR>{<BR> center[0] = 0.5 * this->MaxPnt[0] +
this->MinPnt[0];<BR> center[1] = 0.5 * this->MaxPnt[1] +
this->MinPnt[1];<BR> center[2] = 0.5 * this->MaxPnt[2] +
this->MinPnt[2];<BR>}</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>// My change</DIV>
<DIV dir=ltr>inline void vtkBoundingBox::GetCenter(double center[3])
const<BR>{<BR> center[0] = 0.5 * ( this->MaxPnt[0] + this->MinPnt[0]
);<BR> center[1] = 0.5 * ( this->MaxPnt[1] + this->MinPnt[1]
);<BR> center[2] = 0.5 * ( this->MaxPnt[2] + this->MinPnt[2]
);<BR>}</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Cheers,</DIV>
<DIV dir=ltr>Theo.</DIV></DIV>
</BODY>
</HTML>