X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fkernel_ManagerContour_NDimensions%2FOutlineModelManager.cxx;h=89d0b6da6df88b33a53f905c56a10cce3ac0759b;hb=refs%2Ftags%2FEED.02Oct2009;hp=2c7d7033df0acd23ce3246e736f79bb6bbe88be8;hpb=192dfdf774a06066eff90e9c50916723c8592706;p=creaContours.git diff --git a/lib/kernel_ManagerContour_NDimensions/OutlineModelManager.cxx b/lib/kernel_ManagerContour_NDimensions/OutlineModelManager.cxx index 2c7d703..89d0b6d 100644 --- a/lib/kernel_ManagerContour_NDimensions/OutlineModelManager.cxx +++ b/lib/kernel_ManagerContour_NDimensions/OutlineModelManager.cxx @@ -78,6 +78,7 @@ * @param theCommand Is the command to execute * @param fromRegistration Indicates if the execution is directed from the registration, by default comes from the GUI = false. */ + bool OutlineModelManager :: executeCommand_OutlineModel(std::string outKName, CommandObject * theCommand, bool fromRegistration) { ContourThing * theOutline = *outlinesEnvironment->getThingByName( outKName ); @@ -295,7 +296,8 @@ bool OutlineModelManager :: addOutlinesGroup( std::string theOutlineName, OutlineGroup * theGroup ) { outlineGroups.insert(std::pair ( theOutlineName, theGroup )); - std::map :: iterator iter = NULL; +// std::map :: iterator iter = NULL; + std::map :: iterator iter; iter = outlineGroups.find( theOutlineName ); bool ifAdded = iter->first.compare( theOutlineName ) == 0; return ifAdded; @@ -571,6 +573,11 @@ updateToActualInstant(); } + Instant* OutlineModelManager :: getInstant() + { + return actualInstant; + } + /* * Gets the an axe with a given keyName * @axeKName The axe keyName for searching in the axes environment