//=========================================================================
+ 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);
+ }
+
+ //Refresh outputs position
+ for(i=0;i<_outputs.size();i++)
+ {
+ _outputs[i]->updatePortPosition(i);
+ }
+
+ }
+
+ //=========================================================================
+
+ GPortModel* GBlackBoxModel::getStartInputPort()
+ {
+ GPortModel* temp = NULL;
+
+ for(int i=0; i<_inputs.size() && temp == NULL;i++)
+ {
+ if(_inputs[i]->getState() == CREATING_CONTOUR)
+ {
+ temp = _inputs[i];
+ }
+ }
+
+ return temp;
+ }
+
} // EO namespace bbtk
// EOF