box->bbSignalOutputModification(std::string("Center"));
box->bbSetOutputNormal( box->_boxcreavtkplanewidget.GetNormal() );
box->bbSignalOutputModification(std::string("Normal"));
-
}
//----------------------------------------------------------------------------------------------
// * TYPE is the C++ type of the input/output
// (the one provided in the attribute 'type' of the tag 'input')
+
if ((bbGetInputIn()==NULL) || (bbGetInputRenderer()==NULL))
{
bbSetOutputOut( NULL );
_boxcreavtkplanewidget.SetImage( bbGetInputIn() );
_boxcreavtkplanewidget.SetResolution( bbGetInputResolution() );
_boxcreavtkplanewidget.SetRenderer( bbGetInputRenderer() );
+ _boxcreavtkplanewidget.SetRepresentation( bbGetInputRepresentation() );
+ _boxcreavtkplanewidget.SetOrigin( bbGetInputOrigin() );
+ _boxcreavtkplanewidget.SetNormalIn( bbGetInputNormalIn() );
_boxcreavtkplanewidget.Process();
+
bbSetOutputOut( _boxcreavtkplanewidget.GetPlaneSource()->GetOutput() );
bbSetOutputCenter( _boxcreavtkplanewidget.GetCenter() );
bbSetOutputNormal( _boxcreavtkplanewidget.GetNormal() );
}
+
}
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
bbSetInputActive(false);
bbSetInputIn(NULL);
bbSetInputResolution(60);
+ bbSetInputRepresentation(1);
bbSetInputRenderer(NULL);
bbSetOutputOut(NULL);
_boxcreavtkplanewidget.box = this;
// if any
}
-}
-// EO namespace bbcreaVtk
+
+}// EO namespace bbcreaVtk