[vtkusers] vtkBoxWidget GetPlane Function Bug ?

naresh naresh at winner.co.in
Mon Aug 9 08:53:29 EDT 2010


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);
}






More information about the vtkusers mailing list