void GBlackBoxModel::move(double xx,double yy,double zz)
{
setInicPoint(xx,yy,zz);
- //std::cout<<"GBlackBoxModel::move xx:"<<xx<<" yy:"<<yy<<" zz:"<<zz<<std::endl;
//Refresh inputs position
int i;
for(i=0;i<_inputs.size();i++)
{
- _inputs[i]->updatePortPosition(i);
+ _inputs[i]->updatePortPosition();
}
//Refresh outputs position
for(i=0;i<_outputs.size();i++)
{
- _outputs[i]->updatePortPosition(i);
+ _outputs[i]->updatePortPosition();
}
}
//=========================================================================
- GPortModel* GBlackBoxModel::getStartInputPort()
+
+ std::string GBlackBoxModel::getBBTKPackage()
{
- GPortModel* temp = NULL;
+ return _bbtkPackage;
+ }
- for(int i=0; i<_inputs.size() && temp == NULL;i++)
- {
- if(_inputs[i]->getState() == CREATING_CONTOUR)
- {
- temp = _inputs[i];
- }
- }
+ //=========================================================================
- return temp;
+ void GBlackBoxModel::setBBTKPackage(std::string obpackage)
+ {
+ _bbtkPackage = obpackage;
}
+ //=========================================================================
+
+
+
} // EO namespace bbtk
// EOF