[vtkusers] vtkBoxWidget GetPlane Function Bug ?
David Doria
daviddoria+vtk at gmail.com
Mon Aug 9 09:07:04 EDT 2010
On Mon, Aug 9, 2010 at 8:53 AM, naresh <naresh at winner.co.in> wrote:
> Hi
>
> I have problem with vtkBoxwidget->GetPlane function. It returns the radom
> data of normal values. Is these bug or i am doing anything wrong ?
>
> Here is code of it. I tried to debug it . In first time and second time
> values changes as radomly in normal value.
>
>
> for(int i=0; i<2; i++)
> {
> // Get the planes
> m_BoxWidget->GetPlanes(m_Planes);
>
> // Access by index
> m_PlaneMinX = m_Planes->GetPlane(0);
> m_PlaneMaxX = m_Planes->GetPlane(1);
> }
Is there any reason you are using vtkBoxWidget instead of vtkBoxWidget2?
Thanks,
David
More information about the vtkusers
mailing list