+ GObjectModel::setInicPoint(x,y,z);
+
+ double xFin=x+BOX_WIDTH,yFin=y-BOX_HEIGHT;
+ setFinalPoint(xFin,yFin,z);
+ }
+
+ //=========================================================================
+
+ void GBlackBoxModel::addInputPort(GPortModel *inputport)
+ {
+ _inputs.push_back(inputport);
+ }
+
+ //=========================================================================
+
+ void GBlackBoxModel::addOutputPort(GPortModel *outputport)
+ {
+ _outputs.push_back(outputport);
+ }
+
+ //=========================================================================
+
+ int GBlackBoxModel::getNumInputPorts()
+ {
+ return _inputs.size();
+ }
+
+ //=========================================================================
+
+ int GBlackBoxModel::getNumOutputPorts()
+ {
+ return _outputs.size();