View Issue Details

IDProjectCategoryView StatusLast Update
0000054Slicer3Base Codepublic2007-11-21 11:09
ReporternicoleAssigned Towjp 
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
PlatformallOSallOS Versionall
Summary0000054: Easier access to module logic classes
Description

The vtkSlicerApplication class currently has a method GetModuleGUIByName that makes accessing the logic an acessible but two step process.
I would like to request the addition of a GetModuleLogicByName method, available on vtkSlicerApplicationLogic. This might require adding a pointer to some classes to allow calls to this->GetApplicationLogic().

TagsNo tags attached.

Activities

pieper

pieper

2007-11-20 10:27

administrator   ~0000167

Similar functions as in GUI can be added to Logic.

nicole

nicole

2007-11-21 11:09

administrator   ~0000172

Once it's implemented, the change can be used in Base/GUI to simplify some calls in these classes:

vtkSlicerApplicationGUI.cxx
vtkSlicerDiffusionTensorVolumeDisplayWidget.cxx
vtkSlicerScalarVolumeDisplayWidget.cxx
vtkSlicerFiducialListWidget.cxx
vtkSlicerIGTDemoGUI.cxx
vtkSlicerSliceControllerWidget.cxx (maybe)
vtkSlicerViewControlGUI.cxx

It's also used extensively in the Modules subdirs.

Issue History

Date Modified Username Field Change
2007-04-19 06:59 nicole New Issue
2007-04-19 06:59 nicole Status new => assigned
2007-04-19 06:59 nicole Assigned To => pieper
2007-11-20 10:27 pieper Note Added: 0000167
2007-11-20 10:27 pieper Assigned To pieper => wjp
2007-11-21 11:09 nicole Note Added: 0000172