X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FGBlackBoxModel.cxx;h=bdaf53d5bdd86ff03422a2feb74dec78965c6c83;hb=eaf825847b9ac4bd762deafa59a7df1c2ceba433;hp=4fc3e6840e725f4546f401060e64cb9419f4da6c;hpb=c8402dc4438aae412055d54bacf221c1449a83d6;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx index 4fc3e68..bdaf53d 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx @@ -51,13 +51,67 @@ namespace bbtk } //========================================================================= - void GBlackBoxModel::updateBlackBox(BlackBoxDescriptor::Pointer descriptor)//virtual + void GBlackBoxModel::setInicPoint(double& x, double& y, double& z) { - _desc=descriptor; - std::cout<<"RaC Box author:"<<_desc->GetAuthor()<updatePortPosition(); + } + + //Refresh outputs position + for(i=0;i<_outputs.size();i++) + { + _outputs[i]->updatePortPosition(); + } + + } + + //========================================================================= + + + } // EO namespace bbtk // EOF