-void boxcreaVtkPlaneWidget::Execute() // virutal
+void boxcreaVtkPlaneWidget::Execute() // virtual
{
std::vector<double> center = _box->_boxcreavtkplanewidget.GetCenter();
std::vector<double> normal = _box->_boxcreavtkplanewidget.GetNormal();
+ SetNormalIn( normal );
double delta = 0.00000001;
bool ok = false;
// _box->bbSignalOutputModification(std::string("Center"));
// _box->bbSignalOutputModification(std::string("Normal"));
_box->bbSignalOutputModification();
-
}
}
// (the one provided in the attribute 'name' of the tag 'input')
// * TYPE is the C++ type of the input/output
// (the one provided in the attribute 'type' of the tag 'input')
- printf("EED PlaneWidget::Process 1 \n");
if ((bbGetInputIn()==NULL) || (bbGetInputRenderer()==NULL))
{
- printf("EED PlaneWidget::Process 2 \n");
bbSetOutputOut( NULL );
std::vector<double> center;
std::vector<double> normal;
bbSetOutputCenter( center );
bbSetOutputNormal( normal );
} else {
- if (bbGetInputOrigin().size()==3) printf("EED PlaneWidget::Process 3 Origin %f, %f, %f \n", bbGetInputOrigin()[0], bbGetInputOrigin()[1], bbGetInputOrigin()[2] );
- else printf("EED PlaneWidget::Process 3 Origin -1 \n" );
_boxcreavtkplanewidget.SetActive( bbGetInputActive() );
_boxcreavtkplanewidget.SetImage( bbGetInputIn() );
_boxcreavtkplanewidget.SetResolution( bbGetInputResolution() );