// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
- printf("EED PlaneWidget_Base::Process Start \n");
if ((bbGetInputType()==1) && (bbGetInputIn()!=NULL) )
{
- printf("EED PlaneWidget_Base::Process 1 \n");
std::vector<double> origin = bbGetInputIn()->GetCenter();
std::vector<double> normal = bbGetInputIn()->GetNormal();
origin[0] = origin[0] + normal[0]*bbGetInputParam();
bbGetInputIn()->Process();
bbGetInputIn()->Execute();
} // if Type == 1
- printf("EED PlaneWidget_Base::Process End \n");
+ if((bbGetInputType()==2) && (bbGetInputIn()!=NULL) && (bbGetInputParamVector().size() == 3))
+ {
+ bbGetInputIn()->SetNormalIn(bbGetInputParamVector());
+ bbGetInputIn()->Process();
+ //bbGetInputIn()->Execute();
+ } // if Type == 2
+ if((bbGetInputType()==3) && (bbGetInputIn()!=NULL) && (bbGetInputParamVector().size() == 3))
+ {
+ bbGetInputIn()->SetOrigin(bbGetInputParamVector());
+ bbGetInputIn()->Process();
+//EED bbGetInputIn()->Execute();
+ } // if Type == 3
}
//=====