// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
- printf("EED PlaneWidget_Base::Process \n");
-
if ((bbGetInputType()==1) && (bbGetInputIn()!=NULL) )
{
std::vector<double> origin = bbGetInputIn()->GetCenter();
std::vector<double> normal = bbGetInputIn()->GetNormal();
-
- printf("EED PlaneWidget_Base::Process normal %f %f %f \n", normal[0],normal[1],normal[2] );
- printf("EED PlaneWidget_Base::Process origin %f %f %f \n", origin[0],origin[1],origin[2] );
-
origin[0] = origin[0] + normal[0]*bbGetInputParam();
origin[1] = origin[1] + normal[1]*bbGetInputParam();
origin[2] = origin[2] + normal[2]*bbGetInputParam();
-
- printf("EED PlaneWidget_Base::Process origin2 %f %f %f \n", origin[0],origin[1],origin[2] );
-
bbGetInputIn()->SetOrigin(origin);
bbGetInputIn()->Process();
-
}
- printf("EED PlaneWidget_Base::Process 2 \n");
-
}
//=====