[Repository Listing] / [Slicer3] / oldtrunk / Libs
 

Log of /oldtrunk/Libs

Parent Directory Parent Directory View Directory Listing Directory Listing


Sticky Revision:

Revision 15040  Directory Listing
Modified Wed Sep 22 18:53:32 2010 UTC (7 years ago) by pieper
ENH: implementing changes described in the email linked below.
http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005338.html

Revision 15026  Directory Listing
Modified Mon Sep 20 20:32:43 2010 UTC (7 years ago) by pieper
Original Path: trunk/Libs
ENH: add an OrientationReference to store the last requested orientation so it can be used when aligning a slice node to align with a volume

Revision 15018  Directory Listing
Modified Fri Sep 17 17:45:27 2010 UTC (7 years ago) by naucoin
Original Path: trunk/Libs
BUG: make a second attempt to figure out relative paths, had some invalid mrml scene files with missing subdirs in the file list member fields

Revision 15013  Directory Listing
Modified Fri Sep 17 13:03:42 2010 UTC (7 years ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: changed name of side-by-side layout to not have 'compare view' in it since it's different than the compare view, as request from Ron

Revision 15003  Directory Listing
Modified Wed Sep 15 14:31:05 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
STYLE: Use Qt private implementation instead of obsolete CTK implementation

Qt pimpls have the big advantage of supporting pimple derivation.
The recommended way of using them is shown below:
Header file:

class MyClassPrivate;
class MyClass
{
public:
   ...
   virtual ~MyClass();
   ...
protected:
   QScopedPointer<MyClassPrivate> d_ptr;
private:
   Q_DECLARE_PRIVATE(MyClass);
   Q_DISABLE_COPY(MyClass);
};

Implementation file (Private has no access to public:
class MyClassPrivate
{
public:
  ...
};
...
MyClass::MyClass():d_ptr(new MyClassPrivate)
{
}

Implementation file (Private has access to public):
class MyClassPrivate
{
   Q_DECLARE_PUBLIC(MyClass);
protected:
  MyClass* const q_ptr;
public:
  MyClassPrivate(MyClass&);
...
};
MyClassPrivate::MyClassPrivate(MyClass& o)
  :q_ptr(&o)
{
}
...
MyClass::MyClass():d_ptr(new MyClassPrivate(*this))
{
}

Revision 14996  Directory Listing
Modified Tue Sep 14 16:31:29 2010 UTC (7 years ago) by haehn
Original Path: trunk/Libs
ENH: Refactored the Get/SetSliceOffset from vtkMRMLSliceLogic to vtkMRMLSliceNode. The old API stays the same for backwards compatibility.

Revision 14995  Directory Listing
Modified Mon Sep 13 21:31:15 2010 UTC (7 years ago) by haehn
Original Path: trunk/Libs
BUG: Prevent potential Null pointer exception.

Revision 14982  Directory Listing
Modified Sat Sep 11 20:44:15 2010 UTC (7 years ago) by domibel
Original Path: trunk/Libs
BUG: Fixes bug 969, adding a connection timeout of 3 seconds

Revision 14970  Directory Listing
Modified Wed Sep 8 19:56:05 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Remove wrong assert 

Revision 14948  Directory Listing
Modified Tue Sep 7 15:55:17 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: Factor out createIcon() function from qMRMLLabelComboBox and add it to qMRMLUtils

Revision 14938  Directory Listing
Modified Mon Sep 6 16:56:44 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
STYLE: Remove useless warning output message

Revision 14924  Directory Listing
Modified Sat Sep 4 10:15:23 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
COMP: Add macro ctkCheckReturnValue, ctkCompare, ctkFail, ctkVerify to TestingMacros.h

Ideally, CTK should provide with comprehensive set of testing macros.

Revision 14922  Directory Listing
Modified Sat Sep 4 07:28:16 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Color nodes were broken.

In vtkMRMLDisplayNode::copy(), the node ID was set but not the node

Revision 14919  Directory Listing
Modified Sat Sep 4 02:42:26 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Upgrade icons + tooltips on toolbars

Revision 14917  Directory Listing
Modified Sat Sep 4 01:31:54 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Remove debugging call QCoreApplication::ProcessEvents and fix bug

that prevented the user from choosing None.

Revision 14916  Directory Listing
Modified Sat Sep 4 01:31:47 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Unsynchronization between nodeID and node in vtkMRMLDisplayNode

The node ID was changed and was firing a modified event while the node
was still pointing to the old color node.

Revision 14914  Directory Listing
Modified Sat Sep 4 00:09:48 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
BUG: qMRMLThreeDView::setMRMLViewNode - Call onMRMLViewNodeModifiedEvent and onAnimationModeEvent only if the node is valid

Revision 14913  Directory Listing
Modified Fri Sep 3 23:07:24 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Fasten slice offsetting by avoiding node retrieval from the scene.

Revision 14907  Directory Listing
Modified Fri Sep 3 20:42:16 2010 UTC (7 years ago) by naucoin
Original Path: trunk/Libs
ENH: adding a displayable data hierarchy node, between mrml hierarchy node and model hierarchy node. Added tests.

Revision 14906  Directory Listing
Modified Fri Sep 3 20:10:28 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Fasten slice browsing by reducing the number of scene browsing

Revision 14898  Directory Listing
Modified Fri Sep 3 00:36:48 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: qMRMLNodeComboBox doesn't allow invalid index to be selected.

Revision 14897  Directory Listing
Modified Fri Sep 3 00:36:43 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: In Volumes module, update widgets when the scene is closed

Revision 14895  Directory Listing
Modified Thu Sep 2 23:10:28 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
STYLE: qMRMLThreeDViewsControllerWidget - Hide NavZoomWidget placeholder

Revision 14891  Directory Listing
Modified Thu Sep 2 22:17:40 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewsControllerWidget - Implement rock and spin view features

Revision 14890  Directory Listing
Modified Thu Sep 2 22:17:37 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
BUG: Fix vtkMRMLScene::SetIsImporting - Invoke SceneAboutToBeImportedEvent and SceneImportedEvent only when required

Revision 14889  Directory Listing
Modified Thu Sep 2 22:17:34 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
STYLE: qMRMLSliceControllerWidget - Remove commented code

Revision 14868  Directory Listing
Modified Thu Sep 2 10:27:17 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
COMP: Add missing image resource

Revision 14867  Directory Listing
Modified Thu Sep 2 10:26:20 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewControllerWidget - Add background image to view control frame

Revision 14866  Directory Listing
Modified Thu Sep 2 10:26:16 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewsControllerWidget - Disable not yet implemented buttons

Revision 14865  Directory Listing
Modified Thu Sep 2 10:14:05 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
STYLE: qMRMLThreeDViewsControllerWidget - QAction::activated() is obsolete use QAction::triggered instead

Revision 14864  Directory Listing
Modified Thu Sep 2 09:37:44 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewsControllerWidget - Implement background buttons

Revision 14863  Directory Listing
Modified Thu Sep 2 09:37:38 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewsControllerWidget - Implement setAxisVisibility/setAxisLabelVisibility buttons

Revision 14862  Directory Listing
Modified Thu Sep 2 09:37:34 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewsControllerWidget - Implement StereoType menu

Revision 14861  Directory Listing
Modified Thu Sep 2 09:37:30 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: Add qMRMLActionSignalMapper (factored out from qMRMLSlicesControllerToolBar)

qMRMLActionSignalMapper allows to map QAction directly with QSignalMapper

Revision 14860  Directory Listing
Modified Thu Sep 2 09:37:25 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewsControllerWidget - Implement reset focal point button

Revision 14859  Directory Listing
Modified Thu Sep 2 09:37:20 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
BUG: vtkMRMLViewNode - Do not invoke {StereoMode, BackgroundColor, Visibility, AnimationMode}Event if property is already set

Revision 14858  Directory Listing
Modified Thu Sep 2 09:37:17 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: Remove yaw,pitch/roll from vtkMRMLViewDisplayableManager and use the corresponding implementation in ctkVTKSliceView

Revision 14857  Directory Listing
Modified Thu Sep 2 09:37:14 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewsControllerWidget - Implement ZoomIn/ZoomOut button

Revision 14855  Directory Listing
Modified Thu Sep 2 07:56:50 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Fix rotate slice plane to background volume.

Revision 14854  Directory Listing
Modified Thu Sep 2 07:29:47 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Fix type in "Rotate volume to plane" menu entry

Revision 14842  Directory Listing
Modified Wed Sep 1 22:31:37 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
STYLE: Remove extra debug statements

Revision 14840  Directory Listing
Modified Wed Sep 1 22:14:25 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewsControllerWidget - Implement Orthographic/Perspective button

Revision 14835  Directory Listing
Modified Wed Sep 1 21:21:54 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
STYLE: qMRMLSlicesControllerToolBar - Fix indent

Revision 14834  Directory Listing
Modified Wed Sep 1 21:21:51 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDViewsControllerWidget now able to invoke {Pitch,Roll,Yaw}ViewRequestedEvent on its associated active MRMLViewNode

Revision 14833  Directory Listing
Modified Wed Sep 1 21:21:47 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: vtkMRMLViewDisplayableManager now implement AdditionnalInitializeStep and add observer for {Pitch, Roll, Yaw}ViewRequestedEvent

Revision 14832  Directory Listing
Modified Wed Sep 1 21:21:44 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: Add event {Pitch, Roll, Yaw}ViewRequestedEvent to vtkMRMLViewNode

Doing so allows any object to request a Roll, Pitch or Yaw on the view.

Revision 14831  Directory Listing
Modified Wed Sep 1 21:21:15 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: Add protected method AddMRMLDisplayableManagerEvent to vtkMRMLDisplayableManager

This method allows subclass of  DisplayableManager to specify which
event associated with the current DisplayableNode should be observed.

Should be called from within AdditionnalInitializeStep() method

Revision 14823  Directory Listing
Modified Wed Sep 1 19:37:55 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Don't update the FOV in qMRMLSlicesControllerToolBar if it didnt change

The pb with QDoubleSpinBox is that they truncate the resolution of the
fov after 2 decimals. Don't fire new events if the new value is below 0.01

Revision 14821  Directory Listing
Modified Wed Sep 1 18:47:10 2010 UTC (7 years ago) by partyd
Original Path: trunk/Libs
BUG: fix install rules to use Slicer3_INSTALL_{BIN/LIB}_DIR instead of CTK's

Revision 14817  Directory Listing
Modified Wed Sep 1 16:31:30 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Testing: Memory leak in vtkMRMLApplicationLogic

Revision 14815  Directory Listing
Modified Wed Sep 1 16:31:23 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Testing, fix qMRMLLabelComboBoxTest1 that doesn't exit in ctest mode

Revision 14813  Directory Listing
Modified Wed Sep 1 16:31:17 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Crash when setting the interpolation flag on a foreground layer

if there is no associated volume node.

Revision 14812  Directory Listing
Modified Wed Sep 1 16:31:14 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Fix MRMLDisplayableManager test on Windows (Visual Studio)

Revision 14811  Directory Listing
Modified Wed Sep 1 16:31:10 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Testing: vtkMRMLSliceLogic needs a name before a scene is set

Revision 14810  Directory Listing
Modified Wed Sep 1 16:31:07 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
STYLE: QAction::activated() signal is obsolete, use QAction::triggered()

Revision 14809  Directory Listing
Modified Wed Sep 1 16:31:03 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: New selection tag is added (activeAnnotationID), propagate to test

vtkMRMLCameraDisplayableManagerTest1

Revision 14803  Directory Listing
Modified Wed Sep 1 04:34:52 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Fix icons (no need for triangle), use a better "visibility" icon

Revision 14801  Directory Listing
Modified Wed Sep 1 04:00:32 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
STYLE: Remove useless print

Revision 14799  Directory Listing
Modified Wed Sep 1 03:57:46 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Fix qSlicerSliceControllerModuleWidget

- Some bugs when no SliceLogics collection is set
- Make sure setting a mrml scene doesn't erase the reference nodes into the
slice composite logic node because the qt node selector couldn't select the
correct node (because the mrml scene was 0)

Revision 14796  Directory Listing
Modified Wed Sep 1 01:11:14 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
COMP: qMRMLLabelComboBox couldn't compile because of LookUpTableTime

Revision 14794  Directory Listing
Modified Wed Sep 1 01:06:06 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Fix 2D slice resize. It also fixes the lightbox sizes

Revision 14793  Directory Listing
Modified Wed Sep 1 01:05:44 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Remove extra frame around slice views

Revision 14792  Directory Listing
Modified Wed Sep 1 01:05:19 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: prevent crash when closing a scene.

Don't add new nodes when the scene is closing

Revision 14791  Directory Listing
Modified Wed Sep 1 01:05:08 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: vtkMRMLNode::Reset was forcing vtkMRMLSliceNodes orientation to axial

Revision 14790  Directory Listing
Modified Wed Sep 1 01:05:00 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Print error message when an obsolete color table node is used.

Revision 14786  Directory Listing
Modified Tue Aug 31 22:54:10 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
STYLE: Add license header to qMRMLWidgets files

Revision 14785  Directory Listing
Modified Tue Aug 31 22:54:01 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
STYLE: Add license header to MRMLLogic and MRMLDisplayableManager files

Revision 14784  Directory Listing
Modified Tue Aug 31 20:32:11 2010 UTC (7 years ago) by johan.andruejol
Original Path: trunk/Libs
BUG: Added the license header, a class definition in the .h and changed PM_SmallIconSize to PM_ButtonIconSize in the function createIcon.

Revision 14779  Directory Listing
Modified Tue Aug 31 19:15:06 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Remove unused file

Revision 14778  Directory Listing
Modified Tue Aug 31 19:15:02 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Add license to qMRMLWidget header files

Revision 14771  Directory Listing
Modified Tue Aug 31 17:38:24 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Add presets to the Volumes modules

Revision 14770  Directory Listing
Modified Tue Aug 31 17:38:17 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Fitting window/level to the range of the volume is not enough

Presets can go down to -1200 and up to +900. Give some space to
qMRMLWindowLeveWidget

Revision 14769  Directory Listing
Modified Tue Aug 31 17:38:14 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Use enum instead of int for the control mode of Window/Level API

Revision 14764  Directory Listing
Modified Tue Aug 31 04:27:36 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Add icons to the color nodes in qMRMLColorTableNodeComboBox

Revision 14761  Directory Listing
Modified Tue Aug 31 04:26:01 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Auto select in slice view newly added volumes (via File/Add Volume)

Revision 14760  Directory Listing
Modified Tue Aug 31 04:25:37 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Drag&Drop in Data module scene tree was not correctly refreshing

Revision 14756  Directory Listing
Modified Mon Aug 30 22:22:17 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Restore drag&drop in the Data module

Revision 14753  Directory Listing
Modified Mon Aug 30 22:16:43 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLSliceWidget - Color of the active HighlightedBox is now set

Revision 14749  Directory Listing
Modified Mon Aug 30 20:15:08 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
BUG: qMRMLSliceWidget now listens for ModifiedEvent associated with vtkMRMLSliceNode and update LightBox layout accordingly

Revision 14747  Directory Listing
Modified Mon Aug 30 19:44:00 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: qMRMLNodeComboBox now supports a bit more tree views

Useful for qMRMLColorTableNodeComboBox

Revision 14746  Directory Listing
Modified Mon Aug 30 16:59:25 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: When volume nodes are set on qMRMLSliceControllerWidget, the link

action state is not synchronized with the composite node yet. Make sure the
link state is set first and then the other properties are updated.

Revision 14745  Directory Listing
Modified Mon Aug 30 16:50:11 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Support more than flast list view/models in qMRMLNodeComboBox

In conjonction with ctkTreeComboBox, qMRMLNodeComboBox now supports
qMRMLColorTableComboBox menus.

Revision 14744  Directory Listing
Modified Mon Aug 30 15:44:31 2010 UTC (7 years ago) by johan.andruejol
Original Path: trunk/Libs
ENH: Added the property colorNameVisible to the combobox, and updated the test in consequence.

Revision 14737  Directory Listing
Modified Mon Aug 30 00:26:26 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Attributes in qMRMLNodeComboBox were broken

if a node is user created, the attributes are set too late, the node has
already been hidden by qMRMLSortFilterProxyModel

Revision 14734  Directory Listing
Modified Mon Aug 30 00:21:02 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: fix some behavior in qMRMLWindowLevelWidget

Revision 14732  Directory Listing
Modified Mon Aug 30 00:20:50 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Fix some behavior in qMRMLVolumeThresholdWidget

Revision 14731  Directory Listing
Modified Mon Aug 30 00:20:40 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Interpolation in volume menus was not working

it's because it was listening to the wrong display node.
And they now listen to the modified event of the display node to be synchro

Revision 14724  Directory Listing
Modified Sun Aug 29 05:21:56 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: automatically call vtkMRMLAbstractDisplayableManager::UpdateFromMRML

when the displayable node is set.

Revision 14723  Directory Listing
Modified Sun Aug 29 04:36:01 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Fix qMRMLNodeComboBox::setCurrentNode(const QString& nodeID)

it was calling qMRMLNodeComboBox::setCurrentNode(int index) with the
model index and didn't require offset nor nodeCount() check

Revision 14709  Directory Listing
Modified Sun Aug 29 02:50:33 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Add qMRMLNodeComboBox::nodeFromIndex

Revision 14706  Directory Listing
Modified Sun Aug 29 00:32:13 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
STYLE: qMRMLThreeDView - Disable logger debug level

Revision 14704  Directory Listing
Modified Sun Aug 29 00:13:29 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
ENH: Review qMRMLLabelComboBox API, consolidate test and fix problem

- DisplayOption has been removed in favor of setNoneEnabled/noneEnabled
- Added property currentColor with USER flag set to True

The USER flag allows QItemDelegate to set/get the value associated with the
widget. See http://doc.trolltech.com/4.6/properties.html

- Added property maximumColorCount allowing to limit the number of items
that should be added to the combobox.

Revision 14702  Directory Listing
Modified Fri Aug 27 20:11:40 2010 UTC (7 years ago) by johan.andruejol
Original Path: trunk/Libs
ENH: Add qMRMLLabelComboBox

Widget that listens a given vtkMRMLColorNode and update its associated 
comboBox with the colors of the Node. 

It also emits the signal "currentlabelChanged" when a label/color is selected.

Revision 14701  Directory Listing
Modified Fri Aug 27 15:57:53 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Add qMRMLNodeComboBox::setCurrentNode(int)

Revision 14700  Directory Listing
Modified Fri Aug 27 15:36:55 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Display "Select a node..." when qMRMLNodeComboBoxs have an invalid idx

Revision 14699  Directory Listing
Modified Fri Aug 27 15:36:51 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Update the qMRMLSliceControllerWidget when nodes are modified

Revision 14697  Directory Listing
Modified Thu Aug 26 21:32:03 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Don't try to update the slice views when loading/closing a scene

the scene may be in an inconsistent mode...(where volumes are not loaded
yet but nodes point to them)

Revision 14695  Directory Listing
Modified Thu Aug 26 21:31:57 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Add advanced options to the slice views

Revision 14693  Directory Listing
Modified Thu Aug 26 21:31:47 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
ENH: Replace complicated arrow QPushButton with simpler QToolButton

QToolButton::ArrowType does what we want here.

Revision 14692  Directory Listing
Modified Thu Aug 26 21:31:43 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: qMRMLNodeComboBox was not selecting the None item when a scene was set

Revision 14691  Directory Listing
Modified Thu Aug 26 21:31:39 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Make sure the buttons in qMRMLSliceControllerWidget have the same size

than the QComboBox (visible if the font is large)

Revision 14690  Directory Listing
Modified Thu Aug 26 21:31:33 2010 UTC (7 years ago) by finetjul
Original Path: trunk/Libs
BUG: Fix size policy for qMRMLNodeComboBox

Revision 14684  Directory Listing
Modified Thu Aug 26 03:51:21 2010 UTC (7 years ago) by jcfr
Original Path: trunk/Libs
COMP: External_VTK - Now use branch "slicer-4.0" on github.com/Slicer/VTK - Also updated code to work with VTK_IGNORE_BTX:ON

slicer-4.0 is an integration branch containing all slicer specific changed
and rebased on VTK master

1) Change vtkFSIO to use "namespace" instead of "class"
2) Use vtkPythonUtil functions
3) vtkFSIO was causing problem with Tcl wrapping (python is working fine),
vtkFSIO is now excluded using set_source_files_properties and WRAP_EXCLUDE property

Revision 14674  Directory Listing
Modified Wed Aug 25 02:07:20 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
COMP: vtkWeakPointerBase doesn't return a vtkObject* anymore

it now returns a vtkObjecBase*

Revision 14673  Directory Listing
Modified Wed Aug 25 02:07:17 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Add test for qMRMLThreeDView

Revision 14664  Directory Listing
Modified Mon Aug 23 04:39:28 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: Uninitialized variable make Qt Designer crash

Revision 14660  Directory Listing
Modified Fri Aug 20 20:58:22 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Add baseName property to qMRMLNodeFactory and qMRMLNodeCombobox

The baseName is used to generate a name for created nodes.

Revision 14655  Directory Listing
Modified Thu Aug 19 21:45:24 2010 UTC (7 years, 1 month ago) by hayes
Original Path: trunk/Libs
BUG: Fixed compile error on Linux 64

Revision 14648  Directory Listing
Modified Thu Aug 19 19:35:07 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
BUG: check for valid pointer before accessing it

Revision 14646  Directory Listing
Modified Thu Aug 19 19:18:54 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
BUG: don't allow callback to access python after the python manager has been deleted

Revision 14643  Directory Listing
Modified Thu Aug 19 17:52:01 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: Don't remove the singletons vtkMRMLSlice[Composite]Node

When loading a scene, there is no need form removing the nodes in
vtkMRMLSlice[Composite]Node::UpdateScene, because they are added back to
the scene by the vtkMRMLSliceLogic.

Revision 14642  Directory Listing
Modified Thu Aug 19 17:51:49 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Remove useless call to vtkMRMLSlice(Composite)Node::SetSingletonTag

calling  vtkMRMLSlice(Composite)Node::SetLayoutName internally calls
SetSingletonTag

Revision 14600  Directory Listing
Modified Tue Aug 17 21:24:42 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
COMP: Update qSlicerLayoutManager, qMRMLThreeDView and qMRMLSliceWidget to use Slicer3_USE_PYTHONQT instead of MRMLDisplayableManager_USE_PYTHON

Revision 14597  Directory Listing
Modified Tue Aug 17 14:01:44 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
ENH: remove asserts - the case is caught already with an error message

Revision 14592  Directory Listing
Modified Mon Aug 16 20:35:35 2010 UTC (7 years, 1 month ago) by haehn
Original Path: trunk/Libs
BUG: Prevent assert to kill Slicer when Python is not enabled.

Revision 14589  Directory Listing
Modified Mon Aug 16 20:05:59 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
COMP: Added variable MRMLDisplayableManager_USE_PYTHON to MRMLDisplayableManager/CMakeLists.txt

This later one allow to conditionally include the code associated with
the scripted DisplayableManager.

Revision 14587  Directory Listing
Modified Mon Aug 16 19:05:30 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
ENH: expose access to the interactor style for the sliceview

Revision 14586  Directory Listing
Modified Mon Aug 16 18:42:40 2010 UTC (7 years, 1 month ago) by millerjv
Original Path: trunk/Libs
BUG: Fixed navigation mode in crosshair when in a lightbox with views linked and not linked.



Revision 14583  Directory Listing
Modified Mon Aug 16 18:33:04 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
STYLE: Change case of function signature from onMRML* to OnMRML*

Revision 14581  Directory Listing
Modified Mon Aug 16 18:32:55 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Added vtkMRMLScriptedDisplayableManager class

Since it's not possible to derive a VTK class in python (and for that same
reason rely on polymorphism), the vtkMRMLScriptedDisplayableManager C++
class is a "proxy" allowing to interface a DisplayableManager written in python.

A scripted DisplayableManager should expose the following methods:
   - Create
   - GetMRMLSceneEventsToObserve
   - ProcessMRMLEvents
   - RemoveMRMLObservers
   - UpdateFromMRML
   - OnInteractorStyleEvent
   - OnMRMLDisplayableNodeModifiedEvent

In addition to register vtk class names, the MRMLDisplayableManager factory
can now register scripted displayableManager represented by a path
to a python script ending with ".py".

qSlicerLayoutManager now provide method setScriptedDisplayableManagerDirectory
allowing to set from which directory the scripted displayableManager
should be "sourced" from.
Similarly, the code in qMRMLSliceWidget and qMRMLThreeDView allowing to
register the displayableManager have been factored out into a method named:
 - registerDisplayableManagers(const QString& scriptedDisplayableManagerDirectory);


Below are more details explaining how a scripted displayable manager could
be implemented:
 The constructor has one parameter named 'parent' corresponding to the associated instance of
 vtkScriptedDisplayableManager in the C++ world.

 The python methods listed above corresponds to the implementation of the virtual method
 available in vtkScriptedDisplayableManager.

 The only exception is the virtual method SetMRMLSceneInternal, the python class only needs to
 implement the method GetMRMLSceneEventsToObserve. This later one just return a list of integer
 representing the eventid to observe.

 It's also possible to access the API of the associated C++ instance using the self.Parent
 For example:
   self.Parent.RemoveInteractorStyleObservableEvent(26) # vtkCommand::MouseWheelForwardEvent

 Make also sure NOT to call the corresponding C++ method from it's python equivalent, it will
 result in an infinite loop.
 The following statement will likely lead to an unstable state:
    def Create(self): self.Parent.Create()

 If a a method isn't implemented, the following syntax should be used:
   def Create(self): pass

 NOTE
   Ideally, a DisplayableManager should deal only with MRMLNodes. Incriminated code should
 be moved either in the DisplayableManager itself, in the associated MRML Node or
 in a MRMLNode helper class.

 TODO
   While porting existing code, to overcome this problem, the following need to be done:
     - DisplayableManager abstract base class should have a reference to the current MRMLApplicationLogic
    - The MRMLApplicationLogic should contain a map of logics
    - The list of logic internally used by the qSlicerLayoutManager should be removed and
     the list from the MRMLApplicationLogic used instead.

Revision 14577  Directory Listing
Modified Mon Aug 16 18:32:30 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
BUG: Add virtual method onMRML{View,Slice}NodeModifiedEvent to vtkMRMLAbstract{ThreeD,Slice}ViewDisplayableManager

These methods could be overloaded by DisplayableManager to re-act upon a modified
event of the associated DisplayableNode (either a MRMLView node or a slicer view node)

That should fix the crash happening after the MRML view node name was updated in the
MRML node inspector of the Data module.

Revision 14558  Directory Listing
Modified Thu Aug 12 05:03:13 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: Fix 3 random crashes on Windows

Revision 14538  Directory Listing
Modified Wed Aug 11 05:58:25 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: PythonQt wrapping - qMRMLWidgets library is now wrapped

A static library named qMRMLWidgetsPythonQt is created

Revision 14535  Directory Listing
Modified Wed Aug 11 00:22:21 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: Crash when qMRMLSliceWidget is used in Qt Designer (no mrml scene set)

Revision 14532  Directory Listing
Modified Tue Aug 10 19:49:02 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
BUG: change from unsigned in to work around bug in vtk python wrapping (unsigned int not supported)

Revision 14527  Directory Listing
Modified Tue Aug 10 19:29:46 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
COMP: make sure wrapping hints are available for both tcl and python

Revision 14522  Directory Listing
Modified Tue Aug 10 19:15:00 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
COMP: support python wrapping for MRMLLogic

Revision 14521  Directory Listing
Modified Tue Aug 10 19:11:46 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
ENH: add client data point script handler function to support different interpreters (pythonqt, for instances)

Revision 14511  Directory Listing
Modified Tue Aug 10 04:21:34 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Add qMRMLCollapsibleButton, a ctkCollapsibleButton that darkens when

contained by other ctkCollapsibleButton

Revision 14510  Directory Listing
Modified Tue Aug 10 01:29:00 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
COMP: fix python linkage for mac (super)builds

Revision 14508  Directory Listing
Modified Mon Aug 9 22:04:51 2010 UTC (7 years, 1 month ago) by haehn
Original Path: trunk/Libs
ENH: Added an ActiveAnnotationID to MRMLSelectionNode.

Revision 14504  Directory Listing
Modified Mon Aug 9 17:02:44 2010 UTC (7 years, 1 month ago) by haehn
Original Path: trunk/Libs
BUG: No QT dependencies in the MRML libs.

Revision 14503  Directory Listing
Modified Mon Aug 9 16:01:31 2010 UTC (7 years, 1 month ago) by haehn
Original Path: trunk/Libs
ENH: Introduced a customTagMode for interaction modes. A QAction is associated to this mode to provide icons, help text etc.

Revision 14500  Directory Listing
Modified Mon Aug 9 00:43:48 2010 UTC (7 years, 1 month ago) by haehn
Original Path: trunk/Libs
ENH: Added a subset of interaction modes to vtkMRMLInteractionNode to add support for different types of annotations.

Revision 14499  Directory Listing
Modified Sun Aug 8 01:29:05 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: the slice visibility property was not supporting the link mode

Revision 14498  Directory Listing
Modified Sun Aug 8 01:29:01 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: Fix set slice orientation in qMRMLSliceControllerWidget

Revision 14497  Directory Listing
Modified Sun Aug 8 01:28:56 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Add tooltips and QActions to qMRMLSliceControllerWidget

Revision 14496  Directory Listing
Modified Sun Aug 8 01:28:52 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Add more icons into qMRMLWidgets

Revision 14494  Directory Listing
Modified Sun Aug 8 01:28:35 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: vtkMRMLSliceLogic: A null (0,0) size is valid, don't output warnings

Revision 14493  Directory Listing
Modified Sun Aug 8 01:28:28 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: Crash when doing vtkMRMLSliceLogic::setMRMLScene(0)

Even if the new scene is 0, vtkMRMLSliceLogic tried to create models in the
invalid scene.

Revision 14492  Directory Listing
Modified Fri Aug 6 19:18:30 2010 UTC (7 years, 1 month ago) by aylward
Original Path: trunk/Libs
BUG: Eliminate the attempt to simultaneously build statis and dynamic versions of the lib

Revision 14491  Directory Listing
Modified Fri Aug 6 17:33:19 2010 UTC (7 years, 1 month ago) by hjohnson
Original Path: trunk/Libs
BUG:  More static library linkage is still causing windows build errors.

Revision 14488  Directory Listing
Modified Fri Aug 6 05:56:17 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Rename qMRMLSliceViewWidget into qMRMLSliceWidget

Revision 14487  Directory Listing
Modified Fri Aug 6 04:32:23 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Propagate renaming that occured in CTK: ctkSliderSpinBoxWidget->ctkSliderWidget

Revision 14482  Directory Listing
Modified Thu Aug 5 22:14:07 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: SliceViewSize is not needed, one can use vtkMRMLSliceNode::Dimension

Revision 14481  Directory Listing
Modified Thu Aug 5 22:14:03 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: 2D Slices were not fitting the view area even when resizing them

vtkMRMLSliceNode::SetDimensions(...) needed to be called whenever the slice
widget is resized. This is what is done in
SliceSWidget.tcl::resizeSliceNode()

Revision 14479  Directory Listing
Modified Thu Aug 5 18:57:58 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Add FitToWindow and Slice FOV to qMRMLSliceControllerToolBar

qMRMLSliceControllerToolBar directly uses the logics to do processing on the
slice nodes.

Revision 14478  Directory Listing
Modified Thu Aug 5 18:57:54 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: qSlicerLayoutManager expose a collection of all the vtkMRMLSliceLogics

Revision 14477  Directory Listing
Modified Thu Aug 5 18:57:50 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH:Move logic specific code from vtkSlicerSliceControlGUI to vtkMRMLSliceLogic

FitFOVToBackground is now part of vtkMRMLSliceLogic. It is done here so
that qMRMLSlicesControllerToolBar doesn't have any logic code in.

Revision 14476  Directory Listing
Modified Thu Aug 5 18:57:46 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Synchronize qMRMLSlicesControllerToolBar with MRML scene/nodes

Revision 14475  Directory Listing
Modified Thu Aug 5 18:57:43 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Add popup widgets into qMRMLSlicesControllerToolBar

Added widgets are for the label opacity (slider + toggle button) and
spinboxes for slice FOV.

Revision 14474  Directory Listing
Modified Thu Aug 5 18:57:39 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Connect qMRMLSlicesControllerToolBar actions to MRML nodes

Revision 14473  Directory Listing
Modified Thu Aug 5 18:57:35 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Add vtkMRMLScene::GetNodesByClass utility function

Revision 14468  Directory Listing
Modified Wed Aug 4 14:14:57 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
COMP: Fix the multi-line warning associated with vtkSingleton

Revision 14467  Directory Listing
Modified Wed Aug 4 14:14:53 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
COMP: Fix error introduced while working on warning associated with qMRMLSceneModel

Revision 14464  Directory Listing
Modified Wed Aug 4 14:02:27 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
COMP: Fix unused variable warning associated with vtkMRMLAbstractDisplayableManager

Revision 14463  Directory Listing
Modified Wed Aug 4 14:02:24 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
COMP: Fix unused variable warning associated with qMRMLSceneModel

Revision 14462  Directory Listing
Modified Wed Aug 4 14:02:21 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
COMP: Supress multi-line warning associated with vtkSingleton.h

Revision 14456  Directory Listing
Modified Tue Aug 3 21:53:50 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
BUG: be sure the volume is updated before using it to calculate window/level

Revision 14443  Directory Listing
Modified Tue Aug 3 18:25:02 2010 UTC (7 years, 1 month ago) by pieper
Original Path: trunk/Libs
BUG: invoke a DisplayModifiedEvent when associating a new display node with a displayable (so, for example, the data tree icon can update correctly

Revision 14430  Directory Listing
Modified Tue Aug 3 03:10:18 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH: Replace qMRMLSlicesControllerWidget by qMRMLSlicesControllerToolBar

Revision 14424  Directory Listing
Modified Mon Aug 2 19:03:19 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
BUG: Fix vtkSingleton - getInstance and Delete method should be used instead of new() and delete()

Since the class was copied from CTK where classes do not extend
from vtkObject, it was required to use new() and detete().
In our case, the classes derive from vtkObject, then getInstance and
Delete have to be used.

Revision 14420  Directory Listing
Modified Mon Aug 2 19:03:06 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Update vtkMRMLAbstractDisplayableManager to observe current InteractionNode and InteractionStyle and call OnInteractorStyleEvent(EventId) method when appropriate.

By default the following events will be observed:
  vtkCommand::LeftButtonPressEvent
  vtkCommand::LeftButtonReleaseEvent
  vtkCommand::RightButtonPressEvent
  vtkCommand::RightButtonReleaseEvent
  vtkCommand::MiddleButtonPressEvent
  vtkCommand::MiddleButtonReleaseEvent
  vtkCommand::MouseWheelBackwardEvent
  vtkCommand::MouseWheelForwardEvent

Nevertheless, it's possible for derived class to specify other event to listen
using the method AddInteractorStyleObservableEvent(EventId). This method
should usually be called from within the virtual method AdditionnalInitializeStep()

Revision 14417  Directory Listing
Modified Mon Aug 2 19:02:54 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Simplify vtkMRMLApplicationLogic

Since Interacton and SelectionNode are singleton, we need to be created
only one time when the scene is set.

Revision 14413  Directory Listing
Modified Sun Aug 1 13:04:55 2010 UTC (7 years, 1 month ago) by hjohnson
Original Path: trunk/Libs
BUG:  Reverted linking back to shared library linking because of Windows errors.

Revision 14391  Directory Listing
Modified Thu Jul 29 20:04:49 2010 UTC (7 years, 1 month ago) by naucoin
Original Path: trunk/Libs
ENH: change the xml tag from colorNodeRef to colorNodeID, keeping backwards reading compatibility

Revision 14368  Directory Listing
Modified Thu Jul 29 14:46:51 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Move convenient virtual methods OnMRMLScene{AboutToBeClosed, NodeAdded, ...} from vtkMRMLAbstractDisplayableManager to vtkMRMLAbstractLogic

Revision 14366  Directory Listing
Modified Wed Jul 28 22:33:17 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Updated qMRMLSliceViewWidget to consider vtkMRMLSliceViewDisplayableManagerFactory

Note that since SliceView deals internally with a lightBox (a grid of renderer)
for now the first renderer of the grid is passed.

It could also be possible to instantiate as many DisplayableManagerGroup
as there are Renderer in the SliceView (one for each item of the grid).
Doing so would require to add signal to ctkVTKSliceView allowing to
know when the Layout is changed in order to instantiate
or delete displatableManagerGroup as needed.

Revision 14365  Directory Listing
Modified Wed Jul 28 22:33:14 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
STYLE: Fix indent and remove extra header in qMRMLThreeDView

Revision 14364  Directory Listing
Modified Wed Jul 28 21:55:06 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Added vtkMRMLSliceViewDisplayableManagerFactory and vtkMRMLAbstractSliceViewDisplayableManager classes allowing to handle SliceView DisplayableManager

Revision 14363  Directory Listing
Modified Wed Jul 28 21:55:02 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: class vtkMRMLAbstractThreeDViewDisplayableManager now inherits from a base class vtkMRMLAbstractDisplayableManager

vtkThreeDViewMRMLDisplayableManagerGroup has been renamed into vtkMRMLDisplayableManagerGroup and its API updated:
- Set/GetMRMLViewNode has been generalized and renamed into Set/GetMRMLDisplayableNode

Similarly, vtkMRMLAbstractDisplayableManager provide two
protected methods: GetMRMLDisplayableNode and SetAndObserveMRMLDisplayableManager

GetMRMLDisplayableNode is used in vtkMRMLAbtractThreeDViewDisplayableManager within
the method GetMRMLViewNode

Revision 14362  Directory Listing
Modified Wed Jul 28 21:54:54 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Factored out code from vtkMRMLThreeDViewDisplayableManagerFactory into two classes

1) vtkMRMLDisplayableManagerFactory - implement the factory functionality

2) vtkMRMLThreeDViewDisplayableManagerFactory - singleton class inheriting from vtkMRMLDisplayableManagerFactory

Revision 14361  Directory Listing
Modified Wed Jul 28 21:54:50 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Added class vtkSingleton - Set convenient macro allowing to properly define a singleton

This file will moved soon to Slicer4/VTK as soon the repository is ready

Revision 14358  Directory Listing
Modified Wed Jul 28 15:35:10 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Renamed vtkMRMLAbstractDisplayableManager into vtkMRMLAbstractThreeDViewDisplayableManager

This is the third step related to the renaming of all classes currently
named vtkMRMLDisplayableManager* into vtkMRMLThreeDViewDisplayableManager*

Revision 14357  Directory Listing
Modified Wed Jul 28 15:35:04 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Renamed vtkMRMLDisplayableManagerGroup into vtkMRMLThreeDViewDisplayableManagerGroup

This is the second step related to the renaming of all classes currently
named vtkMRMLDisplayableManager* into vtkMRMLThreeDViewDisplayableManager*

Revision 14356  Directory Listing
Modified Wed Jul 28 15:34:57 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: Rename vtkMRMLDisplayableManagerFactory into vtkMRMLThreeDViewDisplayableManagerFactory

This is the first step related to the renaming of all classes currently
named vtkMRMLDisplayableManager into vtkMRMLThreeDViewDisplayableManager

Revision 14354  Directory Listing
Modified Wed Jul 28 14:18:57 2010 UTC (7 years, 1 month ago) by hjohnson
Original Path: trunk/Libs
ENH:  Generate explicit static versions of the libraries, and force use of the static versions for the GenerateCLP program.  This works around a problem where proper {DY}LD_LIBRARY_PATH must be set (to initially non-existing paths) during the build processes in order to build SEM programs.

Revision 14352  Directory Listing
Modified Tue Jul 27 19:45:21 2010 UTC (7 years, 1 month ago) by jcfr
Original Path: trunk/Libs
ENH: vtkSliceLogic and vtkMRMLAbstractLogic now provide a single way of initialization: setMRMLSceneInternal

Before that changes, it was the role of the client (user of the class) to call
either SetMRMLScene, SetAndObserveMRMLScene or SetAndObserveMRMLSceneEvent.

The way to understand what was the correct way of initialization of the logic
was to find some code already using the logic and copy/paste the proper statements.

There is now one virtual method names: SetMRMLSceneInternal called within
SetMRMLScene.

The call to SetMRMLSceneInternal is done just before
RegisterNodes and invoke(ModifiedEvent).

If specific initialization are required, such as observing the scene for
specific event.

The method SetMRMLSceneInternal should be overloaded.
For example, if a module should listen for NodeAddedEvent and NodeRemovedEvent
, it could overload the method like stated below:

virtual void SetMRMLSceneInternal(vtkMRMLScene* newScene)
{
  // List of events the slice logics should listen
  vtkSmartPointer<vtkIntArray> events = vtkSmartPointer<vtkIntArray>::New();
  events->InsertNextValue(vtkMRMLScene::NodeAddedEvent);
  events->InsertNextValue(vtkMRMLScene::NodeRemovedEvent);

  this->SetAndObserveMRMLSceneEventsInternal(newScene, events);
}

The method SetAndObserveMRMLSceneEventsInternal and SetAndObserveMRMLSceneInternal
are provided for conveniency and provide an easy way to interface with the vtkObserverManager

Existing methods SetAndObserveMRMLScene and SetAndObserveMRMLSceneEvents
are now deprecated.

All modules ported to Qt should overload SetMRMLSceneInternal and provide
a single way of initialization.


Future...

In case the user of class desire to change the list of observed events,
the required logic should be added in the base classes: vtkSlicerLogic and
vtkMRMLAbstractLogic

The user of the class should be able to query the object and now which event
it is listening and it could optionally configured not to listen some event.
Note also that such options should be tested and thoroughly documented.


Remark:
This commit also fix issue related to qSlicerSliceControllerModuleWidget.
Note also that the controller widget added in the "slices controller" module are
configured with the same logic used in the main slice viewer/controller.
For that reason, the SliceLogic has a method Initialize/IsInitialized avoiding
additional overhead and creation of extra vtkMRMLSliceNode.

Revision 14344  Directory Listing
Modified Mon Jul 26 23:24:09 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: Fix bug when deleting a node in qMRMLSceneModel (fix qMRMLModelTest1)

Revision 14343  Directory Listing
Modified Mon Jul 26 21:19:52 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
ENH:Elide text in qMRMLNodeComboBox in the middle when the text is too long

Revision 14342  Directory Listing
Modified Mon Jul 26 21:19:49 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: Add NoneEnabled property to qMRMLSliceControllerWidget

Revision 14341  Directory Listing
Modified Mon Jul 26 21:19:45 2010 UTC (7 years, 1 month ago) by finetjul
Original Path: trunk/Libs
BUG: Select None when the node is invalid (-1) and NoneEnabled is true

Revision 14335  Directory Listing
Modified Sat Jul 24 08:06:06 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added vtkSliceViewInteractorStyle to MRMLDisplayableManager library

vtkSliceViewInteractorStyle is a copy of GUI/vtkSlicerInteractorStyle

Revision 14333  Directory Listing
Modified Sat Jul 24 08:05:57 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Rename vtkDisplayableManagerInteractorStyle into vtkThreeDViewInteractorStyle

Since MRMLDisplayableManager may contain more than one InteractorStyle,
we renamed the existing one after its context of use.

Revision 14330  Directory Listing
Modified Sat Jul 24 05:44:01 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Update qMRMLSceneTreeModel to use IsUpdating flag instead of IsClosing and IsImporting

Revision 14329  Directory Listing
Modified Sat Jul 24 04:27:23 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLSliceControllerWidget now displays a Down or Up arrow depending of it is collapsed or not.

Revision 14328  Directory Listing
Modified Sat Jul 24 04:27:20 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Review how IsUpdating, IsConnecting, IsImporting, IsClosing flags and associated events work

The flags are now set/unset on a consistent way.

After each SceneAboutToBe{Imported, Connected, Closed, Restored}Event, the associated
flags (IsImporting, IsConnecting, IsClosing, IsRestoring and also IsUpdating flag) are
respectively ensured to be True.

After each Scene{Imported, Connected, Closed, Restored}Event, the
associated flags (IsImporting, IsConnecting, IsClosing, IsRestoring and
also IsUpdating) are ensured to be False.

The vtkMRMLScene API has also been reviewed, only the function SetIsImporting
is exposed. Note that SetIsImporting now takes care of sending the event
SceneAboutToBeImported and SceneImported.

In order to update IsRestoring flag, the class vtkMRMLSceneSnapshotNode
is now friend of vtkMRMLScene. The event SceneAboutToBeRestored is now invoked.

In case a node has not been registered, vtkMRMLParser will
attempt to guess its className using the associated Tag (startElement) using
that rule: vtkMRML<TAG>(Node)

CreateNodeByClass method now calls vtkDebugLeaks::DestructClass in case
the object couldn't be created using the vtkObjectFactory.

Testing of:
 - the state of different flags
 - number of node added / removed and associated event
has also been implemented in vtkMRMLSceneTest2.

Signed-off-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

Revision 14327  Directory Listing
Modified Sat Jul 24 04:27:14 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: Fix MRML Testing baseline scene files (name.mrml, vol.mrml)

Revision 14322  Directory Listing
Modified Fri Jul 23 20:28:11 2010 UTC (7 years, 2 months ago) by naucoin
Original Path: trunk/Libs
ENH: expanding the test before adding in displayable hierarchy node

Revision 14321  Directory Listing
Modified Fri Jul 23 20:06:11 2010 UTC (7 years, 2 months ago) by pieper
Original Path: trunk/Libs
STYLE: fix warning about unused variable

Revision 14318  Directory Listing
Modified Fri Jul 23 19:12:17 2010 UTC (7 years, 2 months ago) by pieper
Original Path: trunk/Libs
BUG: fix for bug 923 - drawing on wrong slice due to rounding

Revision 14317  Directory Listing
Modified Fri Jul 23 17:21:12 2010 UTC (7 years, 2 months ago) by pieper
Original Path: trunk/Libs
BUG: partial fix for bug 932 due to rounding when slice plan is exactly between ijk slices

Revision 14314  Directory Listing
Modified Thu Jul 22 23:16:03 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Shrink the size of the QToolbuttons in qMRMLSlicesControllerWidget

qMRMLSlicesControllerWidget was too wide (compared to the KWWidget one),
here we try to reduce its size.

Revision 14311  Directory Listing
Modified Thu Jul 22 23:15:52 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
STYLE: qMRMLTreeDViewsControllerWidget should have no internal margin

Revision 14306  Directory Listing
Modified Thu Jul 22 19:09:03 2010 UTC (7 years, 2 months ago) by fedorov
Original Path: trunk/Libs
ENH: added "reference" attribute to output "image" SEM type. If specified, 
the display node of the output image will be initialized from the display node
of the "image" parameter specified by the reference.

Revision 14299  Directory Listing
Modified Thu Jul 22 14:39:35 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
COMP: qMRMLThreeDViewsControllerWidget - Commit missing files associated with rev14292

Revision 14296  Directory Listing
Modified Thu Jul 22 08:23:07 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDView - Disable orientation widget

Revision 14294  Directory Listing
Modified Thu Jul 22 07:39:56 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Set qMRMLThreeDView default background color to blue

Revision 14292  Directory Listing
Modified Thu Jul 22 07:29:04 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added qMRMLThreeDViewsControllerWidget and associated plugin. Note that actions are not yet implemented.

Revision 14291  Directory Listing
Modified Thu Jul 22 07:28:48 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Renamed qMRMLThreeDRenderView into qMRMLThreeDView

Revision 14288  Directory Listing
Modified Thu Jul 22 07:28:26 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added qMRMLSlicesControllerWidget - Actions still need to be implemented

Following the existing pattern, in order to properly implement the
different action, this widget will need to have a reference to the
logics instantiated by the qMRMLSliceViewWidget.

Revision 14287  Directory Listing
Modified Thu Jul 22 07:28:12 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: Updated qMRMLSliceControllerWidget.ui to make sure it uses default icon size and margin

Revision 14283  Directory Listing
Modified Wed Jul 21 20:24:01 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
COMP: Missing index in an array for the test qMRMLNodeComboboxTest3

Revision 14281  Directory Listing
Modified Wed Jul 21 20:23:55 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: When a singleton node is added, the NodeIDs list was not updated

This could result to fatal errors later on. A check on the node id
synchronization with NodeIDs is done in RemoveNode

Revision 14280  Directory Listing
Modified Wed Jul 21 20:23:52 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add new test for qMRMLNodeComboBox

Revision 14279  Directory Listing
Modified Wed Jul 21 20:23:48 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: Make sure the nodes to be added/removed don't show up in the model

until the node is finished to be added/removed

Revision 14278  Directory Listing
Modified Wed Jul 21 18:39:10 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: qMRMLSliceControllerWidget - qvtkReconnect on SliceCompositeNode modified event should be done only when the node is assigned

Revision 14277  Directory Listing
Modified Wed Jul 21 18:39:06 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: vtkMRMLSliceLogic - Reformatted code and updated comment

Revision 14276  Directory Listing
Modified Wed Jul 21 18:39:03 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
COMP: Moved unused class vtkDisplayableManagerBoxWidget2 and vtkDisplayableManagerBoxRepresentation ti Attic

Revision 14273  Directory Listing
Modified Wed Jul 21 15:34:33 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: Fix memory leak when a custom factory was created

Revision 14272  Directory Listing
Modified Wed Jul 21 15:34:29 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: Fix when NodeAdded/NodeRemoved are nested

Revision 14270  Directory Listing
Modified Wed Jul 21 03:52:25 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: Delete vtkTimerLog at the end of the test

Revision 14268  Directory Listing
Modified Wed Jul 21 00:51:21 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: Don't set the color type when deleting nodes. Remove memory leak

Revision 14254  Directory Listing
Modified Tue Jul 20 02:38:52 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Reorder the scene events to be consistent with the Import/Close flags

Revision 14253  Directory Listing
Modified Tue Jul 20 02:38:42 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Do not observe the scene when it is loading/closing

Revision 14252  Directory Listing
Modified Tue Jul 20 02:38:31 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
COMP: Change local file in test into parameter file

Revision 14244  Directory Listing
Modified Mon Jul 19 18:42:20 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Faster synchronization between the mrmml scene and the QT models

Revision 14243  Directory Listing
Modified Mon Jul 19 18:42:14 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Do not update the geometry of the qMRMLTreeWidget if hidden

Revision 14242  Directory Listing
Modified Mon Jul 19 18:42:10 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Faster scanning of the scene

Revision 14237  Directory Listing
Modified Mon Jul 19 14:45:57 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: In qMRMLSliceControllerWidge, use "clicked" signal instead of "released"

Revision 14236  Directory Listing
Modified Mon Jul 19 08:23:42 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLSliceControllerWidget - Added setSliceLink, setSliceVisbitlity method. VolumeNodeSelector now handle "linked" property

Revision 14234  Directory Listing
Modified Mon Jul 19 07:14:22 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Updated tooltip of qMRML{Slice, Controller}InformationWidget

Revision 14232  Directory Listing
Modified Mon Jul 19 06:37:53 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: qMRMLSliceControllerWidget - Rename OrientationSelector into SliceOrientationSelector

Revision 14231  Directory Listing
Modified Mon Jul 19 06:37:49 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added qMRMLSliceInformationWidget

After a MRMLSliceNode is set, the widget will observe it and display the
following properties:
 - LayoutName, Orientation, SliceVisibility, WidgetVisibility, Dimension,
FieldOfView, LightboxLayout, SliceSpacingMode and PrescribedSpacing

It also gives the user the possibility to update properties like:
 - orientation, sliceVisiblity, widgetVisibility, sliceSpacingMode and
prescribedSpacing

Revision 14230  Directory Listing
Modified Mon Jul 19 06:37:43 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: qMRMLSliceControllerWidget - Make the SliceLogic is properly observed

Disconnect/Connect Slicelogic when setSliceLogic is called

The SliceController in the layout and the one in the "Slices" module are
in sync.

Note that the node selector still need to be sync.

Revision 14226  Directory Listing
Modified Mon Jul 19 03:50:01 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLSliceControllerWidget - Added method setControllerButtonGroup

All controller of a same group will be hidden/shown if at least on of
the sliceCollapsiblebutton is clicked

Revision 14225  Directory Listing
Modified Mon Jul 19 03:49:45 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLSliceControllerWidget - connected mrmlSceneChanged to setMRMLScene of each node selector

Revision 14221  Directory Listing
Modified Sun Jul 18 23:08:35 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Update qMRMLSliceViewWidget to use qMRMLSliceControllerWidget

SliceViewWidget is now a composition of ctkVTKSliceView and qMRMLSliceControllerWidget

Revision 14219  Directory Listing
Modified Sun Jul 18 23:08:24 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added qMRMLSliceControllerWidget and associated designer plugin

Revision 14218  Directory Listing
Modified Sun Jul 18 23:08:15 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added method Initialize/IsInitialized to vtkMRMLSliceLogic

Ultimately, all logic should have such method. That way, the events
that  the MRMLScene should listen are set by the logic class itself
and not by their client.

Testing will also be simplified.

Revision 14217  Directory Listing
Modified Sun Jul 18 23:08:11 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: vtkMRMLAbstractLogic - method SetInMRMLCallbackFlag/SetInLogicCallbackFlag are now protected

Revision 14216  Directory Listing
Modified Sun Jul 18 23:08:05 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added method SetSliceViewSize to MRMLSliceLogic

Also changed the signature of FitSliceToBackground to have width/height
optional.

If width/height are not passed to FitSliceToBackground, the value set
using SetSliceViewSize will be used.

Revision 14215  Directory Listing
Modified Sun Jul 18 23:08:02 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Updated comment and fix indent

Revision 14212  Directory Listing
Modified Sun Jul 18 23:07:49 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix #ifndef/define statement in qMRMLWidget

Revision 14194  Directory Listing
Modified Fri Jul 16 14:08:56 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix error introduced while fixing "unused variable warning" !

Revision 14193  Directory Listing
Modified Fri Jul 16 14:06:19 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix unused variable warnings

Revision 14190  Directory Listing
Modified Thu Jul 15 21:46:37 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Updated qMRMLThreeDRenderView to use vtkMRMLModelDisplayableManager

Revision 14189  Directory Listing
Modified Thu Jul 15 21:46:34 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Reviewed and simplified vtkMRMLModelDisplayableManager

The scene "spl_pnl_brain_atlas_2007_slicer3/atlas-2007.mrml" loads in 2.5seconds

Note that the number of enabled modules is also small. (Data, MRMLTree and Color are disabled)

Revision 14187  Directory Listing
Modified Thu Jul 15 21:46:27 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: MRMLScene - Updated function SetIsImporting, now use correct value to perform binary and/or operation

Revision 14180  Directory Listing
Modified Thu Jul 15 14:35:39 2010 UTC (7 years, 2 months ago) by naucoin
Original Path: trunk/Libs
BUG: check for existance of local file before closing it, avoids a seg fault

Revision 14174  Directory Listing
Modified Thu Jul 15 12:11:37 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: vtkMRMLAbstractDisplayableManager - InMRMLCallbackFlag shouldn't be checked within ProcessMRMLEvents

Indeed, the flag InMRMLCallbackFlag is set in MRMLCallback static function and
will always be True in ProcessMRMLEvents.

Revision 14171  Directory Listing
Modified Thu Jul 15 12:11:28 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLSliceViewWidget - In setMRMLSliceNode, the widget is either disabled or enabled if the given node is NULL or not.

Revision 14170  Directory Listing
Modified Thu Jul 15 12:11:25 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: qMRMLSliceViewWidget - Since the node passed to setMRMLSliceNode could be Null, updateWidgetFromMRMLSliceNode is now conditionally called.

Revision 14169  Directory Listing
Modified Thu Jul 15 12:11:22 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDRenderView - Updated Initialize - Factory are now conditionnally registered using IsDisplayableManagerRegistered

Since the factory is a singleton, the DisplayableManager could be
registered only one time by the application itself.

That would imply to move the Registration of the factory out of the ThreeDRenderView.
Nevertheless it's somehow nice (group the functionality) to let
the ThreeDRenderView registers the DisplayableManager
that will be instantiated and associated with its underlying Renderer.

This commit use the new function IsDisplayableManagerRegistered to check
if a given DisplayableManager has been registered or not, and then register it if required.

Revision 14168  Directory Listing
Modified Thu Jul 15 12:11:19 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: vtkMRMLDisplayableManagerFactory - Added function IsDisplayableManagerRegistered

Revision 14167  Directory Listing
Modified Thu Jul 15 12:11:15 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLThreeDRenderView - In setMRMLViewNode, the widget is either disabled or enabled if given node is NULL or not.

Revision 14166  Directory Listing
Modified Thu Jul 15 12:11:11 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: qMRMLThreeDRenderView - Remove unused/commented code

Revision 14165  Directory Listing
Modified Thu Jul 15 12:11:07 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: CameraDisplayableManager - In UpdateCameraNode, removed call to GetIsUpdating()

This is was preventing the CameraDisplayableManager to create missing
vtkMRMLCameraNode after a scene was loaded (using Scene::Connect).

Revision 14164  Directory Listing
Modified Thu Jul 15 12:11:03 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLEventLoggerWidget - Added method setConsoleOutputEnabled

It's now possible to disable console output. This is particularly useful
when the widget listing the MRML event is visible and ones doesn't
want to see extra output in the console.

Revision 14163  Directory Listing
Modified Thu Jul 15 12:10:59 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - Change existing call to GetIsClosing into GetIsUpdating. Also updated Import function.

Scene::Import function doesn't set the IsClosing flag anymore

Code which was relying on GetIsClosing is now using GetIsUpdating

See http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005057.html

Revision 14162  Directory Listing
Modified Thu Jul 15 12:10:50 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - Added IsImporting flag

IsImporting flag is set to True when Import starts and set to False when it ends

See http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005057.html

Revision 14161  Directory Listing
Modified Thu Jul 15 12:10:47 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: SceneRestoredEvent and ImportProgressFeedbackEvent have now a different event id

There were both equal to 66008.

Now SceneRestoredEvent = 66005 and ImportProgressFeedbackEvent = 66008

Revision 14160  Directory Listing
Modified Thu Jul 15 12:10:44 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - LoadProgressFeedbackEvent renamed into ImportProgressFeedbackEvent

Since Load{Start,End}Event has been renamed into SceneAboutToBeImported and SceneImported,
the event LoadProgressFeedbackEvent has also been renamed into ImportProgressFeedbackEvent

Revision 14159  Directory Listing
Modified Thu Jul 15 12:10:39 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - Event SceneLoad{Start|End}Event renamed into SceneAboutToBeImportedEvent and SceneImportedEvent

The event were invoked within Scene::Import() method.
Whereas in slicer "Loading" a scene means that method Scene::Connect should be called

To limit confusion, the event invoked within the function Import have been
named after the associated function.

Revision 14158  Directory Listing
Modified Thu Jul 15 12:10:29 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - Event SceneClosingEvent renamed into SceneAboutToBeClosed

This choice has been motivated to improve readability and limit confusion.

http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005057.html

Revision 14157  Directory Listing
Modified Thu Jul 15 12:10:20 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - Rename SceneCloseEvent into SceneClosedEvent

The choice has been motivated to improve readability and limit confusion.

See http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005057.html

Revision 14156  Directory Listing
Modified Thu Jul 15 12:09:56 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Update qMRMLEventLogger to use ctkLogger

Revision 14155  Directory Listing
Modified Thu Jul 15 12:09:53 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - Rename IsClosed flag into IsClosing

Since the flag is set to true when the scene start to close and set to false
when it's done. It was decided to rename it.

See http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005057.html

Revision 14154  Directory Listing
Modified Thu Jul 15 12:09:45 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - Update Connect function to invoke Clear(0) then Import()

Since Connect corresponds to Close followed by Import, it make sens
to call these functions instead of duplicating the code.

See http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005057.html

Revision 14153  Directory Listing
Modified Thu Jul 15 12:09:40 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - Added IsConnecting flag

IsConnecting flag is set to true when Connect start and set to False at the end

See http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005057.html

Revision 14152  Directory Listing
Modified Thu Jul 15 12:09:34 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: MRMLScene - Remove SceneLoadingErrorEvent

Listening SceneLoadEndEvent and checking for the error code allow
to handle case with error.

See http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005057.html

Revision 14151  Directory Listing
Modified Thu Jul 15 12:09:30 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: vtkMRMLSliceLogic - Updated DeleteSliceModel method, it now makes sure {SliceModel, SliceModelDisplay, SliceModelTransform}Node are present before calling scene->RemoveNode

Doing so ensure that the events NodeAboutToBeRemovedEvent and NodeRemovedEvent
are not invoked multiple times.

Revision 14147  Directory Listing
Modified Wed Jul 14 05:41:16 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add custom colors to the qMRMLROIWidget handles

Revision 14143  Directory Listing
Modified Tue Jul 13 20:59:49 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: Make sure the children of a removed node are added back as top level

Revision 14142  Directory Listing
Modified Tue Jul 13 20:59:45 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: When a node is removed from the scene, don't listen its modified event

in qMRMLSceneModels

Revision 14139  Directory Listing
Modified Tue Jul 13 19:21:58 2010 UTC (7 years, 2 months ago) by alexy
Original Path: trunk/Libs
ENH: added UseIndexSpace option to LabelmapSeeding module

Revision 14137  Directory Listing
Modified Tue Jul 13 15:25:40 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: vtkMRMLCameraDisplayableManager - Removed Add/RemoveCameraObservers

The added observers are not used - In case they are needed, that use case
should tested within vtkMRMLCameraDisplayableManagerTest1.

Moreover, instead of being separate function call, this functions should
be integrated to the existing method SetAndObserveCameraNode.

Revision 14136  Directory Listing
Modified Tue Jul 13 15:25:37 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: vtkMRMLCameraDisplayableManager - Remove unused variable CameraNodeWasCreated

Revision 14135  Directory Listing
Modified Tue Jul 13 15:25:34 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: vtkMRMLAbstractDisplayableManager - Observe DeleteEvent to properly call virtual method RemoveMRMLObservers

That will fix the memory leak referred in commit 14116 (http://viewvc.slicer.org/viewcvs.cgi?rev=14116&view=rev)
and also associated with test vtkMRMLCameraDisplayableManagerTest1
See http://www.cdash.org/CDash/testDetails.php?test=59641539&build=663774

Revision 14132  Directory Listing
Modified Tue Jul 13 03:16:33 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Don't access post/pre items collection if not initialized

Revision 14131  Directory Listing
Modified Tue Jul 13 03:16:20 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: qMRMLSceneFactoryWidget was always removing a random node

... instead of the one in the QLineEdit if any

Revision 14130  Directory Listing
Modified Tue Jul 13 03:16:08 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
COMP: Remove obsolete qMRMLTreeProxyModel

Revision 14128  Directory Listing
Modified Mon Jul 12 23:44:56 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
COMP: Remove obsolete qMRMLTreeProxyModel

Revision 14126  Directory Listing
Modified Mon Jul 12 23:36:40 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add qMRMLColorTableComboBox, a combobox for vtkMRMLColorTableNodes

and for vtkMRMLProceduralColorNode

Revision 14125  Directory Listing
Modified Mon Jul 12 23:36:35 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG:Update tests following the change that no node types means accept all

qMRMLSortFilterProxyModel now accepts all the nodes if no nodeType has been
given. The qMRMLNodeComboBoxTestX where not reflecting the change.

Revision 14124  Directory Listing
Modified Mon Jul 12 23:36:31 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add qMRMLSceneCategoryModel and qMRMLSceneColorTableModel

Revision 14123  Directory Listing
Modified Mon Jul 12 23:36:26 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add utility function qMRMLSortFilterProxyModel::mrmlScene()

mrmlScene() is the one from the source of qMRMLSortFilterProxyModel

Revision 14122  Directory Listing
Modified Mon Jul 12 23:36:22 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Redesign the Qt Scene model

qMRMLSceneModel to track the mrml scene and the proxy models to handle data
organization and hierarchies are no longer separated into objects using the
qt proxy mechanism.
There is no a unique scene model instance, qMRMLSceneTreeModel now derives
from qMRMLSceneModel (instead of having qMRMLSceneModel being a source of
qMRMLTreeProxyModel). The old design was facing issues when qMRMLSceneModel
was adding extra items on the vtkMRMLScene (preItems and postItems).

Revision 14121  Directory Listing
Modified Mon Jul 12 23:36:10 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
COMP: Do not parse typedefs with the VTK TCL parser

Revision 14116  Directory Listing
Modified Mon Jul 12 20:39:05 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: MRMLDisplayableGroup - After the group catched the DisplayableManagerFactoryRegisteredEvent make sure the MRMLViewNode and the Create method of the DisplayableManager are called.

This is a "quick/dirty" fix allowint the Annotation module folks to progress...
Note that the test vtkMRMLCameraDisplayableManagerTest1 has now leaks.

Revision 14103  Directory Listing
Modified Fri Jul 9 22:15:24 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: vtkDisplayableInteractorStyle - Rename function  Get/SetViewerWidget into Set/GetModelDisplayableManager

Revision 14102  Directory Listing
Modified Fri Jul 9 22:15:18 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: vtkMRMLAbstractDisplayableManager - Added virtual method AdditionnalInitializeStep()

That method is called from Initialize() method and can be overloaded in
subclass to perform additional initialization steps.

Revision 14101  Directory Listing
Modified Fri Jul 9 22:15:15 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: In vtkMRMLAbstractDisplayableManager - Fixed GetInteractor

Condition should used OR not AND operator

Revision 14100  Directory Listing
Modified Fri Jul 9 22:15:12 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: In vtkMRMLAbstractDisplayableManager, RemoveMRMLObservers is now called automatically from the destructor.

Revision 14099  Directory Listing
Modified Fri Jul 9 22:15:09 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: In vtkMRMLAbstractDisplayableManager - Change the prefix displayed when vtkDebug is used

Also updated comment regarding the friendship of vtkMRMLDisplayableManagerGroup
and removed vtkMRMLDisplayableManagerFactory friendship

Revision 14098  Directory Listing
Modified Fri Jul 9 22:15:06 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Move GetProcessingMRMLEvent() from vtkMRMLAbstractDisplayableManager to vtkMRMLAbstractLogic

Revision 14095  Directory Listing
Modified Fri Jul 9 17:16:26 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Update vtkMRMLAbstractDisplayableManager - OnMRMLSceneXXXEvent virtual methods doesn't pass the scene anymore

The scene can be obtained from the displayableManager itself using this->GetMRMLScene()

Revision 14088  Directory Listing
Modified Fri Jul 9 14:49:20 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Remove extra lines

Revision 14087  Directory Listing
Modified Fri Jul 9 14:49:14 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Review the DisplayableManagerFactory design

1) The factory is now a singleton (following the nifty pattern also applied in vtkEventBroker, see http://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Nifty_Counter)

2) DisplayableManager are registered using their classname
  - For that reason, in CMakeLists, the displayableManager should be
processed using the VTK_MAKE_INSTANTIATOR3 macro. Dong so will create the
proper list of instanciator.

3) The concept of DisplayableManagerGroup has been created.
A group is a list of DisplayableManager instances associated with a Renderer
and a MRMLViewNode.

For example, the qMRMLThreeDRenderView can call InstantiateDisplayableManagers()
method on the factory and obtain a DisplayableManagerGroup.

Observing the group, the qMRMLThreeDRenderView will be able to catch
the UpdateEvent (invoked upon a DisplayableManager call RequestRender) and
call its method scheduleRender(). Internally, ScheduleRender used a QTimer
to handle the compression of Rendering events.

The group also observe the Factory and will instantiate or delete a DisplayableManager
if DisplayableManager is registered/unregistered from the factory after
the group has been instantiated. The group observe the event
DisplayableManagerFactoryRegisteredEvent and DisplayableManagerFactoryUnRegisteredEvent
from the factory.

Note: Nothing prevent the instantiation of multiple Group associated with
the same renderer

Revision 14086  Directory Listing
Modified Fri Jul 9 14:49:03 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: Added the correct CameraDisplayableManager baseline image and change the image comparison threshold in the test

Revision 14085  Directory Listing
Modified Fri Jul 9 14:48:56 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: In ViewDisplayableManager, activeCamera is now always set to the actor when UpdateAxis is called

Before that change, the active camera was set to the actor
only if the bounding box had changed.

Revision 14084  Directory Listing
Modified Fri Jul 9 14:48:52 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: Update CameraDisplayableManager - Implemented Create(), better cleaning of memory, consider IsClosed() flag

Revision 14083  Directory Listing
Modified Fri Jul 9 14:48:47 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: IsClosed flag is now set when vtkMRMLScene::Connect starts and unset at the end

Doing so allows observer to cleanly ignore MRML event

Revision 14082  Directory Listing
Modified Fri Jul 9 14:48:43 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Fix misspelled comment in vtkEventBroker class

Revision 14037  Directory Listing
Modified Tue Jul 6 00:00:57 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: qMRMLSortFilterProxyModel::mrmlNode handles proxy idx not source idx

the internal pointer of a qMRMLSortFilterProxyModel proxy index is not a
vtkObject*, it's its own internal type.

Revision 14036  Directory Listing
Modified Tue Jul 6 00:00:54 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: In pixel was missing when relayouting qCTKFlowLayout

the size returned by qCTKFlowLayout::sizeHint() was making the last item of
the last to be shown on a 2nd line. It's because rect.right() is 1 pixel
too short.

Revision 14035  Directory Listing
Modified Tue Jul 6 00:00:50 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: The sizehint of qCTKFlowLayout was wrong

The qCTKFlowLayout::sizehint was returning the largest sizehint of all the
items. It is not correct.
The new sizehint is the longest line that can be formed by the items.

Revision 14034  Directory Listing
Modified Tue Jul 6 00:00:47 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Apply a sort and filter proxy model to qMRMLTreeWidget

Revision 14033  Directory Listing
Modified Tue Jul 6 00:00:44 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: When no node type is given, qMRMLSortFilterProxyModel shows them all

Revision 14032  Directory Listing
Modified Tue Jul 6 00:00:40 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: Fix connection between qMRMLSortFilterProxyModel & qMRMLTreeProxyModel

qMRMLSortFilterProxyModel was asking qMRMLTreeProxyModel the item of an
invalid index with a 0 model. qMRMLTreeProxyModel didn't know what model
(proxy or source) qMRMLSortFilterProxyModel was talking about.

Revision 14027  Directory Listing
Modified Sun Jul 4 23:41:43 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: The column names were not propagated when using a qMRMLTreeProxyModel

Revision 14026  Directory Listing
Modified Sun Jul 4 23:41:39 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Listen to ModifiedEvent of vtkMRMLNode in qMRMLSceneModel
ENH: Listen to the current node selected in the qMRMLTreeWidget

Revision 14025  Directory Listing
Modified Sun Jul 4 23:41:36 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add utility methods to qMRMLSceneModel

Revision 14024  Directory Listing
Modified Sat Jul 3 21:54:33 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add qMRMLROIWidget and qSlicerROIModule[Widget]

Revision 14023  Directory Listing
Modified Sat Jul 3 21:51:59 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: Disable testing of the MRML models

Revision 14020  Directory Listing
Modified Fri Jul 2 20:42:11 2010 UTC (7 years, 2 months ago) by domibel
Original Path: trunk/Libs
ENH: adding version numbering for shared libraries

Revision 14012  Directory Listing
Modified Fri Jul 2 12:39:22 2010 UTC (7 years, 2 months ago) by domibel
Original Path: trunk/Libs
ENH: adding version numbering for shared libraries

Revision 14004  Directory Listing
Modified Thu Jul 1 03:40:48 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added method displayableManagerFactory() to qMRMLThreeDRenderView

That should allow module developer to obtain a reference to the factory.

Revision 14001  Directory Listing
Modified Thu Jul 1 03:40:24 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: Update qMRMLSliceViewWidget.ui to consider the fact qMRMLNodeComboBox now extend from QWidget

Revision 14000  Directory Listing
Modified Thu Jul 1 03:40:18 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Rename variable in vtkMRMLCameraDisplayableManagerTest1

Revision 13999  Directory Listing
Modified Thu Jul 1 03:40:10 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE:  qMRMLSliceViewWidget widgets - logger.setTrace to False

Revision 13998  Directory Listing
Modified Thu Jul 1 03:40:03 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Update qMRMLThreeDRenderView to use DisplayableManagerFactory

Camera and View DisplayableManager have been included

Note also that qMRMLWidgets now depends on MRMLDisplayableManager library

Revision 13997  Directory Listing
Modified Thu Jul 1 01:29:10 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added test vtkMRMLCameraDisplayableManagerTest1

This test instantiates a Renderer, Renderwindow, Interactor and associate
the custom interactor style: vtkDisplayableManagerInteractorStyle

Then,

 1) Instantiate vtkMRMLApplicationLogic and add a vtkMRMLViewNode
 2) Instantiate DisplayableManagerFactory and register a Camera and a View Manager

 3) Save the scene as a file and compare it with the one checked in the repository
 4) Load the scene
 5) Re-play a stream of event
 6) Do a screenshot and compare with the Baseline

That test could be considered as a basis to write additional test
related to DisplayableManager.

Revision 13996  Directory Listing
Modified Thu Jul 1 01:29:03 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added vtkMRMLApplicationLogic

For now, this logic is in charge of observing the scene and, if needed,
creating the appropriate vtkMRMLInteractionNode and vtkMRMLSelectionNode

Revision 13995  Directory Listing
Modified Thu Jul 1 01:28:59 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added vtkMRMLViewDisplayableManager

This manager is in charge of observing its associated MRMLViewNode.
Also in charge of displaying the AxisBox
and observing the CameraDisplayableManager associated with its factory
to react properly when the active camera changes.
See vtkMRMLCameraDisplayableManager::ActiveCameraChangedEvent

Revision 13994  Directory Listing
Modified Thu Jul 1 01:28:55 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added CameraDisplayableManager

That manager is in charge of observing the scene and should make sure
its associated MRMLViewNode is properly associated with a vtkCameraNode

Revision 13993  Directory Listing
Modified Thu Jul 1 01:28:51 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Review vtkMRMLAbstractDisplayableManager, vtkMRMLDisplayableManagerFactory and vtkMRMLAbstractLogic API

Remove unused function, fix indent

All private member are not in vtkInternal, they should be accessed using
the exposed Setter / Getter. Make API more clear and testing easier.

DisplayableManagerFactory:
  - Possible to register/unregister displayable manager
  - Now possible to obtain the reference of an other manager from any manager
of a same factory. (See GetDisplayableManagerByClassName)
  - Fix memory leaks

AbstractDisplayableManager:
  - Now possible to overload the default virtual method associated with the
usual scene event. Also possible to overload ProcessMRMLEvent in subclasses.

Update vtkMRMLSliceLogic, vtkMRMLSliceLayerLogic, vtkMRMLModelHierarchylogic
to reflect the fact private member moved into vtkInternal


ModelDisplayableManager still need some attention.

Revision 13992  Directory Listing
Modified Thu Jul 1 01:28:44 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Clean Lib/MRMLDisplayableManager/CMakeLists.txt - Only cxx files should be listed in the CMakeLists.txt of "VTK" based libraries.

Revision 13991  Directory Listing
Modified Thu Jul 1 01:28:41 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: In vtkMRMLScene::RemoveNode, if build as Debug, a warning is displayed if removeNode called multiple time with the same node.

Revision 13982  Directory Listing
Modified Tue Jun 29 01:39:47 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: vtkMRMLSliceLogic - Make sure AddNodeNoNotify is not used

Note that the functions AddNodeNoNotify and RemoveNodeNoNotify are deprecated
and shouldn't be used.

Using these functions lead to inconsistency, observers like qMRMLSceneModel
are not able to accurately and efficiently "track" the mrml scene changes.

Revision 13981  Directory Listing
Modified Tue Jun 29 01:39:40 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: In qMRMLSceneModel, make sure MRML scene observer is removed

Regression introduced by the commit 19967

Revision 13979  Directory Listing
Modified Tue Jun 29 01:39:25 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Merge qSlicerMRMLSliceViewWidget and qMRMLSliceViewWidget classes

Since SlicerSliceLogic and SlicerSliceLayerLogic have been moved to MRMLLogic,
qMRMLWidgets library now depends on MRMLLogic

Revision 13978  Directory Listing
Modified Tue Jun 29 01:06:20 2010 UTC (7 years, 2 months ago) by alexy
Original Path: trunk/Libs
ENH: added MRML Displayable Manager  and Logic classes

Revision 13977  Directory Listing
Modified Mon Jun 28 23:51:15 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
BUG: Use a margin of 0 around the combobox in qMRMLNodeComboBox

Revision 13976  Directory Listing
Modified Mon Jun 28 21:32:21 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
COMP: MRMLDisplayableManager depends on vtkWidgets

Revision 13967  Directory Listing
Modified Mon Jun 28 15:48:53 2010 UTC (7 years, 2 months ago) by finetjul
Original Path: trunk/Libs
ENH: in qMRMLSceneModel, use vtk callbacks instead of qvtkconnect as callbacks are faster 

Revision 13963  Directory Listing
Modified Mon Jun 28 03:11:50 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Remove extra debug statement in Base/MRMLLogic/CMakeLists.txt

Revision 13962  Directory Listing
Modified Mon Jun 28 02:52:43 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Move vtkSlicerSliceLogic and vtkSlicerSliceLayerLogic to MRMLLogic library

Also move the dependent classes: vtkImageLabelOutline, vtkImageNeighborhoodFilter,
vtkImageResliceMask, vtkImageSlice to MRMLLogic

Ultimately, these class should be added to the slicer/VTK git fork and eventually
ported to the offical VTK repository.

All Cxx classes and Tcl script referencing vtkSlicerSliceLogic and vtkSlicerSliceLayerLogic
have also been updated.

Tcl wrapping hints have been moved from Base/Logic/Wrapping/Tcl/hints to
Libs/MRMLLogic/Wrapping/Tcl/hints

Revision 13956  Directory Listing
Modified Sat Jun 26 00:06:05 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
BUG: Add New() method to vtkMRMLAbstractLogic and vtkMRMLAbstractDisplayableManager class

Revision 13952  Directory Listing
Modified Fri Jun 25 15:15:39 2010 UTC (7 years, 2 months ago) by jcfr
Original Path: trunk/Libs
ENH: Move the MRMLLogic and MRMLDisplayableManager classes to their respective library directory

Revision 13945  Directory Listing
Modified Thu Jun 24 22:15:16 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
ENH: Created directory structure supporting new libraries MRMLLogic and MRMLDisplayableManager

The dependency graph looks like:

              |----------<---- SlicerBaseLogic
              |
MRML ----- MRMLLogic ---- MRMLDisplayableManager
                            |
                            |-------< ----- SlicerBaseGUI
                            |
                            |-------< ----- SlicerBaseQTGUI

Revision 13929  Directory Listing
Modified Thu Jun 24 06:01:37 2010 UTC (7 years, 3 months ago) by finetjul
Original Path: trunk/Libs
BUG: Remove obsolete qMRMLNodeSelector. qMRMLNodeComboBox should be used instead

qMRMLNodeComboBox doesn't derive from QComboBox anymore, here we fix the emitter of the signal currentIndexChanged().

Revision 13922  Directory Listing
Modified Wed Jun 23 14:36:16 2010 UTC (7 years, 3 months ago) by finetjul
Original Path: trunk/Libs
ENH: Remove obsolete qMRMLNodeSelector. qMRMLNodeComboBox should be used instead

Revision 13891  Directory Listing
Modified Mon Jun 21 13:00:29 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
COMP: In qMRMLNodeFactory, added virtual destructor to vtkMRMLNodeInitializer

Revision 13881  Directory Listing
Modified Sun Jun 20 10:02:32 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
STYLE: In qMRMLEventLoggerWidget.ui change window title to a meaningful value

Revision 13880  Directory Listing
Modified Sun Jun 20 10:02:28 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
ENH: Add convenient method countVisibleViewNode to qMRMLUtils

The method will return the number of vtkMRMLViewNode having
their visibility set to On

Revision 13879  Directory Listing
Modified Sun Jun 20 10:02:24 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added class qMRMLThreeDRenderView and its corresponding QtDesigner plugin

Revision 13878  Directory Listing
Modified Sun Jun 20 10:02:14 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added class vtkMRMLThreeDRenderViewInteractorStyle

Revision 13877  Directory Listing
Modified Sun Jun 20 10:02:07 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added qMRMLSliceViewWidget classes and its corresponding QtDesigner plugin

First draft of the slice view and its controller widget

Revision 13876  Directory Listing
Modified Sun Jun 20 10:01:52 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added layout icons as qMRMLWidgets resources

Revision 13875  Directory Listing
Modified Sun Jun 20 10:01:36 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
ENH: In qMRMLNodeFactory, method createNode can now take a vtkMRMLNodeInitializer as second parameter

vtkMRMLNodeInitializer is functor object that should be derived to provide
extra initialization step. These steps are executed just before the node
is added to the scene.

Revision 13874  Directory Listing
Modified Sun Jun 20 10:01:32 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
STYLE: vtkMRMLScalarVolumeDisplayNode - Added missing "comment line" separator

Revision 13867  Directory Listing
Modified Sun Jun 20 10:01:01 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added qMRMLWidget class

Base class for all qMRMLWidget objects that should have the methods
mrmlScene/setMRMLScene

Revision 13866  Directory Listing
Modified Sun Jun 20 09:56:29 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
BUG: Revert "BUG: Select the item "None" if qMRMLNodeComboBox::NoneEnabled is true"

The application was crashing when the parent widget visibility was set to True

This reverts commit r13847.

Revision 13860  Directory Listing
Modified Sat Jun 19 17:35:36 2010 UTC (7 years, 3 months ago) by finetjul
Original Path: trunk/Libs
STYLE: Add comments, useless output printing...

Revision 13847  Directory Listing
Modified Fri Jun 18 15:09:58 2010 UTC (7 years, 3 months ago) by finetjul
Original Path: trunk/Libs
BUG: Select the item "None" if qMRMLNodeComboBox::NoneEnabled is true

Revision 13846  Directory Listing
Modified Fri Jun 18 15:09:54 2010 UTC (7 years, 3 months ago) by finetjul
Original Path: trunk/Libs
STYLE: Add comments and remove trailing whitespaces

Revision 13845  Directory Listing
Modified Fri Jun 18 15:09:50 2010 UTC (7 years, 3 months ago) by finetjul
Original Path: trunk/Libs
ENH: Support the qMRMLSortFilterProxyModel::ShowHidden property

When ShowHidden is false, don't show the nodes that return true
to vtkMRMLNode::GetHideFromEditors()

Revision 13840  Directory Listing
Modified Thu Jun 17 20:40:34 2010 UTC (7 years, 3 months ago) by naucoin
Original Path: trunk/Libs
ENH: expose the scalar range min/max in the models gui. WARNING: scalar range is ignored if you're using a color transfer function, so the FreeSurfer Green/Red and Red/Blue nodes won't display the range properly

Revision 13838  Directory Listing
Modified Thu Jun 17 08:27:51 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
COMP: QTBaseLibraries and qMRMLWidgets now link against CTK_EXTERNAL_LIBRARIES

Revision 13831  Directory Listing
Modified Thu Jun 17 03:00:44 2010 UTC (7 years, 3 months ago) by finetjul
Original Path: trunk/Libs
COMP: Copy the Qt designer plugins in the correct location.

Revision 13829  Directory Listing
Modified Wed Jun 16 21:01:44 2010 UTC (7 years, 3 months ago) by fedorov
Original Path: trunk/Libs
ENH: change get method to enable access from Tcl

Revision 13818  Directory Listing
Modified Wed Jun 16 13:13:11 2010 UTC (7 years, 3 months ago) by finetjul
Original Path: trunk/Libs
COMP: Fix the launcher to handle Designer plugins (Slicer and CTK plugins)

Revision 13801  Directory Listing
Modified Tue Jun 15 18:12:21 2010 UTC (7 years, 3 months ago) by finetjul
Original Path: trunk/Libs
ENH: Merge Base/QTBase with Base/QTCore

Some QtGUI dependent code was in Base/QTBase (qSlicerWidget,
qSlicerAbstractModuleWidget...) but Base/QTBase is not supposed to have
any QtGUI dependent code.
Moreover, QTBase and QTCore had no striking difference, they should be
merged.
QTBase is then moved into QtCore and QtGUI depending on the dependencies.
qSlicerAbstractModule (non gui) was depending on
qSlicerAbstractModuleWidget (gui), we created an intermediate class:
qSlicerAbstractModuleRepresentation (non gui) to remove the dependency
with GUI code. As the last class share a property with qSlicerWidget
(MRMLScene), we created a base class that contains the property.
ctkSettings is a gui class but is used in qSlicerCoreApplication, we now
handle QSettings in qSlicerCoreApplication and ctkSettings in
qSlicerApplication.

Revision 13764  Directory Listing
Modified Fri Jun 11 16:58:42 2010 UTC (7 years, 3 months ago) by alexy
Original Path: trunk/Libs
ENH: Remove unused color and glyph options from fiber bundle display

Revision 13745  Directory Listing
Modified Thu Jun 10 19:24:02 2010 UTC (7 years, 3 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: merging from branch: added logic to see whether clear cache emptied the dir, and if not, warns user to have always-redownload checked to ensure clean loads of data.

Revision 13720  Directory Listing
Modified Wed Jun 9 22:32:05 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Added comment line, remove extra doxygen comments, removed extra header includes

Revision 13669  Directory Listing
Modified Mon Jun 7 17:58:49 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
BUG: Libs/MRML/CMakeLists.txt - Fix warning related to missing Libs/VTK dir

Since VTK isn't included in Slicer3/Libs, removed it from packages variable.

That should fix the following warning:
 -L: directory name (/.../Slicer3-bin/Slicer3-build/Libs/VTK) does not exist

See http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=628240

Revision 13657  Directory Listing
Modified Sun Jun 6 04:46:01 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
BUG: Added missing virtual destructor in qSlicerIOOptions and few qMRML classes

Revision 13652  Directory Listing
Modified Sat Jun 5 14:44:28 2010 UTC (7 years, 3 months ago) by pieper
Original Path: trunk/Libs
BUG: re-enable auto window/level calculation for int-like types

Revision 13636  Directory Listing
Modified Fri Jun 4 17:56:56 2010 UTC (7 years, 3 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid running vtkImageBimodalAnalysis on non-INT datatypes - always use ad hoc method to guess window/level

Revision 13628  Directory Listing
Modified Fri Jun 4 14:53:33 2010 UTC (7 years, 3 months ago) by jcfr
Original Path: trunk/Libs
BUG: qMRMLSceneFactoryWidget::generateNode is more robust

The method now regenerate a classNumber if the obtained node has
a singeltonTag set to True.

That fixes test qMRMLSceneFactoryWidgetTest1

Revision 13599  Directory Listing
Modified Thu Jun 3 00:17:08 2010 UTC (7 years, 3 months ago) by pieper
Original Path: trunk/Libs
BUG: change behavior to be consistent with superclass

Revision 13547  Directory Listing
Modified Fri May 28 16:41:22 2010 UTC (7 years, 3 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED: don't update references while closing the scene. May cause crash if widgets still observing nodes.

Revision 13544  Directory Listing
Modified Fri May 28 15:14:53 2010 UTC (7 years, 3 months ago) by millerjv
Original Path: trunk/Libs
BUG: restore of navigation mode from MRML file

Revision 13540  Directory Listing
Modified Fri May 28 12:42:46 2010 UTC (7 years, 3 months ago) by pieper
Original Path: trunk/Libs
STYLE: merge from 3.6 branch

Revision 13521  Directory Listing
Modified Thu May 27 16:42:16 2010 UTC (7 years, 3 months ago) by pieper
Original Path: trunk/Libs
COMP: avoid namespace problem for B0 and ECHO which appear in both python and teem

Revision 13519  Directory Listing
Modified Thu May 27 16:34:50 2010 UTC (7 years, 3 months ago) by pieper
Original Path: trunk/Libs
BUG: set scene IsClosed flag while clearing the scene also check this flag and don't update node references while scene is closing

Revision 13508  Directory Listing
Modified Wed May 26 18:31:24 2010 UTC (7 years, 3 months ago) by naucoin
Original Path: trunk/Libs
BUG: porting fix for bug 850 from 3.6 branch, set the full path on the file list members on reading in from xml

Revision 13496  Directory Listing
Modified Tue May 25 23:27:10 2010 UTC (7 years, 4 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix GenerateGenerateLMConfig.cmake to make use of GenerateLMLauncher on non windows platform

That should fix error similar to this one:
dyld: Library not loaded: libitksys.3.18.dylib
  Referenced from: .../Slicer3-bin/Slicer3-build/Modules/Tractography/FiducialSeeding/../../../bin/GenerateLM
  Reason: image not found

Revision 13494  Directory Listing
Modified Tue May 25 22:37:55 2010 UTC (7 years, 4 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix GenerateGenerateCLPConfig.cmake to make use of GenerateCLPLauncher on non windows platform

That should fix the problem happening on mac:
dyld: Library not loaded: libitksys.3.18.dylib
  Referenced from: .../Slicer3-build/Libs/SlicerExecutionModel/GenerateCLP/Testing/../../../../bin/GenerateCLP
  Reason: image not found

Revision 13449  Directory Listing
Modified Sat May 22 19:13:50 2010 UTC (7 years, 4 months ago) by alexy
Original Path: trunk/Libs
ENH: replaced qt range slider with range widget for Volume Display widget

Revision 13447  Directory Listing
Modified Sat May 22 15:07:16 2010 UTC (7 years, 4 months ago) by alexy
Original Path: trunk/Libs
ENH: replaced qt range slider wit range widget

Revision 13440  Directory Listing
Modified Fri May 21 20:12:10 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: debugging multiple views and cameras. Fixing creation of new camera nodes, swapping between them. Dual3D mode may not behave as expected depending on number of view and camera nodes in scene

Revision 13430  Directory Listing
Modified Thu May 20 21:55:02 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: a backward compatibility issue, some old mrml files have multiple camera nodes pointing to the same view node, make sure only one camera node points to a given view node

Revision 13403  Directory Listing
Modified Tue May 18 19:15:30 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: check for null pointers, change some args to uri instead of filename

Revision 13381  Directory Listing
Modified Fri May 14 21:53:11 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: fix a memory leak

Revision 13380  Directory Listing
Modified Fri May 14 21:32:41 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: fix bugs found in testing, use new testing macros

Revision 13379  Directory Listing
Modified Fri May 14 20:53:37 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: make new EXERCISE_BASIC_TRANSFORM_MRML_METHODS testing macro, use it, fix bug found with it. Converting more tests to macros, for the colour nodes only test the transformable methods until get new storage nodes sorted out

Revision 13378  Directory Listing
Modified Fri May 14 20:34:32 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: check for null helper pointer, exposed by testing

Revision 13377  Directory Listing
Modified Fri May 14 19:37:14 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: provide a concrete default storage node for testing

Revision 13376  Directory Listing
Modified Fri May 14 19:31:42 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: provide a concerte default storage node

Revision 13375  Directory Listing
Modified Fri May 14 19:20:27 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: the time series volume node doesn't define the proper subclasses for a storable node, for now just use a scalar volume storage node

Revision 13371  Directory Listing
Modified Thu May 13 22:56:58 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
ENH: use the testing macro

Revision 13369  Directory Listing
Modified Thu May 13 22:16:52 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: use the testing macros, same fault as the diffusion node

Revision 13367  Directory Listing
Modified Thu May 13 21:55:32 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: removing infinte loop in ReadXMLAttributes

Revision 13366  Directory Listing
Modified Thu May 13 21:50:22 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
ENH: updating volume node tests to use new macros. vtkMRMLDiffusionTensorVolumeNodeTest1 is currently failing because it implements a different logic in it's SetAndObserveDisplayNodeID, checking for a null scene

Revision 13363  Directory Listing
Modified Thu May 13 21:06:45 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: testing uncovered some null pointers not being checked for

Revision 13357  Directory Listing
Modified Thu May 13 19:58:26 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
ENH: chain the testing macros by passing the classname for making the base mrml macro new node, provide some range ones that test outside and inside the ranges, use the display node test macros

Revision 13355  Directory Listing
Modified Thu May 13 17:48:23 2010 UTC (7 years, 4 months ago) by jcfr
Original Path: trunk/Libs
COMP: Update qMRMLWidgets/CMakeLists.txt to use CTK_LIBRARIES

Revision 13352  Directory Listing
Modified Thu May 13 17:48:13 2010 UTC (7 years, 4 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Remove extra empty line in vtkMRMLViewNode.cxx

Revision 13351  Directory Listing
Modified Thu May 13 17:48:09 2010 UTC (7 years, 4 months ago) by jcfr
Original Path: trunk/Libs
STYLE: in qMRMLSceneModel, comment debug statement

Revision 13349  Directory Listing
Modified Thu May 13 17:48:02 2010 UTC (7 years, 4 months ago) by jcfr
Original Path: trunk/Libs
ENH: Move and renamed "Visibile*.png" images from QTGUI to qMRMLWidgets

Revision 13338  Directory Listing
Modified Wed May 12 18:56:41 2010 UTC (7 years, 4 months ago) by jcfr
Original Path: trunk/Libs
BUG: In qMRMLEventLogger, macro QMRMLEVENTLOGGER_ONEVENT_SLOT_MACRO now output to console the correct emitted signal

Revision 13327  Directory Listing
Modified Tue May 11 21:41:48 2010 UTC (7 years, 4 months ago) by pieper
Original Path: trunk/Libs
STYLE: remove debugging output

Revision 13326  Directory Listing
Modified Tue May 11 21:40:41 2010 UTC (7 years, 4 months ago) by pieper
Original Path: trunk/Libs
STYLE: remove debugging output

Revision 13324  Directory Listing
Modified Tue May 11 21:32:41 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
ENH: add a storage node test macro, fixing bugs it found, using new macros

Revision 13316  Directory Listing
Modified Tue May 11 17:33:28 2010 UTC (7 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: remove unused variable

Revision 13315  Directory Listing
Modified Tue May 11 16:43:17 2010 UTC (7 years, 4 months ago) by finetjul
Original Path: trunk/Libs
ENH: Merge Slicer4 branch on trunk rev12438 -> rev13314

Revision 13308  Directory Listing
Modified Mon May 10 22:35:51 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
ENH: add mrml testing macros, start using them

Revision 13307  Directory Listing
Modified Mon May 10 22:33:13 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: check for null scene

Revision 13305  Directory Listing
Modified Mon May 10 21:02:31 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: check for non null scene, caught in testing

Revision 13304  Directory Listing
Modified Mon May 10 20:10:03 2010 UTC (7 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: merge fix from release branch (rev 13303)

Revision 13215  Directory Listing
Modified Tue May 4 19:44:07 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
STYLE: warning macro to debug

Revision 13193  Directory Listing
Modified Mon May 3 22:18:17 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: make sure that the archetype is first in the updated file list for upload

Revision 13167  Directory Listing
Modified Mon May 3 15:06:08 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
COMP: removing Qdec module and library for 3.6 module cull, removed refs from Query Atlas, removed tests

Revision 13166  Directory Listing
Modified Mon May 3 15:00:02 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: use smart pointers to avoid memory leaks

Revision 13151  Directory Listing
Modified Sat May 1 13:38:50 2010 UTC (7 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid possible bad access through null pointer

Revision 13097  Directory Listing
Modified Thu Apr 29 21:28:17 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: adding an ascii version of the cube and sphere for testing xml poly data reading

Revision 13096  Directory Listing
Modified Thu Apr 29 21:25:25 2010 UTC (7 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: set default status of scalar volumes to be non-labelmaps explicitly so they will show up in nodeselectors that try to exclude labelmaps by attribute

Revision 13088  Directory Listing
Modified Thu Apr 29 20:15:12 2010 UTC (7 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: better handling of values out-of-range for lookup table

Revision 13086  Directory Listing
Modified Thu Apr 29 20:09:09 2010 UTC (7 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: don't prompt for new label map when editing  non-scalar volumes

Revision 12992  Directory Listing
Modified Wed Apr 28 20:27:35 2010 UTC (7 years, 4 months ago) by millerjv
Original Path: trunk/Libs
ENH: allow newlines to be explicitly put in the description field so that documentation can be formatted into paragraphs

Revision 12956  Directory Listing
Modified Tue Apr 27 22:46:13 2010 UTC (7 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: for bug 818, add a version number to the fiducial file as well and try to make sure that we're using the correct symbol when load in fids from mrml and from files

Revision 12903  Directory Listing
Modified Sat Apr 24 19:50:49 2010 UTC (7 years, 5 months ago) by alexy
Original Path: trunk/Libs
ENH added wrappable API

Revision 12897  Directory Listing
Modified Sat Apr 24 14:47:21 2010 UTC (7 years, 5 months ago) by alexy
Original Path: trunk/Libs
ENH: bug 574: added Model Transform module

Revision 12873  Directory Listing
Modified Thu Apr 22 21:42:21 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: remove testing for fix of bug 240

Revision 12872  Directory Listing
Modified Thu Apr 22 21:40:38 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: 240 collapse the path when reading in a file name from mrml, this avoids problems with symlinks in relative paths (vtksys::SystemTools::FileIsSymlink doesn't detect them)

Revision 12844  Directory Listing
Modified Tue Apr 20 22:14:57 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: 166 if a bool parameter doesn't have a default, need to set it to false. Updated execution model tour to have a non default boolean arg

Revision 12791  Directory Listing
Modified Sat Apr 17 16:12:43 2010 UTC (7 years, 5 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED: 744
Remove unreferenced storage and display nodes before saving a scene

Revision 12759  Directory Listing
Modified Wed Apr 14 22:00:07 2010 UTC (7 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: return const references to the internal members of the structure so that when accessor methods return c_str const char pointers to the strings they will point to valid memory (without the references a copy of the string is created on the stack and it goes out of scope when the accessor method returns)

Revision 12754  Directory Listing
Modified Wed Apr 14 17:48:54 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: adjust the glyph type when it's read in from older mrml files before the change to the glyph type enum (from versions older than 12553 or that don't have versions)

Revision 12740  Directory Listing
Modified Tue Apr 13 18:19:07 2010 UTC (7 years, 5 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED 807: In the Slicer3MinuteScene in the Layout node ViewArrangement is set to -1.
In the current slicer version valid arrangements start with 0. Fixed node reader to convert -1 to 0.

Revision 12720  Directory Listing
Modified Mon Apr 12 21:13:25 2010 UTC (7 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: fix for bug 804 (bad symbol name)

Revision 12697  Directory Listing
Modified Thu Apr 8 22:15:04 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
COMP: a compiler was complaining about getting to the end of a non void fn

Revision 12696  Directory Listing
Modified Thu Apr 8 22:02:20 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
COMP: getting rid of uninit var, casting compiler warnings

Revision 12689  Directory Listing
Modified Thu Apr 8 18:41:27 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: trying to find memory leak, changing to smart pointers

Revision 12688  Directory Listing
Modified Thu Apr 8 17:12:10 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: trying to find a memory leak, switch to smart pointers

Revision 12686  Directory Listing
Modified Thu Apr 8 16:06:07 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: test for leaks when closing an empty mrml scene

Revision 12678  Directory Listing
Modified Tue Apr 6 22:14:46 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: backwards compatibility, check for a mrml scene version that's from before changed the glyph type numbering and adjust

Revision 12666  Directory Listing
Modified Tue Apr 6 18:50:53 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: adding missing print out of last loaded version

Revision 12665  Directory Listing
Modified Tue Apr 6 18:07:56 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: adding missing print out of version

Revision 12653  Directory Listing
Modified Mon Apr 5 19:37:03 2010 UTC (7 years, 5 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: added start of side by side compare view. linked control not yet working.

Revision 12617  Directory Listing
Modified Fri Apr 2 16:36:05 2010 UTC (7 years, 5 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: fix various issues with the double sliders. Add unit test for qCTKDoubleRangeSlider.

Revision 12616  Directory Listing
Modified Fri Apr 2 16:36:00 2010 UTC (7 years, 5 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: add more test to qCTKRangeSlider + Fix bug of slider positions when tracking is off

Revision 12615  Directory Listing
Modified Fri Apr 2 16:35:56 2010 UTC (7 years, 5 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add test to qCTKRangeSlider.

Revision 12564  Directory Listing
Modified Wed Mar 31 18:27:25 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: when moving the fids in 2d, need to take into account any transforms

Revision 12553  Directory Listing
Modified Tue Mar 30 21:51:17 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
ENH: throw an event when swap fids, use smart pointers, check for position change before setting it

Revision 12552  Directory Listing
Modified Tue Mar 30 21:50:23 2010 UTC (7 years, 5 months ago) by naucoin
Original Path: trunk/Libs
ENH: don't turn off modified when reading, new fids are faster

Revision 12535  Directory Listing
Modified Mon Mar 29 20:04:09 2010 UTC (7 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid issuing duplicate events

Revision 12514  Directory Listing
Modified Sun Mar 28 16:13:08 2010 UTC (7 years, 5 months ago) by hjohnson
Original Path: trunk/Libs
ENH: Encapsulated the SlicerExecutionModel requirements so that it is easier to develop compliant applications without the burden of building all of Slicer.

Revision 12506  Directory Listing
Modified Sat Mar 27 18:53:38 2010 UTC (7 years, 5 months ago) by lorensen
Original Path: trunk/Libs
COMP: Need to EXPORT symbols for Windows.

Revision 12505  Directory Listing
Modified Sat Mar 27 18:52:54 2010 UTC (7 years, 5 months ago) by lorensen
Original Path: trunk/Libs
COMP: getline is in std:: namespace.

Revision 12504  Directory Listing
Modified Sat Mar 27 18:00:38 2010 UTC (7 years, 5 months ago) by hjohnson
Original Path: trunk/Libs
COMP:  Attempting to fix compilation error due to function prototypes not being declared external.

Revision 12497  Directory Listing
Modified Fri Mar 26 21:42:22 2010 UTC (7 years, 5 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: workaround for blocking the processing of pick events while user is in persistent place mode

Revision 12492  Directory Listing
Modified Fri Mar 26 19:28:10 2010 UTC (7 years, 5 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add the signals nodeAdded and nodeAboutToBeRemoved to the QObject qMRMLNodeComboBox. It is notably used in qSlicerCamerasModuleWidget.

Revision 12490  Directory Listing
Modified Fri Mar 26 19:28:03 2010 UTC (7 years, 5 months ago) by finetjul
Original Path: trunk/Libs
BUG: qSlicerCLIModuleWidget was initializing qCTKDoubleSlider with int:min() and int::max() that fired an assert. qCTKDoubleSlider now poorly handle values outside of the integer bounds.

Revision 12482  Directory Listing
Modified Fri Mar 26 13:54:22 2010 UTC (7 years, 5 months ago) by hjohnson
Original Path: trunk/Libs
COMP:  This functionality is now included in the ModuleDescriptionUtilities.  It was causing a duplicate symbol error during linking.

Revision 12472  Directory Listing
Modified Thu Mar 25 20:44:08 2010 UTC (7 years, 6 months ago) by taox
Original Path: trunk/Libs
BUG: this function is blank by intention. There should not be a warning message.

Revision 12470  Directory Listing
Modified Thu Mar 25 17:41:18 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
BUG: qMRMLVariantArrayItemHelper was increasing the reference count of the vtkMRMLScene (preventing it to be deleted). A system to not increase the reference count has been added.

Revision 12468  Directory Listing
Modified Thu Mar 25 15:58:58 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
BUG: Add qCTKDoubleSliderTest1, fix a bug when changing the singlestep was setting the wrong value to the slider (because the range was set too late).

Revision 12467  Directory Listing
Modified Thu Mar 25 15:58:54 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add qCTKRangeWidget + redesigned the range widgets: qCTKRangeSlider, qCTKDoubleRangeSlider

Revision 12449  Directory Listing
Modified Wed Mar 24 18:53:54 2010 UTC (7 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: set the executable for registered file extensions when reading them in from the cache

Revision 12445  Directory Listing
Modified Wed Mar 24 00:03:13 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: qMRMLSceneModel: make sure the parents don't have children in the column != 0. The qCTKModelTester doesn't like when a valid data is a null QVariant, return an empty QString instead.

Revision 12444  Directory Listing
Modified Wed Mar 24 00:03:08 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: qMRMLSceneModel had hierarchies in column != 0. Support the case when a node is added to the scene without NodeAboutToBeAdded. When the mrmlscene is not set, disable the combobox and don't add the ExtraItems.

Revision 12442  Directory Listing
Modified Wed Mar 24 00:02:57 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add more tests in qCTKModelTester

Revision 12441  Directory Listing
Modified Wed Mar 24 00:02:51 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: weird behavior in the range slider.

Revision 12440  Directory Listing
Modified Wed Mar 24 00:02:44 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add a basic implementation of qCTKDoubleRangeSlider

Revision 12434  Directory Listing
Modified Tue Mar 23 14:21:36 2010 UTC (7 years, 6 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: fixed crash in qMRMLSceneModel on load volume

Revision 12429  Directory Listing
Modified Tue Mar 23 00:05:50 2010 UTC (7 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: fixing win/lev problem introduced by mouse-mode change.

Revision 12425  Directory Listing
Modified Mon Mar 22 18:17:45 2010 UTC (7 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: reduce the maximum color id to something a bit more reasonable

Revision 12423  Directory Listing
Modified Mon Mar 22 17:38:06 2010 UTC (7 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: added a lot of error checking and breaking loops when find errors. When reading in a color file, check that the max id is < 1 million to try and avoid parsing text files and getting huge max id values

Revision 12422  Directory Listing
Modified Mon Mar 22 17:10:48 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: Wrong signature for the slot updateRangeBounds.

Revision 12417  Directory Listing
Modified Mon Mar 22 13:05:06 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
COMP: Remove warnings: unused variable

Revision 12415  Directory Listing
Modified Sun Mar 21 23:18:40 2010 UTC (7 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: updated mousemode behavior

Revision 12392  Directory Listing
Modified Fri Mar 19 14:52:23 2010 UTC (7 years, 6 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED: fixed qMRMLVolumeThreshold widget

Revision 12361  Directory Listing
Modified Tue Mar 16 19:17:29 2010 UTC (7 years, 6 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED: fixed qt widgets layout

Revision 12356  Directory Listing
Modified Tue Mar 16 17:24:33 2010 UTC (7 years, 6 months ago) by hayes
Original Path: trunk/Libs
COMP: FileWatcher doesn't compile on older Linux kernels

Revision 12349  Directory Listing
Modified Mon Mar 15 17:55:57 2010 UTC (7 years, 6 months ago) by pieper
Original Path: trunk/Libs
BUG: include FileWatcher library in cpack'd package and add it to the runtime path list

Revision 12343  Directory Listing
Modified Sun Mar 14 18:38:40 2010 UTC (7 years, 6 months ago) by lorensen
Original Path: trunk/Libs
COMP: Need iostream for cout.

Revision 12341  Directory Listing
Modified Sat Mar 13 20:33:29 2010 UTC (7 years, 6 months ago) by lorensen
Original Path: trunk/Libs
COMP: Tracking down OSX issues.

Revision 12340  Directory Listing
Modified Sat Mar 13 16:37:54 2010 UTC (7 years, 6 months ago) by alexy
Original Path: trunk/Libs
ENH: added qMRMLVolumeThreshold widget and added it scalarVolume display.

Revision 12338  Directory Listing
Modified Fri Mar 12 16:47:55 2010 UTC (7 years, 6 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed event handling in qMRMLWindowLevelWidget

Revision 12333  Directory Listing
Modified Thu Mar 11 19:50:22 2010 UTC (7 years, 6 months ago) by lorensen
Original Path: trunk/Libs
ENH: Better description of exception.

Revision 12330  Directory Listing
Modified Wed Mar 10 17:49:00 2010 UTC (7 years, 6 months ago) by lorensen
Original Path: trunk/Libs
COMP: Warnings.

Revision 12329  Directory Listing
Modified Wed Mar 10 08:54:08 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: fix int to enum conversion

Revision 12328  Directory Listing
Modified Wed Mar 10 08:34:13 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: missing class predefinition.

Revision 12327  Directory Listing
Modified Wed Mar 10 00:38:43 2010 UTC (7 years, 6 months ago) by alexy
Original Path: trunk/Libs
ENH: added qt volume display widgets

Revision 12326  Directory Listing
Modified Tue Mar 9 21:57:42 2010 UTC (7 years, 6 months ago) by pieper
Original Path: trunk/Libs
COMP: mac issues

Revision 12325  Directory Listing
Modified Tue Mar 9 21:56:05 2010 UTC (7 years, 6 months ago) by lorensen
Original Path: trunk/Libs
COMP: Mac issues.

Revision 12324  Directory Listing
Modified Tue Mar 9 21:45:56 2010 UTC (7 years, 6 months ago) by lorensen
Original Path: trunk/Libs
COMP: Mac issues.

Revision 12323  Directory Listing
Modified Tue Mar 9 18:41:08 2010 UTC (7 years, 6 months ago) by casey.goodlett
Original Path: trunk/Libs
COMP: Include cstdlib for EXIT_FAILURE and EXIT_SUCCESS definition in
FileWatcherTest.

Revision 12322  Directory Listing
Modified Tue Mar 9 16:52:15 2010 UTC (7 years, 6 months ago) by lorensen
Original Path: trunk/Libs
ENH:  Added FileWatcher, a portable library to watch directories for file addition, modification and deletion.

Revision 12321  Directory Listing
Modified Tue Mar 9 16:51:03 2010 UTC (7 years, 6 months ago) by lorensen
Original Path: trunk/Libs
ENH: A portable library to watch directories for file addition, modification and deletion. Currently it uses Win32 ReadDirectoryChangesW for monitoring changes in Windows, and inotify in linux. OSX is supported via kqueue and directory scans.
Written by James Wynn
Contact: james@jameswynn.com

The most recent version can be located at:
http://simplefilewatcher.googlecode.com

Formatting modifications, directory organization and CMake support by Bill Lorensen. The original API is intact.

Revision 12320  Directory Listing
Modified Tue Mar 9 08:44:44 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add a qvtkreconnect that disconnect any existing connection that matches the event/qtobject/slot pattern

Revision 12319  Directory Listing
Modified Tue Mar 9 08:43:11 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
COMP: predef qMRMLProxyItemHelperPrivate

Revision 12318  Directory Listing
Modified Tue Mar 9 00:25:56 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: Use qMRMLNodeComboBox as the default node selector. (add the None option)

Revision 12315  Directory Listing
Modified Mon Mar 8 13:38:01 2010 UTC (7 years, 6 months ago) by millerjv
Original Path: trunk/Libs
BUG: missing quote in XML

Revision 12314  Directory Listing
Modified Sun Mar 7 18:27:07 2010 UTC (7 years, 6 months ago) by alexy
Original Path: trunk/Libs
ENH: added qMRMLWindowLevelWidget, started filling in qVolumes module

Revision 12313  Directory Listing
Modified Fri Mar 5 20:55:55 2010 UTC (7 years, 6 months ago) by millerjv
Original Path: trunk/Libs
ENH: store collapsed state of the slice controllers in layout node

Revision 12308  Directory Listing
Modified Thu Mar 4 21:51:14 2010 UTC (7 years, 6 months ago) by naucoin
Original Path: trunk/Libs
ENH: adding a test to load a color file, add it to the scene, save the scene, clear the scene, then load the scene back in. also loads a test volume and assigns it the new color node if the volumes logic exists

Revision 12303  Directory Listing
Modified Thu Mar 4 19:59:57 2010 UTC (7 years, 6 months ago) by naucoin
Original Path: trunk/Libs
ENH: use smart pointers to avoid memory leaks

Revision 12302  Directory Listing
Modified Thu Mar 4 19:59:02 2010 UTC (7 years, 6 months ago) by naucoin
Original Path: trunk/Libs
ENH: take out the ReadFile method finally, it's handled via the color storage nodes. For backward compatibiity, if read in from xml a filename, create a storage node and use it to read

Revision 12298  Directory Listing
Modified Thu Mar 4 00:24:41 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add qMRMLWidgets plugin icons for Qt designer

Revision 12293  Directory Listing
Modified Wed Mar 3 18:26:20 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: rename qCTKRangeSlider::rangeChanged into qCTKRangeSlider::rangeValuesChanged() as QSlider::rangeChanged() exists.

Revision 12291  Directory Listing
Modified Wed Mar 3 18:17:58 2010 UTC (7 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: when load a color file make sure that it gets saved with the scene

Revision 12288  Directory Listing
Modified Wed Mar 3 14:36:43 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: qCTKAddRemoveComboBox is not a widget that can be used directly in the Designer, it is a base class. Don't make it as a plugin.

Revision 12287  Directory Listing
Modified Wed Mar 3 14:36:39 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: remove qCTKNumericInput as it does the same than QSpinBox or QDoubleSpinBox

Revision 12286  Directory Listing
Modified Wed Mar 3 14:36:32 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add icons to the qCTKWidgets plugins in Qt Designer

Revision 12285  Directory Listing
Modified Tue Mar 2 23:58:20 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add qCTKRangeSlider: a QSlider with 2 handles that can define a range.

Revision 12284  Directory Listing
Modified Tue Mar 2 23:09:13 2010 UTC (7 years, 6 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add qMRMLNodeComboBox (to replace qMRMLNodeSelector), it is based on qMRMLSceneModel and qMRMLSortFilterProxyModel

Revision 12281  Directory Listing
Modified Tue Mar 2 20:44:39 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
STYLE: In ModuleDescriptionParser/{ModuleParameter|ModuleDescription} and MRMLCLI/vtkMRMLCommandLineModuleNode CXX files, to improve readability added separator between function.

Revision 12263  Directory Listing
Modified Mon Mar 1 16:42:12 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
BUG: Bug introduced when python wrapping was added - In FreeSurfer, MRML, vtkTeem CMakeLists.txt, target_link_libraries of wrapped libs and regular libs should be done exclusively.

Revision 12260  Directory Listing
Modified Fri Feb 26 18:38:50 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - In qVTKRenderView - Move pimpl method on the top

Revision 12238  Directory Listing
Modified Thu Feb 25 21:57:43 2010 UTC (7 years, 6 months ago) by millerjv
Original Path: trunk/Libs
ENH: Removed the LoadingScene ivar as it seems to be duplicating the IsClosed ivar

Revision 12233  Directory Listing
Modified Thu Feb 25 21:49:09 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add qVTKAsbtractPythonManager to qVTKWidgets

Revision 12232  Directory Listing
Modified Thu Feb 25 21:48:01 2010 UTC (7 years, 6 months ago) by millerjv
Original Path: trunk/Libs
BUG: loading scenes and restoring scene snapshots when linked controls are set.

Revision 12228  Directory Listing
Modified Thu Feb 25 21:34:52 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
ENH: Classes in Libs/FreeSurfer are now python wrapped if VTK_WRAP_PYTHON is ON

The way TCL library dependencies were added has also been reviewed.

Revision 12227  Directory Listing
Modified Thu Feb 25 21:34:48 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
ENH: Classes in Libs/RemoteIO are now python wrapped if VTK_WRAP_PYTHON is ON

The way TCL library dependencies were added has also been reviewed.

Revision 12226  Directory Listing
Modified Thu Feb 25 21:34:42 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
ENH: Classes in Libs/vtkTeem are now python wrapped if VTK_WRAP_PYTHON is ON

The way TCL library dependencies were added has also been reviewed.

Revision 12225  Directory Listing
Modified Thu Feb 25 21:34:39 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
ENH: Classes in Libs/MRML are now python wrapped if VTK_WRAP_PYTHON is ON

The way TCL library dependencies were added has also been reviewed.

Revision 12220  Directory Listing
Modified Thu Feb 25 21:34:15 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added option qCTKWidgets_WRAP_PYTHON to qCTKWidgets/CMakeLists.txt

If this parameter is set to True in some top-level CMakeLists including CTK,
the script will attempt to find PythonQT.
After PythonQT is successfully discovered, the variable:
 qCTKWidgets_WRAP_PYTHON
 qCTKWidgets_PYTHONQT_INCLUDE_DIR
 qCTKWidgets_PYTHONQT_LIBRARIES
will be added to the cache. It means that other these variable will be
visible in other sub-project (for example qVTK and qMRML)

Revision 12219  Directory Listing
Modified Thu Feb 25 21:34:09 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added widget qCTKPythonShell and object qCTKAbstractPythonManager to CTK.

qCTKPythonShell imported from paraview, provided an interactive "shell" interfaced
to an embedded Python interpreter.

qCTKAsbtractPythonManager provded convenient method to interact with PythonQt singelton.
The method 'pythonPaths' should be overloaded to return a list of path
containing the different wrapped python libraries.
The method 'preInitialization()' should be overloaded to, for example, add decorator
or register call with PythonQt

the signal 'Initialized' could also be used to trigger the registration of
additional decorator and object.

Revision 12218  Directory Listing
Modified Thu Feb 25 21:34:04 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added widget qCTKConsoleWidgets to CTK. This widget, imported from paraview, provided an interactive console.

Revision 12217  Directory Listing
Modified Thu Feb 25 21:33:58 2010 UTC (7 years, 6 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add cmake script FindPythonQt to qCTK/CMake directory

Revision 12201  Directory Listing
Modified Wed Feb 24 15:17:09 2010 UTC (7 years, 6 months ago) by lassoan
Original Path: trunk/Libs
COMP: Fixed compilation warning (Slicer3\Libs\Qdec\Testing\QdecUtilitiesTest1.cxx(23) : warning C4101: 'qdec' : unreferenced local variable)

Revision 12200  Directory Listing
Modified Wed Feb 24 01:19:10 2010 UTC (7 years, 6 months ago) by lassoan
Original Path: trunk/Libs
ENH: Added the "visibility" attribute to View nodes to control their visibility in the main Slicer window. For a short time the HideFromEditors property was used for the same purpose, but it is more appropriate to have a separate attribute for this.

Revision 12199  Directory Listing
Modified Tue Feb 23 22:42:39 2010 UTC (7 years, 7 months ago) by lassoan
Original Path: trunk/Libs
BUG: Fixed problem of having empty 3D viewer window when an old MRML file is loaded. The root cause of the problem was that before Slicer revision 10795 the View node was hidden from editors by default.

Revision 12197  Directory Listing
Modified Sun Feb 21 18:57:31 2010 UTC (7 years, 7 months ago) by aylward
Original Path: trunk/Libs
COMP: Supress warning on Windows about sscanf being unsafe

Revision 12196  Directory Listing
Modified Sun Feb 21 18:53:46 2010 UTC (7 years, 7 months ago) by aylward
Original Path: trunk/Libs
COMP: Supress warning on Windows about strcpy and sprintf being unsafe

Revision 12189  Directory Listing
Modified Fri Feb 19 22:38:31 2010 UTC (7 years, 7 months ago) by pieper
Original Path: trunk/Libs
BUG: fix some typos in the volume rotation code (still a work in progress)

Revision 12188  Directory Listing
Modified Fri Feb 19 21:13:51 2010 UTC (7 years, 7 months ago) by pieper
Original Path: trunk/Libs
ENH: per bug 726: rotate slice display to match acquisition plane of volume (work in progress)

Revision 12182  Directory Listing
Modified Thu Feb 18 22:39:41 2010 UTC (7 years, 7 months ago) by millerjv
Original Path: trunk/Libs
ENH: Allow CompareView to be a startup layout

Revision 12176  Directory Listing
Modified Thu Feb 18 19:43:38 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Since the parameter '--' is 'swallowed' by Slicer3 tcl launcher - Let's disable test qVTKCommandOptionsTest7

On windows platform, the parameter '--' is interpreted and not passed to the real
Slicer3 or SlicerQT executable.
See http://www.tcl.tk/man/tcl7.6/UserCmd/wish.1.html

Revision 12174  Directory Listing
Modified Thu Feb 18 18:58:04 2010 UTC (7 years, 7 months ago) by millerjv
Original Path: trunk/Libs
BUG: snapshot and scene restore bugs

Revision 12173  Directory Listing
Modified Thu Feb 18 18:49:58 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: can't create results without files on disk

Revision 12169  Directory Listing
Modified Thu Feb 18 18:14:03 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
COMP: test a bit more

Revision 12165  Directory Listing
Modified Wed Feb 17 23:17:12 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - add a new widget: qCTKDynamicSpacer that has a dynamic size policy depending on the activate slot.
This could be usefull when you want the size policy of a spacer to depends of some conditions.
Example: one wants the spacer to take no space when a collapsible button is expanded. but when the collapsible button is closed, you want the spacer to be expanded.

Revision 12159  Directory Listing
Modified Wed Feb 17 19:01:07 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: adding a test for the observer manager

Revision 12158  Directory Listing
Modified Wed Feb 17 17:32:54 2010 UTC (7 years, 7 months ago) by millerjv
Original Path: trunk/Libs
ENH: new test added that illustrates a crash restoring a scene snapshot that has a compare view

Revision 12156  Directory Listing
Modified Wed Feb 17 16:16:54 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - replace qCTKMenuButton::extraMenu by QPushButton::menu

Revision 12153  Directory Listing
Modified Wed Feb 17 01:01:11 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt - fix failing test qVTKObjectTest1

Revision 12152  Directory Listing
Modified Wed Feb 17 00:53:44 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - add a tracking property to qCTKSliderSpinBoxWidget
When tracking is ON: valueIsChanging() and valueChanged() are fired anytime the slider or the spinbox are modified
When tracking is OFF: valueIsChanging() is fired anytime the slider or spinbox or modified. valueChanged() is only fired when the mouse button used to modify the value on the slider or spinbox is released

Revision 12151  Directory Listing
Modified Wed Feb 17 00:53:40 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - expose to the API the signals sliderPressed() and sliderReleased()

Revision 12147  Directory Listing
Modified Tue Feb 16 19:11:33 2010 UTC (7 years, 7 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED: fixed transforms multiplication order

Revision 12146  Directory Listing
Modified Tue Feb 16 18:23:43 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - Add a qvtkDisconnectAll to remove all the connections

Revision 12145  Directory Listing
Modified Tue Feb 16 18:23:39 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - remove the map that stores the connections in qVTKObjectEventsObserver, but use the children list instead.

Revision 12144  Directory Listing
Modified Tue Feb 16 14:11:43 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt - remove warning (shadow variable)

Revision 12130  Directory Listing
Modified Fri Feb 12 22:51:12 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - add qCTKButtonGroup, a QButtonGroup that allows a state of unchecked button.
If an already checked button is clicked again, it unchecks the button.

Revision 12126  Directory Listing
Modified Fri Feb 12 20:17:12 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Remove extra comment

Revision 12124  Directory Listing
Modified Fri Feb 12 20:16:55 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - In qMRMLNodeFactory, use Q_ASSERT_X instead of Q_ASSERT
to tell the developer the NodeType he tried to register failed.

Revision 12122  Directory Listing
Modified Fri Feb 12 20:09:47 2010 UTC (7 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: removed the filename-based heuristics applied in CalculateStatisticsAutoLevels method -- this addresses mantis bug 716. A smarter way to apply color luts and win/lev/thresh should be used here. Marked the location in code with comment recommending different treatment (I believe only QueryAtlas was using this method.)

Revision 12121  Directory Listing
Modified Fri Feb 12 17:33:26 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Adding the 'Add', 'Edit' and 'Remove' action in the current qCTKAddRemoveComboBox reveals to be cumbersome

Revision 12116  Directory Listing
Modified Thu Feb 11 19:47:35 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt - remove warning - invalid conversion from int to unsigned long.

Revision 12115  Directory Listing
Modified Thu Feb 11 19:17:53 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
COMP: vtkMRMLScene::SceneCallback - Remove unused variable warnings.

Revision 12114  Directory Listing
Modified Thu Feb 11 19:10:37 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
COMP: compilation error on Windows, qVTKObjectTest doesn't need to be exported (only used in local).
the export macro was wrongly used, the Testing project was not correctly configurated to use this macro. A new macro (and associated qVTKWidgetsTestingExport file) should have been created specially for this class. However the scope of this class is only local, this is why we removed it.

Revision 12112  Directory Listing
Modified Thu Feb 11 18:17:37 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add a test in vtkMRMLSceneTest2 to check if vtkMRMLScene::NodeRemovedEvent are actually fired in the destructor.

Revision 12110  Directory Listing
Modified Thu Feb 11 18:17:30 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: Slicer - vtkMRMLScene invoke NodeRemovedEvent in destructor

Revision 12105  Directory Listing
Modified Thu Feb 11 16:19:31 2010 UTC (7 years, 7 months ago) by casey.goodlett
Original Path: trunk/Libs
COMP: Fix compilation problems on 64-bit linux.

min and max were added to vtkITKNumericTraits, but they did not include a parameterless version.

Revision 12103  Directory Listing
Modified Thu Feb 11 14:13:59 2010 UTC (7 years, 7 months ago) by harveerar
Original Path: trunk/Libs
BUG:added support for __int64 and long long

Revision 12100  Directory Listing
Modified Thu Feb 11 03:40:40 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Change header comment from "std includes" to "STD includes"

Revision 12099  Directory Listing
Modified Thu Feb 11 03:40:29 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add designer plugin qCTKAddRemoveComboBoxPlugin

Revision 12098  Directory Listing
Modified Thu Feb 11 03:40:24 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Debug message in qMRMLNodeFactory are more verbose

Revision 12097  Directory Listing
Modified Thu Feb 11 03:40:20 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add printAdditionnalInfo method to qMRMLNodeSelector

Revision 12090  Directory Listing
Modified Wed Feb 10 15:38:43 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - add test for qVTKObject,

Revision 12088  Directory Listing
Modified Wed Feb 10 14:31:09 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
ENH: Removing unnecessary comma separators in the last elements of enum declaration. They produce compilation problems in SunOS.

Revision 12087  Directory Listing
Modified Wed Feb 10 01:07:04 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt - remove typo

Revision 12086  Directory Listing
Modified Wed Feb 10 01:04:51 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - Refactorization in qVTKObjectEventsObserver, qVTKConnections and qVTKObject
As it has been decided that only 1 class should have the QVTK_Object macro, only 1 instance of qVKTObjectEventsObserver is needed. The inherited classes can access it normally.

qVTKObjectEventObserver doesn't need to have a parent set to be working, remove it.
There is no recursion needed to block connections.
Rename qVTKConnection::Establish into qVTKConnection::setEnabled
Use lowercase for the first letter of the methods in qVTKConnection
Refactorize the loops over the connections (now use QList<qVTKConnections> findConnections())
Move some private implementations into the pimpl.

Revision 12085  Directory Listing
Modified Wed Feb 10 01:04:43 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt - Remove useless include from qVTKObject.h. Propagate changes into implementation files that needed these headers.

Revision 12084  Directory Listing
Modified Tue Feb 9 20:46:35 2010 UTC (7 years, 7 months ago) by pieper
Original Path: trunk/Libs
STYLE: remove stray comma

Revision 12078  Directory Listing
Modified Tue Feb 9 17:59:05 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add missing QCTK_WIDGETS_EXPORT to qCTKTestApplication

Revision 12074  Directory Listing
Modified Tue Feb 9 05:49:13 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add tests for qCTKAddRemoveComboBoxTest1.cxx

Revision 12073  Directory Listing
Modified Tue Feb 9 05:49:08 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Update comments in qVTKCommandOptions

Revision 12071  Directory Listing
Modified Tue Feb 9 05:49:00 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - in qCTKTestApplication, added macro QCTK_DECLARE_TEST, QCTK_RUN_TEST and QCTK_EXIT_TEST

In case test required an active QT loop, it's now easy to implement them
using the following syntax:

where the name of the test is: qCTKAddRemoveComboBoxTest1


// qCTK includes
#include "OBJECT_TO_TEST.h"
#include "qCTKTestApplication.h"

// STL includes
#include <stdlib.h>
#include <iostream>

QCTK_DECLARE_TEST(qCTKAddRemoveComboBoxTest1)
{
  qCTKAddRemoveComboBox qctkObject;
  int currentCount = qctkObject.count();
  if (currentCount != 0)
    {
    qctkObject.printAdditionalInfo();
    std::cerr << "Error in count() - Expected: 0, current:" << currentCount << std::endl;
    QCTK_EXIT_TEST(EXIT_FAILURE);
    }

  // more tests ...

  QCTK_EXIT_TEST(EXIT_SUCCESS);
}

QCTK_RUN_TEST(qCTKAddRemoveComboBoxTest1);

Revision 12070  Directory Listing
Modified Tue Feb 9 05:48:53 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
STYLE: In qCTkAddRemoveComboBox and qMRMLNodeSelector, remove extra comment and fix 'shadow variable' warnings.

Revision 12068  Directory Listing
Modified Mon Feb 8 23:28:44 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - add prefix and suffix properties to qCTKSliderSpinBoxWidget

Revision 12067  Directory Listing
Modified Mon Feb 8 23:18:34 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - Add the "decimals" property to qCTKSliderSpinBoxWidget. The number of decimals was previously set by setSingleStep. We want to let the user decide how many decimals to display.
Note: the number of decimals to display impacts the value of qCTKSliderSpinBoxWidget:
Example:
setDecimals(1);
setValue(32.578);
value() == 32.6 and not 32.578

Revision 12064  Directory Listing
Modified Mon Feb 8 20:39:12 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added test exercising --ignore-rest flags of qVTKCommandOptions

Revision 12062  Directory Listing
Modified Mon Feb 8 20:11:35 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Attempt to fix test qVTKCommandOptionsTest{4,5} on windows

Revision 12061  Directory Listing
Modified Mon Feb 8 20:11:32 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added --ignore-rest flags to qVTKCommandOptions

If ignoreRest() returns true, the method ignoredArguments() will return
the list of ignored arguments.

Use:
  ./MyApp --option1=foo -- --what=nothing important

ignoreRest() will return True
ignoredArguments() will return ["--what=nothing", "important"]

Revision 12056  Directory Listing
Modified Mon Feb 8 15:18:43 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Waiting to fix the problem with the qSlicerCLILoadableModuleFactory, used QDir::tempPath() instead of qSlicerCoreCommandOptions::tempDirectory() one.

Revision 12051  Directory Listing
Modified Mon Feb 8 08:09:08 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: SlicerQT - In qVTKCommandOptions - Fix 'shadow variable' warnings

Revision 12048  Directory Listing
Modified Mon Feb 8 08:08:57 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add method 'tempDirectory()' to qSlicerCoreCommandOptions.

Return temp directory
Try to read the value from the setting, if no value is found it defaults to
the value returned by QDir::tempPath()
See http://qt.nokia.com/doc/4.6/qdir.html#tempPath

Revision 12047  Directory Listing
Modified Mon Feb 8 03:22:03 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Fix arguments for test qVTKCommandOptionsTest{4, 5}

Revision 12046  Directory Listing
Modified Mon Feb 8 03:21:59 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - In qVTKCommandOptions, make sure the object created by 'mapQStringListPtrToStringVectorPtr()' are deleted.

Revision 12045  Directory Listing
Modified Mon Feb 8 02:53:22 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added tests for qVTKCommandOptions

Revision 12044  Directory Listing
Modified Mon Feb 8 02:49:50 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - In qVTKCommandOptions, added method addArgument for QStringList.

Revision 12043  Directory Listing
Modified Mon Feb 8 02:49:46 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added qCTKTestApplication - Wrapper around QApplication allowing to write UI test. (imported from Paraview)

Revision 12042  Directory Listing
Modified Mon Feb 8 02:49:42 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - qCTKWidgets/Testing - Remove extra headers

Revision 12041  Directory Listing
Modified Mon Feb 8 02:49:35 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: Added function qListToSTLVector and stlVectorToQList to qCTKUtils - Also added Tests

Revision 12040  Directory Listing
Modified Mon Feb 8 02:49:29 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Update the license of qCTKWidgets/Testing/*

Revision 12039  Directory Listing
Modified Mon Feb 8 00:52:16 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - Add alignment property to the spinbox in qCTKSliderSpinBoxWidget

Revision 12038  Directory Listing
Modified Sun Feb 7 22:29:00 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt - fix warning: unused variable

Revision 12037  Directory Listing
Modified Sun Feb 7 21:57:51 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - Add support for filtering sub node types in qMRMLNodeSelector.

Revision 12034  Directory Listing
Modified Sun Feb 7 05:37:53 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt - when removing a connection, the connection was deleted but its id was queried after the connection was deleted.

Revision 12033  Directory Listing
Modified Sun Feb 7 04:12:44 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - Synchronize attributes between qMRMLNodeSelector and qMRMLNodeFactory.

Revision 12032  Directory Listing
Modified Sun Feb 7 03:33:55 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add Attribute filtering into qMRMLNodeSelector.

Revision 12030  Directory Listing
Modified Sat Feb 6 16:18:47 2010 UTC (7 years, 7 months ago) by alexy
Original Path: trunk/Libs
ENH:  events handling in Qt Tractography module

Revision 12021  Directory Listing
Modified Fri Feb 5 19:37:34 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - In qCTKSliderSpinBoxWidget, when the property AutoSpinBoxWidth was turn off, the size of the spinbox was not reset.

Revision 12020  Directory Listing
Modified Fri Feb 5 19:37:31 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: New property in qCTKSliderSpinBoxWidget: AutoSpinBoxWidth
The qCTKSliderSpinBoxWidget is an association of a QSlider and a QSpinbox. When the widget is added into a layout with other qCTKSliderSpinBoxWidgets, the spinboxes were not aligned if they have a different max number of figures to show.
When AutoSpinBoxWidth is true, the width of the qCTKSliderSpinBoxWidget QSpinBoxes of the same parent are synchronized. The max width is used.

Revision 12016  Directory Listing
Modified Fri Feb 5 16:04:35 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various compilation warnings

Revision 11997  Directory Listing
Modified Fri Feb 5 03:03:48 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: SlicerQT - Updated install rules - QtDesigner plugins are now installed in lib/Slicer3/designer

Revision 11993  Directory Listing
Modified Fri Feb 5 00:21:08 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt - remove warning in qCTKMenuButton

Revision 11992  Directory Listing
Modified Thu Feb 4 23:48:47 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - when the qCTKMenuButton was down, the indicator area was down, it should stay up

Revision 11984  Directory Listing
Modified Thu Feb 4 22:31:42 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added qVTKCommandOptions allowing to handle command line parameter in a standard fashion.

Note that this class is made to be subclassed. That way the method:
  intialize, disableCurrentSettings, wrongArgument, deprecatedArgument
could be overloaded

An interesting aspect is that the class is also working with QSettings,

For example:
  In settings file, there is the following property:  tmpDir=/tmp

class MyAppCommandOptions: public qVTKCommandOptions
{
public:
  QString TmpDir;

  QString tmpDir();
 void initialize()
  {
  Superclass::initialize();
  this->addArgument("--temp-dir", 0, &TmpDir, QDir::tmp())
  }

  ...
}

bash$ bin/SlicerQT --temp-dir=/home/mytmp

At run-time the application will be using the specified directory. In other
word the function .. options->tmpDir() will return "/home/mytmp"

Then, next time the application is restarted .. if no option is given,
the tmpDir() method will return the value stored in the setting file.

The following two parameters are available by default: --help and --disable-settings
--help will show the different available arguments

--disable-settings will call the virtual method 'disableCurrentSettings'.
The derived class a responsible to disable the settings. A possible way
could be to instanciate a settings object using a filename + '-disabled' suffix.
That way ... no parameter will be used.

Revision 11982  Directory Listing
Modified Thu Feb 4 22:31:30 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added qCTKUtils - Utility class

Added function: stringListToArray - allowing to convert a QStringList to std::vector<char*>

Use:
 vector<char*> myargv;
 qCTKUtils::stringListToArray(QApplication::application()->arguments(), myargv);
 char** array = &myargv[0];

Revision 11980  Directory Listing
Modified Thu Feb 4 22:31:18 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added qCTKSettings - Wrapper around QSettings providing convenient function to save app settings. (imported from Paraview)

Revision 11967  Directory Listing
Modified Thu Feb 4 16:35:58 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: don't close the file here, causes crash on linux

Revision 11964  Directory Listing
Modified Thu Feb 4 02:08:37 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - clean up qCTKCollapsibleButton drawing

Revision 11963  Directory Listing
Modified Thu Feb 4 02:08:33 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - add qCTKMenuButton that is like a QPushButton but shows up the QMenu only when clicked on the indicator.

Revision 11959  Directory Listing
Modified Wed Feb 3 21:27:11 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - qMRMLNodeFactoryButton and qMRMLSceneGenerator have been obsoleted by qMRMLSceneFactoryWidget. Remove them from the repository.

Revision 11957  Directory Listing
Modified Wed Feb 3 20:50:08 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - apply the StyledPanel to all the qCTKCollapsibleButtons. Make it by default in the designer.
Warning, setting StyledPanel by default in the designer (via qCTKCollapsibleButtonPlugin) doesn't mean that the widget is created by default with a frame.
If you instance the widget programatically, then you should then call: setContentsFrameShape(QFrame::StyledPanel).

Revision 11956  Directory Listing
Modified Wed Feb 3 20:49:57 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - In QCleanlooksStyle, the frame in qCTKCollapsibleButton doesn't seem to "touch" the button.
The style of QCleanlooksStyle (like many other styles) have an extra border around buttons. This extra border creates a discontinuity between the button and the frame which result in a "confusing" look of qCTKCollapsibleButton. To fix it, we hackily remove that space.

Revision 11946  Directory Listing
Modified Wed Feb 3 15:15:19 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: MRML - Reveal that the vtkMRMLScene doesn't emit NodeRemoved events on deletion

Revision 11945  Directory Listing
Modified Wed Feb 3 14:21:34 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt - qMRMLSceneFactoryWidget::deleteNode was crashing when the scene was empty. Add tests for qMRMLSceneFactoryWidget

Revision 11940  Directory Listing
Modified Tue Feb 2 23:27:19 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - Add tests for qMRMLNodeSelector and fix a found bug related to the mrml scene DeleteEvent

Revision 11939  Directory Listing
Modified Tue Feb 2 23:24:37 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - qMRMLNodeSelector now support more than one node type.
The nodeTypes property is a QStringList directly editable under designer.

Revision 11938  Directory Listing
Modified Tue Feb 2 23:24:19 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - add a new class - qMRMLSceneFactoryWidget - that combines qMRMLSceneGeneratorButton with qMRMLNodeFactoryButton.
The new widget contains buttons to create/delete a vtkMRMLScene and create/delete vtkMRMLNodes.
qMRMLSceneFactoryWidget main purpose is to test other qMRMLWidgets, in the Designer (clicking on the buttons) or in unit tests (by calling slots directly).

Revision 11937  Directory Listing
Modified Tue Feb 2 23:24:06 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt - qMRMLSceneGeneratorButton - add new slot: generateEmptyScene(), remove useless signal: randomMRMLNodeType

Revision 11935  Directory Listing
Modified Tue Feb 2 22:52:07 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt - In qVTKConnection::Execute(), if qVTKConnection is deleted in emitExecute, the removeConnection() call would access deleted data.
emitExecute() could delete the qVTKConnection object if it does a removeConnection (via qVTKReconnect).
qVTK::Execute() already deletes itself, we don't want anyone else to delete it in the emitExecute.

Stack example:
qVTKConnection::Execute
 +emitExecute()
 | +qVTKObjectObserver::qVTKReconnect()
 |   +qVTKObjectObserver::removeConnection()
 |     +delete connection
 +delete connection
-> connection delete twice

We don't want to delete the connection in the first place.
This is why we use a AboutToBeDeleted flag.

Revision 11918  Directory Listing
Modified Tue Feb 2 14:41:45 2010 UTC (7 years, 7 months ago) by maddah
Original Path: trunk/Libs
ENH: Make doubleArrayNode visible in data browser

Revision 11909  Directory Listing
Modified Mon Feb 1 16:00:03 2010 UTC (7 years, 7 months ago) by aylward
Original Path: trunk/Libs
BUG: Removed hard-coded paths to ITK from installation configuration vars


Revision 11908  Directory Listing
Modified Mon Feb 1 15:59:25 2010 UTC (7 years, 7 months ago) by aylward
Original Path: trunk/Libs
BUG: Removed hard coded paths to ITK, ModuleDescriptionParser, and TCLAP from GenerateCLP installation configuration vars.


Revision 11895  Directory Listing
Modified Sun Jan 31 02:46:04 2010 UTC (7 years, 7 months ago) by aylward
Original Path: trunk/Libs
BUG: Conditional for compiling LONG_LONG type not matched between .h and .cxx file.   Created conflict with cvs ITK.


Revision 11892  Directory Listing
Modified Sat Jan 30 19:09:52 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warnings about shadowing variables.

Revision 11888  Directory Listing
Modified Sat Jan 30 01:42:19 2010 UTC (7 years, 7 months ago) by millerjv
Original Path: trunk/Libs
BUG: logic error in IsFlagParameter uncovered by GenerateLM

Revision 11882  Directory Listing
Modified Fri Jan 29 20:34:06 2010 UTC (7 years, 7 months ago) by millerjv
Original Path: trunk/Libs
ENH: missed one in last checkin

Revision 11881  Directory Listing
Modified Fri Jan 29 20:33:27 2010 UTC (7 years, 7 months ago) by millerjv
Original Path: trunk/Libs
ENH: Simple Return Parameters from CommandLineModules (integer, integer-vector, etc.)

Revision 11880  Directory Listing
Modified Fri Jan 29 18:55:51 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: set the table range after read the values from the mrml scene file, otherwise mapping colours isn't workign correctly

Revision 11877  Directory Listing
Modified Fri Jan 29 17:54:49 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: since this node writes a file name to the mrml scene file, make sure that it's a relative and not an absolute one

Revision 11875  Directory Listing
Modified Fri Jan 29 17:01:42 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Applying the script toThreeSlashes to script already having partially the correct comment style caused problems.
To fix the problems, changed '////' to '///' where needed

Revision 11866  Directory Listing
Modified Fri Jan 29 16:26:02 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: SlicerQT - qMRMLWidgets - Change comment style using script toThreeSlashes.sh

Revision 11865  Directory Listing
Modified Fri Jan 29 16:25:56 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: SlicerQT - qVTKWidgets - Change comment style using script toThreeSlashes.sh

Revision 11864  Directory Listing
Modified Fri Jan 29 16:25:40 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: SlicerQT - qCTKWidgets - Change comment style using script toThreeSlashes.sh

Revision 11863  Directory Listing
Modified Fri Jan 29 16:20:13 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQT: Remove warning: unused variable.

Revision 11861  Directory Listing
Modified Fri Jan 29 15:40:56 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
STYLE: change error to warning, as this message pops up when trying different readers for a file

Revision 11860  Directory Listing
Modified Fri Jan 29 06:51:34 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: SlicerQT - Fix  'shadow' warnings

Revision 11855  Directory Listing
Modified Fri Jan 29 00:02:08 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various warnings + update CTestCustom.cmake to exclude openigtlink Libs

Revision 11846  Directory Listing
Modified Thu Jan 28 22:05:28 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added virtual method 'registerItems' to qCTKAbstractFactory

These method could be overloaded in subclass to provide the same method
accross multiple factories. For example, having a collection of factories,
it would be easy to register the items for each one of them. (polymorphism)

Revision 11843  Directory Listing
Modified Thu Jan 28 22:05:16 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various compilation warnings (unused, ...)

Note: size_t is an unsigned int, it means there is no need to check if
it's value is negative.

Revision 11841  Directory Listing
Modified Thu Jan 28 19:43:49 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: rename qCTKSliderSpinBoxLabel into qCTKSliderSpinBoxWidget (because there is no QLabel in the widget.

Revision 11840  Directory Listing
Modified Thu Jan 28 19:28:42 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Remove qCTKSlider that has been replaced by qCTKDoubleSlider.

Revision 11839  Directory Listing
Modified Thu Jan 28 19:16:11 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt: qMRMLLinearTransformSlider: Remove qDebug() when applying a transform.

Revision 11838  Directory Listing
Modified Thu Jan 28 19:15:24 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: qCTKDoubleSlider: Make sure d->Value is updated even if there is no signal valueChanged emitted.

Revision 11835  Directory Listing
Modified Thu Jan 28 18:49:11 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add a new widget: qCTKDoubleSlider. It's like a QSlider but handles doubles. It obsoletes qCTKSlider.

Revision 11834  Directory Listing
Modified Thu Jan 28 18:48:46 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQT: Remove the QLabel from qCTKSliderSpinBoxLabel, it was more confusing than anything else. qCTKSliderSpingBoxLabel was using qCTKSlider that was containings some bugs (because it was deriving from a QSlider. We now use qCTKDoubleSlider. We also connect the qMRMLLinearTransformSliders using the valueChanged signal instead of sliderMoved signal (sliderMoved should be used only when Tracking is off, and a specific behavior should happen when the user manually moves the slider.

Revision 11833  Directory Listing
Modified Thu Jan 28 18:39:36 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add a new widget: qCTKDoubleSlider. It's like a QSlider but handles doubles. It obsoletes qCTKSlider.

Revision 11832  Directory Listing
Modified Thu Jan 28 17:06:05 2010 UTC (7 years, 7 months ago) by millerjv
Original Path: trunk/Libs
ENH: Extending CommandLineModule to support measurement tag (for plots)

Revision 11831  Directory Listing
Modified Thu Jan 28 16:45:57 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
COMP: std::vectors are better returned by reference than by copy. Declaring a type for the vector also cleans up the code.

Revision 11830  Directory Listing
Modified Thu Jan 28 16:00:52 2010 UTC (7 years, 7 months ago) by maddah
Original Path: trunk/Libs
ENH: added StorageNode for DoubleArray

Revision 11829  Directory Listing
Modified Thu Jan 28 15:58:01 2010 UTC (7 years, 7 months ago) by maddah
Original Path: trunk/Libs
ENH: Added the field Labels

Revision 11828  Directory Listing
Modified Thu Jan 28 15:41:54 2010 UTC (7 years, 7 months ago) by maddah
Original Path: trunk/Libs
ENH: Storage node for DoubleArray node

Revision 11826  Directory Listing
Modified Thu Jan 28 15:35:42 2010 UTC (7 years, 7 months ago) by maddah
Original Path: trunk/Libs
ENH: Added vtkMRMLStorageNodeDoubleArray

Revision 11825  Directory Listing
Modified Thu Jan 28 15:31:08 2010 UTC (7 years, 7 months ago) by maddah
Original Path: trunk/Libs
ENH: labels added

Revision 11823  Directory Listing
Modified Thu Jan 28 09:09:23 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various compilation warning (hidden virtual method, unused variable, ...)

Note1: Also moved vtkSlicerApplication.h up in the header include order
otherwise, when compiled with QT, it outputs that message:

#error qdatastream.h must be included before any header file that defines Status

Note2:
To fix such warning,
"base class‘base_class’should be explicitly initialized in the copy constructor"

the compy ctor and the '=' operator has been set as private member

Revision 11822  Directory Listing
Modified Thu Jan 28 09:08:43 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update macro QCTK_DECLARE_PRIVATE in qCTKPimpl, "typedef public_class Self" is now added by default.

Revision 11820  Directory Listing
Modified Wed Jan 27 22:37:21 2010 UTC (7 years, 7 months ago) by millerjv
Original Path: trunk/Libs
BUG: added wrapping to new library MRMLCLI to that things like QuickModel will work

Revision 11816  Directory Listing
Modified Wed Jan 27 20:17:46 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: access to the glyph type min and max for tcl testing

Revision 11813  Directory Listing
Modified Wed Jan 27 17:21:21 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: try out all the different glyph types

Revision 11811  Directory Listing
Modified Wed Jan 27 00:36:24 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Remove useless QLabel in qCTKSliderSpinBoxLabel. Users tend to use that instead of having an external QLabel, as a result, the panels sliders/spinboxes aren't aligned if a couple of qCTKSliderSpinbBoxLabel are in a QVerticalLayout. It's better to use a QGridlayout with QLabel in the first column and qCTKSliderSPinbBoxLabel in the other column.

Revision 11808  Directory Listing
Modified Tue Jan 26 21:21:28 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: more testing

Revision 11804  Directory Listing
Modified Tue Jan 26 20:16:16 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
BUG: The SIMPLE_TEST() macro that defined the obsolete test : qMRMLItemModelTest1 was not deleted when the class was removed.

Revision 11802  Directory Listing
Modified Tue Jan 26 19:17:00 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: Update CMakeLists.txt and add dependent libraries allowing to compile SlicerQT with TCL wrapping disabled

Revision 11801  Directory Listing
Modified Tue Jan 26 19:16:23 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: adding more test coverage

Revision 11800  Directory Listing
Modified Tue Jan 26 18:24:16 2010 UTC (7 years, 7 months ago) by alexy
Original Path: trunk/Libs
ENH: added emitting valueChanged signal from the scroller.

Revision 11798  Directory Listing
Modified Tue Jan 26 15:56:07 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: needed to match the qdec.table.dat values

Revision 11797  Directory Listing
Modified Tue Jan 26 15:23:12 2010 UTC (7 years, 7 months ago) by lorensen
Original Path: trunk/Libs
ENH: Remove redundant libraries.

Revision 11795  Directory Listing
Modified Tue Jan 26 13:16:29 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: qMRMLTransformProxyModel_p.h has been deleted. Its associated test should be removed as well.

Revision 11794  Directory Listing
Modified Tue Jan 26 13:11:42 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
COMP: SlicerQT - Fix 'shadow' warning related to qMRMLScene

Revision 11793  Directory Listing
Modified Tue Jan 26 07:21:31 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Add missing forward declaration to qMRMLItemHelper and delete obsolete test qMRMLTransformProxyModel_pTest.cxx

Revision 11789  Directory Listing
Modified Tue Jan 26 07:21:16 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added first draft of qVTKRenderView class and its associated designer plugin

Revision 11787  Directory Listing
Modified Tue Jan 26 07:21:07 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Remove extra comment, added '<' and '>' in the include associated
with external libraries.

Revision 11786  Directory Listing
Modified Tue Jan 26 07:21:02 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - In qVTKWidget, renamed qVTKAbstractMatriXWidgetPrivate.h to qVTKAbstractMatriXWidget_p.h

When the pimpl declaration has to be added into a separate header file
this one should be name after the original class by adding the suffix '_p'
ClassName.h (Public API) -> ClassName_p.h (Pimpl)

Revision 11783  Directory Listing
Modified Tue Jan 26 07:20:51 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added object qMRMLEventLogger and the widget qMRMLEventLoggerWidget

MRMLEventLogger listen and logs scene event.

Revision 11782  Directory Listing
Modified Tue Jan 26 07:20:46 2010 UTC (7 years, 7 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add method qvtkBlock(QString id, bool blocked) to qVTKObject

The method qvtkReconnect and qvtkConnect now return a connection id. By keeping track
of the connection id, it's then possible to block a specific connection.

Revision 11781  Directory Listing
Modified Tue Jan 26 03:03:03 2010 UTC (7 years, 7 months ago) by finetjul
Original Path: trunk/Libs
ENH: Refactorize qMRMLTransformProxyMode: Move general behavior into qMRMLTreeProxyModel. Keep transform hierarchy specific code into qMRMLTransformProxyMode. qMRMLItemModel is now obsolete. 

Revision 11780  Directory Listing
Modified Mon Jan 25 23:15:30 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: adding more exercising of the class, need to load a sample table

Revision 11778  Directory Listing
Modified Mon Jan 25 21:51:12 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: adding coverage and taking out asserts

Revision 11776  Directory Listing
Modified Mon Jan 25 21:04:12 2010 UTC (7 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: increasing coverage

Revision 11774  Directory Listing
Modified Sun Jan 24 21:01:09 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
COMP: Adding the CMAKE_BUILD_TYPE term to the executable path, so it can be found in Windows.

Revision 11773  Directory Listing
Modified Sun Jan 24 20:12:37 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding unit tests for qCTK library. Still needs a lot of work for raising code coverage...

Revision 11771  Directory Listing
Modified Sun Jan 24 17:04:25 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
BUG: input vector of stings must not be empty.

Revision 11770  Directory Listing
Modified Sun Jan 24 16:58:37 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
BUG: The vector that initialize the QdecContrast class must not be empty.

Revision 11769  Directory Listing
Modified Sun Jan 24 16:12:00 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
BUG: Restoring the logic of the while loop. A while should be used instead of the do-while.

Revision 11768  Directory Listing
Modified Sun Jan 24 16:09:08 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding tests that were missing for the Qdec library.

Revision 11767  Directory Listing
Modified Sun Jan 24 15:43:45 2010 UTC (7 years, 7 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warning about constant expression controlling while() loop.
      Replacing convoluted while(1) with cleaner equivalent do-while loop.

Revision 11759  Directory Listing
Modified Sat Jan 23 18:53:20 2010 UTC (7 years, 8 months ago) by alexy
Original Path: trunk/Libs
ENH: added SliderSpinBoxLabel Plugin, add it and SliderPlugin to Designer export

Revision 11758  Directory Listing
Modified Sat Jan 23 06:06:19 2010 UTC (7 years, 8 months ago) by tokuda
Original Path: trunk/Libs
BUG: fix bugs: checking number of components in array

Revision 11751  Directory Listing
Modified Fri Jan 22 21:05:02 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
BUG: porting fix for saving intermediate em seg files, and relative path files, from 3.4 branch

Revision 11748  Directory Listing
Modified Fri Jan 22 19:45:31 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11747  Directory Listing
Modified Fri Jan 22 19:45:00 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11746  Directory Listing
Modified Fri Jan 22 19:43:59 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11745  Directory Listing
Modified Fri Jan 22 19:43:39 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11744  Directory Listing
Modified Fri Jan 22 19:43:25 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11743  Directory Listing
Modified Fri Jan 22 19:43:05 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11742  Directory Listing
Modified Fri Jan 22 19:42:22 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11741  Directory Listing
Modified Fri Jan 22 19:42:07 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11740  Directory Listing
Modified Fri Jan 22 19:41:51 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11739  Directory Listing
Modified Fri Jan 22 19:41:27 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11738  Directory Listing
Modified Fri Jan 22 19:40:11 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11737  Directory Listing
Modified Fri Jan 22 19:39:45 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ style triple slashes for doxygen

Revision 11736  Directory Listing
Modified Fri Jan 22 19:29:48 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: converting to c++ 3 slashes for doxygen

Revision 11735  Directory Listing
Modified Fri Jan 22 19:18:55 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
STYLE: convert to c++ slashes for doxygen

Revision 11733  Directory Listing
Modified Fri Jan 22 18:54:33 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
ENH: provide a get nth fidiucial in world coordiantes, update to new doxygen comment style

Revision 11732  Directory Listing
Modified Fri Jan 22 18:34:51 2010 UTC (7 years, 8 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED: fixed crash on saving scene with no module selected, fixed warning on load scene.

Revision 11725  Directory Listing
Modified Fri Jan 22 00:05:58 2010 UTC (7 years, 8 months ago) by lassoan
Original Path: trunk/Libs
BUG: Fixed GenerateLM hang (happened often with Visual Studio 8 + Windows 7). It was caused by a string without zero termination.

Revision 11714  Directory Listing
Modified Thu Jan 21 13:05:12 2010 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: enlarge string buffer to account for long installation paths

Revision 11712  Directory Listing
Modified Wed Jan 20 15:43:55 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: The vtkTypeMacro was using the wrong superclass. This was pointed out by Andras Lasso in the slicer-dev list.

Revision 11709  Directory Listing
Modified Wed Jan 20 01:04:00 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: vtkTypeMacro() had the wrong superclass. This was pointed out by Andras Lasso in the slicer-dev list.

Revision 11704  Directory Listing
Modified Tue Jan 19 19:55:40 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: SlicerQT - Fix various compilation warning.
- warning C4100: unreferenced formal parameter
- warning C4099: type name first seen using 'class' now seen using 'struct'

Revision 11700  Directory Listing
Modified Tue Jan 19 19:22:42 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: SlicerQT - Fix shadow warnings

The shadowed variables where changed by adding an underscore:
 parent -> _parent

Note also that the signature in the header doesn't contain any underscore,
only the implementation file has it.

qCTKFlowLayout code has also been reviewed to be compliant with
current QT coding style

Revision 11696  Directory Listing
Modified Tue Jan 19 16:18:41 2010 UTC (7 years, 8 months ago) by partyd
Original Path: trunk/Libs
ENH: add respect for CMAKE_BUILD_TYPE on windows.

Revision 11694  Directory Listing
Modified Tue Jan 19 04:19:25 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQT: This time drag & drop is really working with qMRMLTransformProxyModel. The pb was when the old location of a child to reparent was moving the new parent position. vparent was not updated to the new position.

Revision 11693  Directory Listing
Modified Tue Jan 19 03:13:21 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding the vtkTypeMacro() to the helper classes that derive from abstract classes. This should help Visual Studio to find the Superclass type.

Revision 11689  Directory Listing
Modified Mon Jan 18 05:11:26 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Now support drag & drop in qMRMLTransformProxyModel.

Revision 11688  Directory Listing
Modified Mon Jan 18 00:56:49 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding copyright notice and license.

Revision 11687  Directory Listing
Modified Mon Jan 18 00:44:27 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: Now using LAUNCH_EXE to invoke the tests. In this way the paths to the required shared libraries should be set by the launcher.

Revision 11683  Directory Listing
Modified Sun Jan 17 00:21:58 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: Using now a vtkMRMLNode that is not abstract (the abstract ones return NULL from their New() method).

Revision 11682  Directory Listing
Modified Sun Jan 17 00:08:11 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: Fixing segmentation faults by declaring QWigdet in the heap, and making sure that a QApplication has been instantiated before the QWidget is instantiated.

Revision 11681  Directory Listing
Modified Sat Jan 16 23:56:21 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding unit tests to classes in the qMRML directory.

Revision 11677  Directory Listing
Modified Sat Jan 16 22:36:37 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warnings about local variables shadowing member methods that have the same names.

Revision 11676  Directory Listing
Modified Sat Jan 16 22:31:48 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: BUG: Macros shouldn't use generic names as arguments. "parent" shadows a method name from the classes that will use this macro.

Revision 11673  Directory Listing
Modified Sat Jan 16 21:37:27 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warnings about local variables shadowing the names of member methods and member variables.

Revision 11672  Directory Listing
Modified Sat Jan 16 19:56:28 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: remove warning. Unused variable.

Revision 11671  Directory Listing
Modified Sat Jan 16 19:25:33 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: qMRMLModelTest1 was taking too long to be executed (1000 nodes created). It was longer than the typical TIMEOUT value (60secs). Reduce the number of iterations.

Revision 11670  Directory Listing
Modified Sat Jan 16 18:55:03 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warnings about "parent" and "model" local variables shadowing the "parent()" and "model()" methods and member variables of the base class.

Revision 11669  Directory Listing
Modified Sat Jan 16 17:30:30 2010 UTC (7 years, 8 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED: added missing header file

Revision 11668  Directory Listing
Modified Sat Jan 16 17:00:43 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: The EXPORT symbol for Windows shared libraries is obtained from the include of qCTKWidgetsExport.h.

Revision 11667  Directory Listing
Modified Sat Jan 16 15:29:55 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Attempting to fix: unresolved external symbol "public: __thiscall qCTKModelTester::qCTKModelTester(class QAbstractItemModel *,class QObject *) that is reported in the Windows build in District9.kitware.

Revision 11665  Directory Listing
Modified Fri Jan 15 23:34:56 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: GetNumberOfFileNames() and GetNthFileName() methods should be const.

Revision 11664  Directory Listing
Modified Fri Jan 15 23:34:24 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warnings about shadowed variables. Now using variants of variable name.

Revision 11662  Directory Listing
Modified Fri Jan 15 23:26:51 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: In order to have a synchronized representation of a vtkMRMLScene at any time in the Qt tree widgets, adding and removing a node must emit more events, events to warn that a node will be added/removed.

Revision 11661  Directory Listing
Modified Fri Jan 15 23:24:00 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add node factory buttons into the qMRMLTestModelViews.ui form to be able to test more the qMRML*Model.

Revision 11660  Directory Listing
Modified Fri Jan 15 23:22:22 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQT: Don't create nodes that are a singleton. As they created nodes have no ID, vtkMRMLScene::RemoveReferenceNode display some error message complaining that the node doesn't have an ID.

Revision 11659  Directory Listing
Modified Fri Jan 15 23:21:11 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Update the enable state of qMRMLNodeFactoryButton depending on the number of nodes in the scene.

Revision 11658  Directory Listing
Modified Fri Jan 15 23:19:22 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQT: move a variable initialization from init() to the class constructor

Revision 11657  Directory Listing
Modified Fri Jan 15 23:18:00 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: Add tests for the new qMRML*Models

Revision 11656  Directory Listing
Modified Fri Jan 15 23:15:40 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: Redesign the qMRML*Models. Now qMRMLSceneModel is a flat mrml list. and qMRMLTransformProxyModel is a sortAndFilter model that gives hierarchy to the flat scene. Drag and drop still don't work

Revision 11655  Directory Listing
Modified Fri Jan 15 23:11:20 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: Add a tester for QAbstractItemModels. Add a test to test the tester :-)

Revision 11653  Directory Listing
Modified Fri Jan 15 21:59:20 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warning about unused variable. Introducing vtkNotUsed().

Revision 11651  Directory Listing
Modified Fri Jan 15 19:58:18 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various compilation warning

Revision 11650  Directory Listing
Modified Fri Jan 15 18:35:02 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various compilation warning

Revision 11647  Directory Listing
Modified Fri Jan 15 16:28:20 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various compilation warning

Revision 11646  Directory Listing
Modified Fri Jan 15 13:57:15 2010 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid trying to print null pointer

Revision 11643  Directory Listing
Modified Thu Jan 14 21:49:46 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Increasing code coverage by calling the methods that set matrices.

Revision 11641  Directory Listing
Modified Thu Jan 14 19:54:55 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix compilation warning issue

Revision 11636  Directory Listing
Modified Thu Jan 14 18:47:09 2010 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
ENH: extra debugging when printing event broker logs

Revision 11635  Directory Listing
Modified Thu Jan 14 18:45:18 2010 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: initialize title and not type twice

Revision 11633  Directory Listing
Modified Thu Jan 14 18:41:08 2010 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: clean up allocated variables when returning early from method in error condition

Revision 11632  Directory Listing
Modified Thu Jan 14 18:39:52 2010 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: move allocation of local variables until after input check that may cause method to return without computing

Revision 11631  Directory Listing
Modified Thu Jan 14 18:16:42 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix compilation warning

Revision 11624  Directory Listing
Modified Thu Jan 14 15:48:34 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various compilation warning

Revision 11623  Directory Listing
Modified Thu Jan 14 14:38:49 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various compilation warning

The set of flags used on linux is the following:

CMAKE_CXX_FLAGS:STRING=-g -O0 -Wall -W -Wunused-variable
-Wunused-parameter -Wunused-function -Wunused -Wno-system-headers
-Wno-deprecated -Woverloaded-virtual -Wwrite-strings
-fprofile-arcs -ftest-coverage


CMAKE_C_FLAGS:STRING=-g -O0 -Wall -W -fprofile-arcs -ftest-coverage

Revision 11620  Directory Listing
Modified Wed Jan 13 22:50:47 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
COMP: Fix build issue related to qMRMLNodeFactory.
Note: Despite the fact the class had slots, it was also missing the Q_OBJECT macro.

Revision 11615  Directory Listing
Modified Wed Jan 13 21:52:03 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
BUG: fixing a memory leak

Revision 11613  Directory Listing
Modified Wed Jan 13 20:01:03 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
PERF: adding more model maker tests, check that generate all and a range of labels works

Revision 11611  Directory Listing
Modified Tue Jan 12 21:51:22 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added convenient static method 'createNode' to qMRMLNodeFactory

In case a single node should be created,
using this method prevent from:
 - instantiating a factory
 - adding associated attributes
 - calling 'createNode' with className parameter only.

Revision 11608  Directory Listing
Modified Tue Jan 12 21:51:11 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix various warning (C4701, C4100) in Base/CLI, Libs/{GenerateLM, qCTKWidgets, vtkITK, vtkTeem) and Modules/Meshing/IO.

Revision 11607  Directory Listing
Modified Tue Jan 12 21:51:03 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Create folder Libs/MRMLCLI containing vtkMRMLCommandLineModuleNode

Since vtkMRMLCommandLineModuleNodehas been removed from Base/QTCLI and
Modules/CommandLineModule, this will solve the compile problem on Darwin.

Revision 11604  Directory Listing
Modified Tue Jan 12 18:32:29 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: Remove the tests for NULL returns from the New() and CreateNodeInstance() since these methods will be removed.

Revision 11603  Directory Listing
Modified Tue Jan 12 18:20:25 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: vtkMRMLHierarchyNode is an abstract class, therefore we need to add a Helper derived class in the tests in order to exercise the class.

Revision 11602  Directory Listing
Modified Tue Jan 12 17:58:27 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add convenient method 'currentNodeId' to qMRMLNodeSelector

If selector is empty (aka currentNode returns 0), an empty string will be
returned.

Revision 11600  Directory Listing
Modified Tue Jan 12 17:50:51 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: Removing checks for NULL on New and CreateNodeInstance(), since the methods will go away.

Revision 11599  Directory Listing
Modified Tue Jan 12 17:36:13 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: vtkMRMLSceneTest2 removed since now it is actually a collection of tests that require a mrml scene to be passed as command line argument.

Revision 11598  Directory Listing
Modified Tue Jan 12 17:28:52 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: vtkMRMLVolumeNode is an Abstract class, it must be instantiated using a derived helper class.

Revision 11594  Directory Listing
Modified Tue Jan 12 13:48:48 2010 UTC (7 years, 8 months ago) by taox
Original Path: trunk/Libs
ENH: Added logic to parse and group by echo numbers for multi echo acquisition. Tested on one dataset from VT.

Revision 11592  Directory Listing
Modified Mon Jan 11 21:30:39 2010 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: check for valid source scene before copy (error condition identified in MRML tests)

Revision 11588  Directory Listing
Modified Sun Jan 10 21:21:59 2010 UTC (7 years, 8 months ago) by lorensen
Original Path: trunk/Libs
COMP: Remove multiple definitions.

Revision 11583  Directory Listing
Modified Sun Jan 10 04:56:25 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: rename qCTKAbstractFactory::getItem into qCTKAbstractFactory::item. qCTKAbstractFactory::instantiate() is now virtual, the sub classes can derive it (qCTKAbstractQObjectFactory was declaring another instantiate() method, I wonder what was the exact behavior...) As it was supposed to, the qCTKAbstractFactory::registerItem() methods in derived classes now returns a unique key: the metadata class name for qCTKAbstractQObjectFactory, the filename (dll) for qCTKAbstractLibraryFactory and qCTKAbstractPluginFactory. 

Revision 11578  Directory Listing
Modified Sat Jan 9 00:41:27 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: In Libs/MRML - Fix warning C4100 / unreferenced formal parameter

Revision 11577  Directory Listing
Modified Fri Jan 8 23:36:21 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: Fix warning C4263: 'void vtkMRMLGlyphableVolumeDisplayNode::SetDefaultColorMap(int)' :
member function does not override any base class virtual member function

Revision 11576  Directory Listing
Modified Fri Jan 8 23:32:54 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: In Libs/MRML - Fix warning C4100 / unreferenced formal parameter

Revision 11575  Directory Listing
Modified Fri Jan 8 23:30:41 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: In Libs/MRML - Fix warning C4100 / unreferenced formal parameter

Revision 11574  Directory Listing
Modified Fri Jan 8 22:38:51 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
COMP: In Libs/MRML - Fix warning C4100 / unreferenced formal parameter

Revision 11570  Directory Listing
Modified Fri Jan 8 21:31:31 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Updated method registerQObject from qCTKAbstractQObjectFactory to return the associated object name.

This change avoid to have redundant code.

Note: The parameter 'key' passed by reference is updated with
the corresponding value.

Revision 11567  Directory Listing
Modified Fri Jan 8 15:28:05 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
STYLE: Fix spelling mistake in qCTKSingleton.h

Revision 11566  Directory Listing
Modified Fri Jan 8 15:28:01 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Remove extra comment in qVTKConnection.cxx

Revision 11565  Directory Listing
Modified Fri Jan 8 15:14:28 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Remove extra comment in qCTKPimpl

Revision 11564  Directory Listing
Modified Fri Jan 8 15:14:24 2010 UTC (7 years, 8 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add property SelectNodeUponCreation to qMRMLNodeSelector

After a node is added to the scene, it's now possible to specify
if the widget should update its current selected node or not.

Note: If set to False, in case the node is added though the widget,
the index won't be updated.

Revision 11563  Directory Listing
Modified Fri Jan 8 14:18:59 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt: qCTKAbstract classes: Split declaration from definition

Revision 11548  Directory Listing
Modified Thu Jan 7 20:39:29 2010 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
BUG: use the exec launcher if it's defined for a command line module with a certain file extension

Revision 11545  Directory Listing
Modified Thu Jan 7 05:39:12 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: When compiling plugins in debug mode, they were actually compiled in release mode (forced by the -DQT_NO_DEBUG compiler definition). It resulted that when running the Designer in debug mode, it couldn't load the debug plugins (because Q_EXPORT_PLUGIN2 was building a qt_plugin_verification_data string with debug=QT_NO_DEBUG). The message in the designer was: incompatible qt library, "cannot mix debug and release"). I believe the -DQT_NO_DEBUG comes from the Maverick project that was forcing any plugin to be in release (but it was a mistake of course ;-)).

Revision 11536  Directory Listing
Modified Wed Jan 6 06:58:50 2010 UTC (7 years, 8 months ago) by barre
Original Path: trunk/Libs
ENH: fix some camera transformable node code (requires update to VTK 5.4)

Revision 11532  Directory Listing
Modified Tue Jan 5 21:33:37 2010 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: back out incorrect define symbol

Revision 11523  Directory Listing
Modified Tue Jan 5 06:13:29 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: Using the UnstructuredGrid member variable without verifying if it is NULL.

Revision 11522  Directory Listing
Modified Tue Jan 5 06:12:50 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: The class vtkMRMLTransformNode is abstract and its New() and CreateNodeInstance() methods return NULL.
     We must therefore derive from it in order to exercise the class in this test.

Revision 11521  Directory Listing
Modified Tue Jan 5 06:02:20 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: The vtkMRMLFiberBundleDisplayNode is abstract and its New() and CreateNodeInstance() methods return NULL.
     We must therefore derive from it in order to exercise the class in the test.

Revision 11520  Directory Listing
Modified Tue Jan 5 05:53:57 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: The class vtkMRMLDisplayNode is abstract and its New() method returns a NULL pointer, while it CreateNodeInstance() method is declared pure virtual.
     Therefore, we have to derive it in order to exercise the class in the test.

Revision 11519  Directory Listing
Modified Tue Jan 5 05:48:45 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: vtkMRMLVolumeDisplayNode is an abstract class whose New() and CreateNodeInstance() methods return NULL.
     It must therefore be derived in order to exercise it in a test.

Revision 11518  Directory Listing
Modified Tue Jan 5 05:34:56 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: Fixing incorrect initialization of SingletonTag member variable with a statically allocated string.
     Fixed the original problem: SingletonTag should have been a private variable, and should only be initialized by calling the SetString method.

Revision 11517  Directory Listing
Modified Tue Jan 5 05:15:55 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: String variables that are managed through the SetStringMacro() must be dynamically allocated (with new),
     they cannot be directly assigned by using a call to the direct member variable.

Revision 11516  Directory Listing
Modified Tue Jan 5 04:43:27 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding the missing unit tests for the MRML library.

Revision 11515  Directory Listing
Modified Tue Jan 5 04:41:40 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: The class vtkMRMLGlyphableVolumeDisplayPropertiesNode was stored in a file with non-matching name vtkMRMLGlyphVolumeDisplayPropertiesNode.
     We therefore rename the file to match the class name.

Revision 11508  Directory Listing
Modified Mon Jan 4 19:10:35 2010 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Removing .NoDartCoverage files and replacing them with the
     CTEST_CUSTOM_COVERAGE_EXCLUDE variable in the CTestCustom.cmake.in file.


Revision 11504  Directory Listing
Modified Mon Jan 4 07:45:00 2010 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQT: remove warnings

Revision 11477  Directory Listing
Modified Fri Jan 1 05:48:34 2010 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: initialize values to avoid mac crashes in copy operator

Revision 11474  Directory Listing
Modified Thu Dec 31 20:59:51 2009 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
ENH: register executables to extensions for the module factory, if find an exec for an extension when testing modules by executing files. For now, always return NULL as using this method of specifying an itksys process results in an immediate return the process being null

Revision 11468  Directory Listing
Modified Thu Dec 31 05:58:32 2009 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: refactorize node generator and scene generator. Split the code from the plugin. Use a factory for the node generator. Create a GUI (pushbutton) for the node and scene generators. Move the old mechanism into the attic

Revision 11467  Directory Listing
Modified Thu Dec 31 05:55:02 2009 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: refactorize node generator and scene generator. Split the code from the plugin. Use a factory for the node generator. Create a GUI (pushbutton) for the node and scene generators. Move the old mechanism into the attic

Revision 11466  Directory Listing
Modified Thu Dec 31 05:39:32 2009 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQT: qMRMLMatrixWidget was crashing when deleting a transformmrmlnode. 

Revision 11465  Directory Listing
Modified Thu Dec 31 05:38:04 2009 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQT: qVTKAbstractMatrixWidget was enabled by default. 

Revision 11464  Directory Listing
Modified Thu Dec 31 04:53:55 2009 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: split VTK behavior from MRML. Move qMRMLMatrixWidget VTK code into qVTKAbstractMatrixWidget and qVTKMatrixWidget. qVTKAbstractMatrixWidget is not supposed to be used directly (as there is no way for the user to set the matrix. qVTKMatrixWidget is a concrete implementation of qVTKAbstractMatrixWidget, where the user can set the matrix via setMatrix (public slot). qMRMLMatrixWidget is actually a qMRMLLinearTransformMatrixWidget and generates internally a vtkMatrix4x4 that is set to qVTKAbstractMatrixWidget.

Revision 11462  Directory Listing
Modified Wed Dec 30 23:02:25 2009 UTC (7 years, 8 months ago) by finetjul
Original Path: trunk/Libs
ENH: Use smartpointer to remove memory leak. There was a mem leak in vtkMRMLTransformStorageNode, when the transform was not a BSplineTransform

Revision 11461  Directory Listing
Modified Wed Dec 30 21:15:24 2009 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
BUG: trying to plug memory leaks

Revision 11460  Directory Listing
Modified Wed Dec 30 21:13:46 2009 UTC (7 years, 8 months ago) by naucoin
Original Path: trunk/Libs
BUG: trying to reduce memory leaks

Revision 11438  Directory Listing
Modified Tue Dec 29 22:39:28 2009 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
COMP: fix for Teem 1.11

Revision 11433  Directory Listing
Modified Tue Dec 29 20:42:57 2009 UTC (7 years, 8 months ago) by partyd
Original Path: trunk/Libs
STYLE: remove debugging messages.

Revision 11432  Directory Listing
Modified Tue Dec 29 20:41:57 2009 UTC (7 years, 8 months ago) by partyd
Original Path: trunk/Libs
ENH: fix tests to respect CMAKE_BUILD_TYPE on windows.

Revision 11429  Directory Listing
Modified Tue Dec 29 20:27:03 2009 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: add launcher to MRML tests

Revision 11417  Directory Listing
Modified Tue Dec 29 13:20:37 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warning about potentially uninitialized variable. It is now initialized to zero.

Revision 11416  Directory Listing
Modified Tue Dec 29 13:18:46 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warning about method argument not being used. Introduced an argNotUsed() macro.

Revision 11415  Directory Listing
Modified Tue Dec 29 13:16:15 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixed warning about parameter not used. Removed parameter name.

Revision 11414  Directory Listing
Modified Tue Dec 29 13:13:56 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warnings about non used arguments of methods. Introduced the vtkNotUsed() macro.

Revision 11413  Directory Listing
Modified Tue Dec 29 12:59:04 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warning about use of potentially uninitialized pointers.

Revision 11409  Directory Listing
Modified Tue Dec 29 12:42:13 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixed warning about non-used paramater outPtr, added vtkNotUsed() macro.

Revision 11405  Directory Listing
Modified Mon Dec 28 21:04:52 2009 UTC (7 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: add missing launcher argument for tests

Revision 11402  Directory Listing
Modified Sat Dec 26 23:51:05 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Moving implementation of empty methods to the .cxx files.
COMP: Fixing warnings about non-used arguments by inserting the vtkNotUsed() macro.

Revision 11401  Directory Listing
Modified Sat Dec 26 23:41:24 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
COMP: Fixing warnings about unused variables by removing unused paramters (argc,argv).

Revision 11400  Directory Listing
Modified Sat Dec 26 23:40:40 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
BUG: The test must link to the MRML library, whose name is in {lib_name}.

Revision 11399  Directory Listing
Modified Sat Dec 26 23:19:05 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Increasing code coverage of the MRMLScene.

Revision 11397  Directory Listing
Modified Sat Dec 26 23:01:57 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding tests for loading all the .mrml scene files in this directory.

Revision 11396  Directory Listing
Modified Sat Dec 26 22:28:32 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Exercising more method of the ColorNode.

Revision 11395  Directory Listing
Modified Sat Dec 26 22:26:56 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Increasing code coverage by exercising the CreateNodeInstance() method.

Revision 11394  Directory Listing
Modified Sat Dec 26 22:26:33 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding tests for classes that are lacking unit testing.

Revision 11393  Directory Listing
Modified Sat Dec 26 22:25:50 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding tests for classes that lack unit testing.

Revision 11385  Directory Listing
Modified Sat Dec 26 16:45:41 2009 UTC (7 years, 8 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding basic unit testing to some classes in the Lib/MRML directory.

Revision 11380  Directory Listing
Modified Wed Dec 23 22:55:35 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: doing reconnect on the same sender-receiver-signal-slot was broken. If the slot had spaces, they would be removed when set for the first time (in SetParameters), but the comparison between the old and new slots (without and with spaces) would fail (in IsEqual()). We have decided to save the slot as is (don't remove spaces). But we add the possibility to reconnect with a slot that has different spaces (in IsEqual(), the test is not made on the spaces).

Revision 11373  Directory Listing
Modified Tue Dec 22 16:57:35 2009 UTC (7 years, 9 months ago) by naucoin
Original Path: trunk/Libs
BUG: clearing up memory leak on vtkTimerLog

Revision 11371  Directory Listing
Modified Tue Dec 22 02:38:55 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: remove useless debug outputs

Revision 11370  Directory Listing
Modified Tue Dec 22 02:37:50 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Change the signature of the qVTKConnection signals. The first argument is now always the caller (vtkObject*), then the calldata (void* or vtkObject), then event type (uint) and finally the client data (void*).
Note: even if the signal has a signature with 4 args, you can connect it to a slot with less arguments as long as the types of the 
 argument are matching: connect(obj1,SIGNAL(signalFunc(A,B,C,D)),obj2,SLOT(slotFunc(A)));
We know support spaces in the slot signature; slotFunc(A,B), slotFunc( A , B )

Revision 11368  Directory Listing
Modified Tue Dec 22 01:07:38 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - In qVTKConnection::SetParameters, remove space characters from slot signature.

Revision 11363  Directory Listing
Modified Mon Dec 21 22:14:56 2009 UTC (7 years, 9 months ago) by ibanez
Original Path: trunk/Libs
ENH: Adding more .NoDartCoverage files to exclude the Testing subdirectories from the computation of code coverage.

Revision 11361  Directory Listing
Modified Mon Dec 21 20:42:25 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
COMP: Remove warning C4099 with MSVC.

Revision 11358  Directory Listing
Modified Sun Dec 20 20:59:54 2009 UTC (7 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: keep node id cache valid in scene::AddNode()

Revision 11332  Directory Listing
Modified Thu Dec 17 15:09:43 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
COMP: MRML library couldn't link correctly on windows. Tones of errors like  that. ITKNrrdIO.lib(miscAir.obj) : error LNK2005: _itk_airFree already defined in vtkITK.lib(vtkITK.dll). Changing the order of the target link libraries seem to fix the problem.

Revision 11331  Directory Listing
Modified Wed Dec 16 21:50:04 2009 UTC (7 years, 9 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED: fixed memory and performance issues between scene load/undo/snapshots

Revision 11328  Directory Listing
Modified Wed Dec 16 11:29:32 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added the header qCTKSingleton providing helper macro to declare a valid singleton.

Revision 11316  Directory Listing
Modified Wed Dec 16 02:59:21 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - In qCTKABstractFactory, Instance pointer now set to 0 in uninstanciate method.


In qCTKAbstractFactoryItem::uninstantiate,
make sure the pointer is set to 0. Doing so, Will prevent attempt to
delete unextising object if uninstantiate() methods is called multiple
times.

Revision 11315  Directory Listing
Modified Wed Dec 16 02:59:10 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update qCTK Factory related classes. Theri constructor is now explicit.

To avoids undesirable conversions, our constructor should be explicit.

See
 - http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Explicit_Constructors
 - http://www.cppreference.com/wiki/keywords/explicit

Note: Even if all of them doesn't have one parameter, let's take the habit
to use explicit.

Revision 11300  Directory Listing
Modified Tue Dec 15 19:05:42 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Improve the qSlicerModulelogic integration. Read below:

 - method createLogic, available in the qSlicerAbstractmodule, is
now virtual pure. That will enforce the fact every module should separate
logic and UI. Nevertheless, a module developer can explicitly choose
not to have a logic by having createLogic method returning 0. (see
SlicerWelcomeModule for an example).

  - qSlicerModuleLogic doesn't extend anymore from QObject. That way we
enforce the fact no signal or slot are implemented in the logic.
The UI should explicitly call the logic methods.
  Nevertheless, the Pimpl class associated with the logic could derive
from QObject and internally deal with signal and slots.

  - This commit also fix a problem related to QCTK_CONSTRUCTOR_NO_ARG_CXX macro

Revision 11296  Directory Listing
Modified Tue Dec 15 09:02:21 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
COMP: Since VTK_WRAP_TCL already defined in vtkToolkits.h, removed corresponding ADD_DEFINITIONS(-DVTK_WRAP_TCL) from CMakeLists.txt

Revision 11294  Directory Listing
Modified Tue Dec 15 09:02:15 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
COMP: Updated Libs/IGT to include/build TCL/KWWidgets code only if required

Revision 11293  Directory Listing
Modified Tue Dec 15 09:02:11 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
COMP: Libs LoadableModule, GenerateLM, SlicerIO and ITKCommandIO are build only if Slicer3_USE_KWWIDGETS is ON

Revision 11292  Directory Listing
Modified Tue Dec 15 09:02:08 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
COMP: Libs CudaSupport,FreeSurfer,MRML,RemoveIO,vtkITK and vtkTeem are wrap if TCL only if required.

Revision 11286  Directory Listing
Modified Tue Dec 15 09:01:45 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Remove extra header from qCTKCollapsibleButtonPlugin

Revision 11284  Directory Listing
Modified Tue Dec 15 09:01:38 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Remove unused files from qCTKWidgets/Plugins

Revision 11269  Directory Listing
Modified Mon Dec 14 01:29:30 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - In macro "qctk_install_designer_plugin" the copy/create_symlink cmake command
where trying to copy/create_sym_link to an nonexistent directory.

The ADD_CUSTOM_COMMAND creates now the 'designer' directory.

Revision 11267  Directory Listing
Modified Mon Dec 14 00:35:20 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Include qCTKWidgetsExport.h instead of qCTKWidgetsWin32Header.h

Revision 11266  Directory Listing
Modified Mon Dec 14 00:25:47 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added macros "qctk_build_designer_plugin" and "qctk_install_designer_plugin"

Revision 11265  Directory Listing
Modified Mon Dec 14 00:25:29 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added macro QCTK_PARSE_ARGUMENTS

Revision 11264  Directory Listing
Modified Mon Dec 14 00:21:13 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - In qCTKWidgets,qVTKWidgets and qMRMLWidgets rename "PROJECTWin32Header.h" into "PROJECTExport.h"

Revision 11261  Directory Listing
Modified Sun Dec 13 01:38:25 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: Fix MRML/Testing/{testUndo,testVolume}.tcl - Wrong use of vtkEventBroker

In a attempt to free the vtkEventBroker singleton, the TCL script
was doing the following:

------------
# use this to free the singleton and avoid a leak
set broker [vtkEventBroker New]
$broker UnRegister sc
$broker Delete
------------

This was "working" with the former vtkEventBroker

With the new idiom, the line 'unregister' cause a problem.
Indeed,
 - the first line, increase the reference count from one.
 - the second line, decrease the reference count and delete the object
 - the third line causes a seg fault since the object isn't referenced anymore

A fix would be to remove the second line.

Since the New and the Delete are consecutive ... we can also remove both.

Revision 11260  Directory Listing
Modified Fri Dec 11 21:33:55 2009 UTC (7 years, 9 months ago) by pieper
Original Path: trunk/Libs
BUG: be sure to invoke all delete events for a subject being deleted

Revision 11254  Directory Listing
Modified Fri Dec 11 14:32:11 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt: factorize code for qMRMLTreeWidget.

Revision 11252  Directory Listing
Modified Fri Dec 11 04:44:20 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Remove extra comment in qCTKPimpl

Revision 11250  Directory Listing
Modified Fri Dec 11 01:43:50 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: Update vtkEventBroker to follow a more robust singleton pattern.

Since we are sure to have on instance per-process, all client should call
vtkEventBroker::GetInstance() and no bother using New/Delete

It follow now the nifty counter idiom:
http://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Nifty_Counter

Largely inspired from the code of:
VTK/Common/vtkOutputWindow
VTK/Utilities/kwsys/SystemTools

It's also possible to use New (that way reference counting will be used)
Doing so the caller will be responsible to call the matching Delete.
For example, in Slicer3.cxx, TCL interpreter got a reference using New.
For that reason, we call the corresponding Delete.

It's also worth reading:
http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.12

Revision 11249  Directory Listing
Modified Fri Dec 11 01:05:43 2009 UTC (7 years, 9 months ago) by partyd
Original Path: trunk/Libs
ENH: remove debugging message. BUG fix cpack to include the RuntimeExecutables component so vtk.exe will be installed.

Revision 11247  Directory Listing
Modified Thu Dec 10 22:12:28 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: synchronize setCollapsed with setChecked

Revision 11245  Directory Listing
Modified Thu Dec 10 20:41:34 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: Fix the exclusive state of collapsible buttons. Fix some width issues too

Revision 11240  Directory Listing
Modified Wed Dec 9 14:52:34 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: Fix Libs/GenerateCLP/CMakeLists.txt  - Rule of thumb: always add the ADD_SUBDIRECTORY(Testing) at the end of the parent CMakeLists.txt

In this specific case, the GenerateCLPconfig.cmake.in was configured
after the testing directory was included.

Since using ADD_SUBDIRECTORY ensures that things are done in sequence ...
we obviously got a problem.

As specified in the doc:http://cmake.org/cmake/help/cmake-2-8-docs.html#command:add_subdirectory

"The CMakeLists.txt file in the specified source directory will be
processed immediately by CMake before processing in the current input file continues beyond this command."

Revision 11239  Directory Listing
Modified Wed Dec 9 14:52:25 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Format code and add members to private implementation of qCTKAddRemoveComboBox

Revision 11238  Directory Listing
Modified Wed Dec 9 14:52:15 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - In qMRMLNodeSelector, change back setNodeType to be a normal function

The widget doesn't support dynamic updated of the nodeType

Revision 11237  Directory Listing
Modified Wed Dec 9 14:51:59 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update qCTKAddRemoveControlBox:
 - move connectComboBox method into Private implementation
 - add method insertEmptyItem to private implementation

Revision 11236  Directory Listing
Modified Wed Dec 9 13:36:14 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: When the mouse is over a child of the collapsible button, we remove the highlight effect on the button. The highlight effect is style dependent. One can notice on QCleanLooksStyle.

Revision 11235  Directory Listing
Modified Wed Dec 9 08:41:49 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - In qMRMLNodeSelector, setNodeType is now a public slots.

That will allow the class to be connected to the aMRMLSceneGenerator.

Revision 11233  Directory Listing
Modified Wed Dec 9 08:37:07 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Refactor and fix memory leaks in qMRMLSceneGeneratorPlugin, add signal randomMRMLNodeType

Each time a new scene is generated, a random classname
selected from the created MRML node is set as a parameter
of randomMRMLNodeType signal.

Revision 11229  Directory Listing
Modified Tue Dec 8 23:34:46 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update qCTKAddRemoveComboBox public API

Add following properties:
  addText
  removeText
  editText
  pushButtonsEnabled

For now, setting pushButtonsEnabled will just hide and disable the buttons

The (add|remove|edit)Text property are not yet used.

Revision 11228  Directory Listing
Modified Tue Dec 8 23:34:41 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update CMakeLists.txt of QTDesigner plugin. Change ADD_LIBRARY option from SHARED to MODULE type

Revision 11226  Directory Listing
Modified Tue Dec 8 23:34:28 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: In CMakeLists.txt, change deprecated SUBDIRS command into ADD_SUBDIRECTORY

See http://cmake.org/cmake/help/cmake-2-8-docs.html#command:subdirs

when subdirs command was taking a list of directory, change it
using the following pattern:

Before:
subdirs(sagarmatha kumbhu eiger)

After:
SET(dirs
  sagarmatha
  kumbhu
  eiger
  )
FOREACH(dir ${dirs})
  ADD_SUBDIRECTORY(${dir})
ENDFOREACH(dir)

Revision 11225  Directory Listing
Modified Tue Dec 8 20:54:51 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: Fix the min size hint and size hint of the qCTKCollapsibleButton

Revision 11219  Directory Listing
Modified Tue Dec 8 16:41:52 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Added missing library qCTKWidgets in Libs/qMRMLWidgets/CMakeLists.txt

Revision 11210  Directory Listing
Modified Tue Dec 8 04:15:29 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added Libs/qVTKWidgets/Plugins directory

Revision 11209  Directory Listing
Modified Tue Dec 8 04:15:18 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: Update CMakeLists.txt - CMake 2.6 is now required

The following line have been added:

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
IF(COMMAND CMAKE_POLICY)
  CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)
MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)

Revision 11208  Directory Listing
Modified Tue Dec 8 04:13:34 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add Libs/qVTKWidgets

This library will contain QT widget that depends only on QT and CTK

Revision 11205  Directory Listing
Modified Tue Dec 8 00:32:05 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt: remove unnecessary console output.

Revision 11204  Directory Listing
Modified Tue Dec 8 00:31:07 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQT: in the list view, show the nodes by default, not the scene.

Revision 11203  Directory Listing
Modified Mon Dec 7 23:51:06 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: Remove useless Q_ASSERT from qCTKPimpl

Since this->pvt was set when the object was instantiated, it didn't
make sens to verify it.

Revision 11199  Directory Listing
Modified Mon Dec 7 23:50:47 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add test model/views

Revision 11198  Directory Listing
Modified Mon Dec 7 23:49:44 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: refactorize a qMRMLUtils function

Revision 11197  Directory Listing
Modified Mon Dec 7 23:49:12 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: qMRMLItems.cxx has been added by mistake

Revision 11196  Directory Listing
Modified Mon Dec 7 23:48:30 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add a new qMRMLItemModel where items use polymorphism.

Revision 11195  Directory Listing
Modified Mon Dec 7 23:47:26 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add a new qMRMLItemModel where items use polymorphism.

Revision 11193  Directory Listing
Modified Mon Dec 7 23:44:50 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: move qMRMLItemModel into the Attic, we want to create a more flexible representation.

Revision 11173  Directory Listing
Modified Sun Dec 6 17:12:44 2009 UTC (7 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: added save restore selected module in layout node, scene save/load and scene sanpshots

Revision 11171  Directory Listing
Modified Sun Dec 6 04:16:44 2009 UTC (7 years, 9 months ago) by hjohnson
Original Path: trunk/Libs
ENH:  Moved DicomToNrrd to its own directory to make it easier to build stand alone.

Revision 11167  Directory Listing
Modified Sat Dec 5 16:09:22 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Refactor Modules - Added qSlicerAsbtractModuleWidget

QTModules and CLI module are disabled for now

The class qSlicerAbstractModule now inherit from QObject.
All UI specific code has been moved to qSlicerAbstractModuleWidget.

qSlicerAbstractModule provide a function named 'widgetRepresentation'
allowing to obtain the corresponding widget.

Revision 11157  Directory Listing
Modified Fri Dec 4 21:16:09 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: forgot to commit the header changes

Revision 11153  Directory Listing
Modified Fri Dec 4 16:53:26 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQT: NULL is not C++

Revision 11152  Directory Listing
Modified Fri Dec 4 16:52:18 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: Add the node id into the mrml item model

Revision 11150  Directory Listing
Modified Fri Dec 4 15:25:05 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add a MRML model to use with Qt widgets.

Revision 11130  Directory Listing
Modified Thu Dec 3 07:53:40 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add explicit keyword to the constructor of classes in qCTKWidgets

Revision 11129  Directory Listing
Modified Thu Dec 3 07:53:36 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add explicit keyword to the constructor of classes in qMTMLWidgets

Revision 11128  Directory Listing
Modified Thu Dec 3 07:53:32 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Add missing virtual destructor to qMRMLWidget classes

Revision 11127  Directory Listing
Modified Thu Dec 3 07:53:27 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Add missing virtual destructor to CTK classes

Revision 11107  Directory Listing
Modified Wed Dec 2 06:27:24 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Reorder headers

Revision 11104  Directory Listing
Modified Wed Dec 2 06:26:58 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - qCTKAbstractFactory now displays a meaningful error message if either a plugin or a library fail to load.

Revision 11103  Directory Listing
Modified Wed Dec 2 04:10:14 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - All classes are now using qCTKPimpl, Remove qSlicerMacros.h, Add macro QCTK_CONSTRUCTOR_NO_ARG_CXX and QCTK_CONSTRUCTOR_1_ARG_CXX to qCTKPimpl.
STYLE: SlicerQT - The header inclusion has also been cleaned and documented.

Revision 11100  Directory Listing
Modified Tue Dec 1 21:29:24 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update qCTKCollapsibleButton to use the new qCTKPimpl functions.

Revision 11099  Directory Listing
Modified Tue Dec 1 21:29:14 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update qCTKPimpl - By default, qctk_d and qctk_p return a pointer. The former behavior can still be obtained using qctk_d.ref() or qctk_p_ref()

Revision 11098  Directory Listing
Modified Tue Dec 1 21:29:03 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Create a directory named Attic and add unused/obsolete piece of code that we could inspire from later on.

Revision 11095  Directory Listing
Modified Tue Dec 1 17:16:48 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Update qCTKCollapsibleButton code to be coherent when setCheckable is set to true

Revision 11086  Directory Listing
Modified Tue Dec 1 03:54:27 2009 UTC (7 years, 9 months ago) by tokuda
Original Path: trunk/Libs
COMP: Fixing warnings in MRML node classes for XY plot.

Revision 11083  Directory Listing
Modified Mon Nov 30 20:24:09 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: fix windows compilation.

Revision 11082  Directory Listing
Modified Mon Nov 30 17:56:15 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: Derive the qCTKCollapsibleWidget2 from an abstractbutton, rename it as qCTKCollapsibleButton.

Revision 11079  Directory Listing
Modified Sun Nov 29 04:08:14 2009 UTC (7 years, 9 months ago) by tokuda
Original Path: trunk/Libs
ENH: Adding MRML nodes for XY plot.

Revision 11076  Directory Listing
Modified Sun Nov 29 02:22:29 2009 UTC (7 years, 9 months ago) by tokuda
Original Path: trunk/Libs
ENH: Removing MRML nodes related to XY plotting from CMakeList.txt

Revision 11075  Directory Listing
Modified Sun Nov 29 01:47:57 2009 UTC (7 years, 9 months ago) by tokuda
Original Path: trunk/Libs
ENH: Moving XY Plotting and related classes from FourDAnalysis module to Base/GUI and Libs/MRML.

Revision 11074  Directory Listing
Modified Sat Nov 28 23:30:02 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Add qCTKPimpl to qCTKWidgets CMakeLists.txt

Revision 11073  Directory Listing
Modified Sat Nov 28 23:29:01 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update qCTKCollapsibleWidget to make use of qCTKPimpl

Revision 11072  Directory Listing
Modified Sat Nov 28 23:28:57 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add qCTKPimpl class

Revision 11070  Directory Listing
Modified Sat Nov 28 22:05:28 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add method 'addAttribute' to the qMRMLNodeFactory

Revision 11066  Directory Listing
Modified Fri Nov 27 23:34:50 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Add class qMRMLNodeFactory to qMRMLWidgets. Update qMRMLNodeSelector to use the factory. Remove 'createAndAddNode...' functions from qMRMLUtils

Revision 11063  Directory Listing
Modified Fri Nov 27 15:16:16 2009 UTC (7 years, 9 months ago) by pieper
Original Path: trunk/Libs
BUG: back out changes that lead to failed tests

Revision 11062  Directory Listing
Modified Thu Nov 26 14:39:06 2009 UTC (7 years, 9 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED: fixed multiple crashes on scene close and exit. Remove observers before objects are deleted

Revision 11060  Directory Listing
Modified Thu Nov 26 02:25:10 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added widget qCTKFlowLayout to CTK directory. This widget has been imported from the examples of the Qt Toolkit.

Revision 11058  Directory Listing
Modified Thu Nov 26 02:25:03 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Remove extra debug statement

Revision 11057  Directory Listing
Modified Wed Nov 25 21:41:06 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - In qCTKFittedTextBrowser, when the widget has a width of 0, return QTextBrowser::minimumSizeHint() instead of an arbitrary value of 400

Revision 11056  Directory Listing
Modified Wed Nov 25 21:41:02 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added qCTKSlicer to CTK plugins

Revision 11055  Directory Listing
Modified Wed Nov 25 21:11:00 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt: Reorder file names in alphabetical order

Revision 11054  Directory Listing
Modified Wed Nov 25 21:05:07 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: the minimum sizeHint of the qCTKCollapsibleWidget2 was incorrect when the box was collapsed. 

Revision 11050  Directory Listing
Modified Wed Nov 25 20:55:53 2009 UTC (7 years, 9 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Added qCTKFittedTextBrowser plugin to the list of available CTK plugins.

Revision 11039  Directory Listing
Modified Tue Nov 24 18:12:45 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQT: move designer plugins into bin/Release/designer

Revision 11038  Directory Listing
Modified Tue Nov 24 17:36:16 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: previous commit deleted changes

Revision 11037  Directory Listing
Modified Tue Nov 24 17:07:29 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: Move back the qt designer plugins into the Slicer3-build/bin directory. But a post build command is run to copy the dlls into the bin/designer directory.

Revision 11036  Directory Listing
Modified Tue Nov 24 17:06:34 2009 UTC (7 years, 9 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: Move back the qt designer plugins into the Slicer3-build/bin directory. But a post build command is run to copy the dlls into the bin/designer directory.

Revision 11034  Directory Listing
Modified Tue Nov 24 15:25:05 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Fix qCTKCollapsibleWidget2 (the collapsed state wasn't incorrectly displayed). Fix qSlicerModulePanel, change vertical policy to QSizePolicy::MinimumExpanding.

Revision 11033  Directory Listing
Modified Tue Nov 24 15:25:00 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Add childEvent method to qCTKWidgetsCollapsibleWidget2

Revision 11032  Directory Listing
Modified Tue Nov 24 15:24:56 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Add semicolon after Q_EXPORT_PLUGIN2 macro

Revision 11031  Directory Listing
Modified Tue Nov 24 15:24:48 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - Add a semicolan after the macro Q_INTERFACES

Revision 11022  Directory Listing
Modified Mon Nov 23 22:36:21 2009 UTC (7 years, 10 months ago) by barre
Original Path: trunk/Libs
ENH: try making the MRML camera node transformable

Revision 11012  Directory Listing
Modified Fri Nov 20 15:33:10 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Added a fitted text browser

Revision 11000  Directory Listing
Modified Thu Nov 19 14:57:02 2009 UTC (7 years, 10 months ago) by partyd
Original Path: trunk/Libs
BUG: fix MRML test data path.

Revision 10999  Directory Listing
Modified Thu Nov 19 14:50:51 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - in qCTKFactory classes, remove conditional uninstantiation. A QObject can be deleted even is it has a non-null parent.

Revision 10995  Directory Listing
Modified Thu Nov 19 14:05:35 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update qSlicerMainWindow to use the new qCTKCollapsibleWidget2.
ENH: SlicerQT - Clean vtkSlicerApplicationGUI, vtkSlicerModuleChooseGUI, vtkSlicerApplication and add InitializeQtCommandLineModules  method
ENH: SlicerQT - Update qSlicerModuleLogic class
ENH: SlicerQT - Update QTCLI, add vtkCommandLineModuleNode, add UI resource file, update qSlicerCLIModuleLogic
ENH: SlicerQT - Rename initializer() to setup()
ENH: SlicerQT - In qSlicerModulePanel, rename signals. Split existing addModule method into AddModule, RemoveModule and SetModule. Add method clear.
ENH: SlicerQT - In CTK Factory, add uninstanciate method. Add QObject factory.
ENH: SlicerQT - Add macro qSlicerCxxInternalBckPtrConstructor1Macro
ENH: SlicerQT - Add appLogic and setAppLogic to qSlicerWidget.

Revision 10991  Directory Listing
Modified Thu Nov 19 01:23:43 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt: Rename BasePlugin into AbstractPlugin

Revision 10989  Directory Listing
Modified Thu Nov 19 00:20:59 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQt: qCTKTreeComboBox was not compiling on Windows.

Revision 10985  Directory Listing
Modified Wed Nov 18 18:58:01 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add qMRMLNodeTreeSelector

Revision 10984  Directory Listing
Modified Wed Nov 18 18:50:37 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: Wrong margin inside qCTKAddRemoveCombobox.

Revision 10983  Directory Listing
Modified Wed Nov 18 18:49:20 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add qCTKTreeComboBox

Revision 10964  Directory Listing
Modified Mon Nov 16 22:19:28 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
COMP: remove useless file

Revision 10963  Directory Listing
Modified Mon Nov 16 22:18:34 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: rewrote a new and clean qCTKCollapsibleWidget (qCTKCollapsibleWidget2 for the moment)

Revision 10962  Directory Listing
Modified Mon Nov 16 22:17:36 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: rewrote a new and clean qCTKCollapsibleWidget (qCTKCollapsibleWidget2 for the moment)

Revision 10958  Directory Listing
Modified Mon Nov 16 19:30:35 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
COMP: Move resizeEvent outside of the precompiled macro

Revision 10953  Directory Listing
Modified Mon Nov 16 14:42:32 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add help in modules

Revision 10949  Directory Listing
Modified Thu Nov 12 23:43:00 2009 UTC (7 years, 10 months ago) by naucoin
Original Path: trunk/Libs
BUG: fixed a logic bug, have to reset result to 1 when succeed in reading the w file, the read returns 0 on success

Revision 10947  Directory Listing
Modified Thu Nov 12 20:33:31 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQt - Change qInternal member from class to struct.

Revision 10933  Directory Listing
Modified Wed Nov 11 05:36:18 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQt - the method registerItem in qCTKFactory wasn't returning a boolean. If a plugin/library failed to load, a message was displayed and the the program was aborted due to an assertion. Such case are now gracefully handhled

Revision 10922  Directory Listing
Modified Tue Nov 10 19:07:15 2009 UTC (7 years, 10 months ago) by barre
Original Path: trunk/Libs
ENH: oops?

Revision 10918  Directory Listing
Modified Tue Nov 10 17:50:11 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add Min/Max into qMRMLTransformSliders

Revision 10917  Directory Listing
Modified Tue Nov 10 17:41:41 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Added qCTKAbstractLibraryFactory allowing to resolve symbols within loadable command line module.
ENH: SlicerQT - Updated qSlicerModuleFactory and Slicer3.cxx to use Library factory.
ENH: SlicerQT - Added qSlicerMacros file. Convenient macro allowing to set the constructor/destructor, and accessors of Slicer classes.
ENH: SlicerQT - Added qSlicerModuleLogic class
ENH: SlicerQT - Added Base/GUIQT/CmdLineModule.
ENH: SlicerQT - Added Base/GUIQT/qSlicerUtils class
FIX: SlicerQT - Clean code, comment extra debug statements

Revision 10906  Directory Listing
Modified Sun Nov 8 22:26:44 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt: set the collapsible panel to StyledPanel as a default value.

Revision 10905  Directory Listing
Modified Sun Nov 8 22:25:59 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add more signals to the node selector. Fix bugs.

Revision 10904  Directory Listing
Modified Sun Nov 8 22:25:21 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQT: rename qvtkReConnect into qvtkReconnect for more consistency

Revision 10900  Directory Listing
Modified Sat Nov 7 23:40:44 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Redesign qCTKAddRemoveComboBox, qCTKNodeSelector and qSlicerTransformsModule.

Revision 10893  Directory Listing
Modified Fri Nov 6 22:49:41 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update class qCTKAbstractFactory, Add classes qCTKAbstractPluginFactory and qCTKAbstractObjectFactory.

Revision 10878  Directory Listing
Modified Wed Nov 4 21:49:10 2009 UTC (7 years, 10 months ago) by millerjv
Original Path: trunk/Libs
ENH: Dual 3D layout

Revision 10872  Directory Listing
Modified Wed Nov 4 16:54:34 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - In 'qCTKCollapsibleWidget', the property collapsed and title is now properly stored.

Revision 10871  Directory Listing
Modified Wed Nov 4 16:51:56 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
STYLE: SlicerQT - In qCTKMatrixWidget, add comment and remove unused header.

Revision 10870  Directory Listing
Modified Wed Nov 4 16:50:31 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQT - Udpate the code and change .'toAscii()' to 'toLatin1()'. 'Latin1' is the recommended way to convert to/from const char*/char*.

Revision 10857  Directory Listing
Modified Wed Nov 4 10:38:15 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: SlicerQT - Update resources file header. Now include the DOCTYPE declration and also the RCC version attribute

Revision 10853  Directory Listing
Modified Tue Nov 3 23:33:35 2009 UTC (7 years, 10 months ago) by barre
Original Path: trunk/Libs
ENH: fix some fiducials problem. The Undo/Redo framework relies on MRML nodes to implement a Copy function, but that copy function can not just make Set/Get calls, because of the side effect this can have on the scene.

Revision 10839  Directory Listing
Modified Mon Nov 2 13:28:21 2009 UTC (7 years, 10 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding new PET procedural color node option for MIP

Revision 10838  Directory Listing
Modified Mon Nov 2 10:31:48 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
COMP: SlicerQT: Fix windows compilation errors

Revision 10835  Directory Listing
Modified Sun Nov 1 20:02:56 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQT: Add the camera module

Revision 10831  Directory Listing
Modified Sat Oct 31 19:36:04 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQT: Disable the Add node button in qMRMLNodeSelector when there is no mrml scene set

Revision 10830  Directory Listing
Modified Sat Oct 31 16:52:53 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQT: Rename qMRMLWidgetsPlugin into qMRMLWidgetsBasePlugin and qMRMLWidgetsPlugins into qMRMLWidgetsPlugin

Revision 10828  Directory Listing
Modified Sat Oct 31 16:23:50 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQT: Rename qCTKWidgetsPlugin in qCTKWidgetsBasePlugin

Revision 10826  Directory Listing
Modified Sat Oct 31 16:04:53 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQT: Rename qCTKComboBoxAddRemove into qCTKAddRemoveComboBox

Revision 10825  Directory Listing
Modified Sat Oct 31 16:04:39 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt add more GET methods.

Revision 10824  Directory Listing
Modified Sat Oct 31 16:03:39 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQT: Rename qCTKComboBoxAddRemove into qCTKAddRemoveComboBox

Revision 10823  Directory Listing
Modified Sat Oct 31 14:11:27 2009 UTC (7 years, 10 months ago) by alexy
Original Path: trunk/Libs
ENH: added save/load of volume property

Revision 10822  Directory Listing
Modified Sat Oct 31 00:13:46 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: QtSlicer - Add GUIQT/Plugins directory. Rename QCTKWidgets/QMRMLWidgets to qCTKWidgets/qMRMLWidgets

Revision 10819  Directory Listing
Modified Fri Oct 30 21:53:02 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
COMP: Add win32 export keywords for Plugins directories

Revision 10818  Directory Listing
Modified Fri Oct 30 21:47:18 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
BUG: QtSlicer - Update qCTKMatrixWidget - Matrix is now sized properly without any margins.

Revision 10812  Directory Listing
Modified Fri Oct 30 18:44:12 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: QtSlicer - Rename dumpObjectInfo to printAdditionalInfo

Revision 10795  Directory Listing
Modified Thu Oct 29 22:36:10 2009 UTC (7 years, 10 months ago) by barre
Original Path: trunk/Libs
ENH: support for new cameras and new views. Port from Slicer 3.4 branch. As mentioned on the mailing list, apologies for instabilities while these core changes are further tested. Fiducials do not seem to follow camera for example, this will be fixed. Send bugs to sebastien.barre@kitware.com; Thank you.

Revision 10793  Directory Listing
Modified Thu Oct 29 21:37:34 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: QtSlicer - TransformModule - Connect the min/max translation limit input.

Revision 10792  Directory Listing
Modified Thu Oct 29 21:36:18 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: QtSlicer - Add signal 'valueEdited' to qCTKNumericInput class

Revision 10791  Directory Listing
Modified Thu Oct 29 21:35:28 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: QtSlicer - Add setMinimumRange and setMaximumRange slots to both qCTKSlider and qMRMLTransformSliders classes

Revision 10787  Directory Listing
Modified Thu Oct 29 19:28:55 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
BUG: QCTKWidget - Matrix widget - Overload sizeHint and minimumSizeHint function

Revision 10786  Directory Listing
Modified Thu Oct 29 19:27:48 2009 UTC (7 years, 10 months ago) by jcfr
Original Path: trunk/Libs
ENH: QCTKWidget - Add NumericInput Widget and corresponding designer plugin allowing the user to input text in a line edit and validate entry (aka make sure it's valid double) as he types in.

Revision 10766  Directory Listing
Modified Tue Oct 27 16:49:44 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt, fix size policies of qCTKTitleComboBox

Revision 10765  Directory Listing
Modified Tue Oct 27 16:49:35 2009 UTC (7 years, 10 months ago) by partyd
Original Path: trunk/Libs
ENH: provide MRML_TEST_DATA_DIR for use by vtkITK tests.

Revision 10764  Directory Listing
Modified Tue Oct 27 13:57:40 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: add a combobox with a fixed title

Revision 10760  Directory Listing
Modified Tue Oct 27 00:22:56 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: qCTKCoordinatesWidget now handle negative values

Revision 10759  Directory Listing
Modified Mon Oct 26 23:58:54 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
ENH: Replace qCTKPositionWidget by qCTKCoordinatesWidget

Revision 10757  Directory Listing
Modified Mon Oct 26 22:44:49 2009 UTC (7 years, 10 months ago) by fedorov
Original Path: trunk/Libs
ENH: allow to save transforms as .mat files. If .mat selected, ITK TransformIO 
will store the transform in binary form, allowing to eliminate the precision
loss during transform read/write due to string<-->float conversion.

Revision 10755  Directory Listing
Modified Mon Oct 26 22:10:46 2009 UTC (7 years, 10 months ago) by naucoin
Original Path: trunk/Libs
COMP: check the return from getcwd

Revision 10754  Directory Listing
Modified Mon Oct 26 22:07:45 2009 UTC (7 years, 10 months ago) by naucoin
Original Path: trunk/Libs
COMP: look at return values from string and file calls

Revision 10750  Directory Listing
Modified Mon Oct 26 19:48:32 2009 UTC (7 years, 10 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: when a child widget is added into a qCTKCollapsibleGroupBox, it's visibility was incorrectly set

Revision 10744  Directory Listing
Modified Fri Oct 23 23:08:19 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: fix some size issues in the CollapsibleGroupBox widget

Revision 10743  Directory Listing
Modified Fri Oct 23 23:07:35 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add a collapsible widget

Revision 10742  Directory Listing
Modified Fri Oct 23 23:05:45 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add a ColorPickerButton

Revision 10731  Directory Listing
Modified Thu Oct 22 17:31:56 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
BUG: restore qCTKCollapsibleGroupBox size constraints.

Revision 10723  Directory Listing
Modified Wed Oct 21 03:31:42 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
ENH: qSlicerModuleTransform - Matrix widget is now displayed using a collapsible widget. The top margin of the layout used in the collapsible widget is also set to 6

Revision 10722  Directory Listing
Modified Wed Oct 21 03:30:33 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
ENH: qCTKCollapsibleGroupBox - Rename method expanded to isExpanded to be compliant with QT way of naming methods

Revision 10721  Directory Listing
Modified Wed Oct 21 03:28:21 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
BUG 657: qCTKMatrixWidget - Overload resizeEvent and call the custom method adjustRowsColumnsSize in charge of resizing uniformely the columns/rows according to the number of columns/rows and the widhet/height associated with the resize event.

Revision 10719  Directory Listing
Modified Wed Oct 21 01:06:20 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
BUG: qMRMLLinearTransformSliderPlugin - Change widget default height from 200 to 32

Revision 10718  Directory Listing
Modified Wed Oct 21 01:04:21 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
ENH: qCTKCollapsibleGroupBox - Added Q_PROPERTY Expanded allowing to define a collapsible group box default state from the designer itself

Revision 10717  Directory Listing
Modified Wed Oct 21 01:02:09 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLTransformSliders - Commit UI file related to enhancement associated with r10716

Revision 10716  Directory Listing
Modified Wed Oct 21 01:00:37 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
ENH: qMRMLTransformSliders - A grid layout is now used to align properly the slider/spinbox widget with a label

Revision 10715  Directory Listing
Modified Wed Oct 21 00:58:52 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
ENH: qCTKSliderSpinBoxLabel - Add the property LabelTextVisible

Revision 10714  Directory Listing
Modified Wed Oct 21 00:56:06 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
BUG 673: qCTKSlider - function fromDoubleToInteger has been updated to properly convert a double value to a integer value using the single step

Revision 10713  Directory Listing
Modified Tue Oct 20 22:15:22 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
STYLE: SlicerQt: remove useless couts

Revision 10708  Directory Listing
Modified Tue Oct 20 22:03:32 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
BUG: SlicerQt: Fix some issues in qCTKCollapsibleGroupBox.

Revision 10707  Directory Listing
Modified Tue Oct 20 22:02:27 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
ENH: SlicerQt: Add qCTKPositionWidget

Revision 10700  Directory Listing
Modified Tue Oct 20 14:39:59 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
BUG: Fix QCTKWidgets/qCTKAbstractObjectFactory copy constructor to be compliant with linux and windows compiler.

Revision 10688  Directory Listing
Modified Mon Oct 19 16:09:05 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
COMP: remove slicerio from link list

Revision 10687  Directory Listing
Modified Mon Oct 19 16:08:28 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
ENH: handle more datatypes in lookup table

Revision 10677  Directory Listing
Modified Fri Oct 16 20:01:25 2009 UTC (7 years, 11 months ago) by naucoin
Original Path: trunk/Libs
BUG: fixed logic in bug fix

Revision 10676  Directory Listing
Modified Fri Oct 16 20:00:54 2009 UTC (7 years, 11 months ago) by naucoin
Original Path: trunk/Libs
BUG: asserts cause Slicer to crash

Revision 10673  Directory Listing
Modified Fri Oct 16 18:48:40 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
ENH QtSlicer: Add qdesigner plugin support for QCTKWidgets. Add a CollapsibleGroupBox widget.

Revision 10671  Directory Listing
Modified Fri Oct 16 17:12:34 2009 UTC (7 years, 11 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: fixed ASSERT case in qNodeSelector that happened on scene close.

Revision 10670  Directory Listing
Modified Fri Oct 16 17:11:23 2009 UTC (7 years, 11 months ago) by alexy
Original Path: trunk/Libs
ENH: changed ROI read-write XML to adhere to standard

Revision 10655  Directory Listing
Modified Thu Oct 15 13:37:30 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
BUG: add copy constructor and remove dll export

Revision 10647  Directory Listing
Modified Wed Oct 14 21:12:46 2009 UTC (7 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding procedural color nodes for PET CT fusion

Revision 10642  Directory Listing
Modified Wed Oct 14 17:33:00 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
COMP: QtSlicer: Fix compilation errors with Visual Studio

Revision 10641  Directory Listing
Modified Wed Oct 14 17:29:22 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
ENH: QtSlicer add more widget in the plugin for QDeveloper

Revision 10635  Directory Listing
Modified Tue Oct 13 22:36:11 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
ENH: stripped down slice pipeline test and data

Revision 10631  Directory Listing
Modified Tue Oct 13 21:01:45 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
ENH: QtSlicer: Add plugins for QDesigner.

Revision 10630  Directory Listing
Modified Tue Oct 13 19:49:23 2009 UTC (7 years, 11 months ago) by naucoin
Original Path: trunk/Libs
BUG: remove the temp write dir after moving files from it, since call UpdateFileList with move being 1 so it's not deleting it

Revision 10627  Directory Listing
Modified Sat Oct 10 15:21:14 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
ENH: QtSlicer - Add module factory and module manager classes allowing to instanciate and manage modules either from qSlicerApplication or vtkSlicerApplication. Add qSlicerKwUIWrapper widget that will encapsulates the KwWidget-Qt UI integration

Revision 10623  Directory Listing
Modified Fri Oct 9 18:09:11 2009 UTC (7 years, 11 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: 646 added svn version to MRML scene files. Check version on load against current slicer version and give a warning

Revision 10622  Directory Listing
Modified Fri Oct 9 17:51:13 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
BUG: SlicerQt - Fix more library dependent problems

Revision 10616  Directory Listing
Modified Fri Oct 9 14:33:41 2009 UTC (7 years, 11 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: fixed fiber tracts loosing color when seeding from no tracts region and then going back to tracts present 

Revision 10615  Directory Listing
Modified Fri Oct 9 13:16:20 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
BUG: Libs/QMRMLWidgets/CMakeLists was missing a target library. The library export macro in Libs/QCTKWidgets/qCTKAbstractObjectFactory.h was incorrect

Revision 10614  Directory Listing
Modified Thu Oct 8 22:44:26 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
BUG: Fix QMRMLWidgets library wind32 header.

Revision 10612  Directory Listing
Modified Thu Oct 8 22:14:01 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
ENH: The directory BASE/GUI/Qt is now excluded from the build process. For now, the code is left there for reference purposes. Note: Doing so removed most of the detected memory leaks.

Revision 10609  Directory Listing
Modified Thu Oct 8 20:50:37 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
BUG: Fix QCTKWidgets library wind32 header.

Revision 10606  Directory Listing
Modified Thu Oct 8 20:12:02 2009 UTC (7 years, 11 months ago) by finetjul
Original Path: trunk/Libs
ENH: QtSlicer: fix crash when running Slicer with Qt, QApplication needs to be initialized with an argc that is valid its whole lifetime. Make sure the module is opened at the right time and at the correct position (above the kwwidget module). Remove the module window title and window bar.

Revision 10582  Directory Listing
Modified Wed Oct 7 12:17:53 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
STYLE: remove debugging print options

Revision 10581  Directory Listing
Modified Wed Oct 7 11:47:33 2009 UTC (7 years, 11 months ago) by jcfr
Original Path: trunk/Libs
ENH: Initial commit of the QtSlicer port. Added subdirs Base/GUI2, Libs/QCTKWidgets and Libs/QMRMLWidgets. Updated Application/GUI/Slicer3 and Base/GUI/vtkSlicerApplication to be able to initialize and start QtModule. CMakeLists.txt also updated to consider the script CMake/Slicer3FindQT.cmake

Revision 10567  Directory Listing
Modified Fri Oct 2 15:11:24 2009 UTC (7 years, 11 months ago) by lorensen
Original Path: trunk/Libs
BUG: label map filters expect integers.

Revision 10563  Directory Listing
Modified Thu Oct 1 22:02:48 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
BUG: fix to support byu reading

Revision 10559  Directory Listing
Modified Thu Oct 1 19:53:16 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
ENH: add .byu as the file extension for BYU format model files

Revision 10558  Directory Listing
Modified Thu Oct 1 19:41:18 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
BUG: fixes for windows version of curses connecting to slicer extension webserver

Revision 10557  Directory Listing
Modified Thu Oct 1 19:37:13 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
STYLE: extra documentation of intent

Revision 10547  Directory Listing
Modified Tue Sep 29 22:54:42 2009 UTC (7 years, 11 months ago) by pieper
Original Path: trunk/Libs
ENH: use maps to index the observation structures in order to significantly improve access time (e.g. for CloseScene with large numbers of nodes)

Revision 10514  Directory Listing
Modified Tue Sep 22 14:09:35 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
BUG: revert to pre-optimized version of event broker to avoid crash-on-exit due to corrupted index hash_maps

Revision 10506  Directory Listing
Modified Sun Sep 20 22:43:48 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
COMP: fix type warning

Revision 10504  Directory Listing
Modified Sun Sep 20 21:14:01 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
ENH: speed up scene shutdown and other operations by keeping hash tables in EventBroker.  Also ENH: new NodeAdded methods on vtkMRMLScene to allow external code (like Loader.tcl) to bulk-add node with only a single notify when going through helper routines like AddFiberBundle

Revision 10497  Directory Listing
Modified Fri Sep 18 16:00:48 2009 UTC (8 years ago) by naucoin
Original Path: trunk/Libs
STYLE: print out a slightly more user friendly error message when file reading fails

Revision 10494  Directory Listing
Modified Thu Sep 17 21:34:39 2009 UTC (8 years ago) by fedorov
Original Path: trunk/Libs
BUG: make sure indent is never 0 or negative

Revision 10490  Directory Listing
Modified Thu Sep 17 20:40:01 2009 UTC (8 years ago) by naucoin
Original Path: trunk/Libs
BUG: fixing memory leak

Revision 10456  Directory Listing
Modified Thu Sep 10 20:36:32 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
BUG: don't try to call dlerror on windows and include proper header on mac

Revision 10445  Directory Listing
Modified Thu Sep 10 18:18:35 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
ENH: extra status information for module detection

Revision 10443  Directory Listing
Modified Thu Sep 10 18:11:33 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
COMP: apply patches from Attila Nagy for Solaris builds

Revision 10431  Directory Listing
Modified Wed Sep 9 18:03:54 2009 UTC (8 years ago) by fedorov
Original Path: trunk/Libs
BUG: change to STATIC breaks Slicer build (on Linux, at least)

Revision 10428  Directory Listing
Modified Tue Sep 8 23:26:19 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
ENH: sample single volume mrml file

Revision 10426  Directory Listing
Modified Tue Sep 8 20:52:14 2009 UTC (8 years ago) by hjohnson
Original Path: trunk/Libs
COMP: With the conversion to CMake version 2.6, the variables CMAKE_RUNTIME_OUTPUT_DIRECTORY CMAKE_LIBRARY_OUTPUT_DIRECTORY CMAKE_ARCHIVE_OUTPUT_DIRECTORY should be used instead of EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH.

Revision 10402  Directory Listing
Modified Mon Aug 31 19:26:44 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
STYLE: this error was being triggered even when trying to read in a linear transfrorm - I don't think that's called for...

Revision 10379  Directory Listing
Modified Thu Aug 27 21:45:54 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
ENH: expose teem option to shift negative eigenvalues per request from Mahnaz and Jim.  Off by default per discussion with Casey

Revision 10374  Directory Listing
Modified Thu Aug 27 18:19:25 2009 UTC (8 years ago) by pieper
Original Path: trunk/Libs
ENH: include an IsClosed flag on the scene so other code can tell if it is correct to respond to events and add nodes

Revision 10362  Directory Listing
Modified Wed Aug 26 18:05:36 2009 UTC (8 years ago) by naucoin
Original Path: trunk/Libs
ENH: set the node's description

Revision 10361  Directory Listing
Modified Wed Aug 26 17:58:48 2009 UTC (8 years ago) by naucoin
Original Path: trunk/Libs
ENH: save window and level presets on a display node

Revision 10360  Directory Listing
Modified Wed Aug 26 17:48:28 2009 UTC (8 years ago) by naucoin
Original Path: trunk/Libs
BUG: print out ErrorCode, URL and RootDirectory when call PrintSelf

Revision 10335  Directory Listing
Modified Sun Aug 23 17:46:11 2009 UTC (8 years, 1 month ago) by millerjv
Original Path: trunk/Libs
ENH: crosshairs without navigation

Revision 10331  Directory Listing
Modified Fri Aug 21 22:53:45 2009 UTC (8 years, 1 month ago) by naucoin
Original Path: trunk/Libs
BUG: set reasonable table ranges, used to display scalar bar widget

Revision 10328  Directory Listing
Modified Fri Aug 21 22:47:59 2009 UTC (8 years, 1 month ago) by naucoin
Original Path: trunk/Libs
BUG: fix the generation of names from colours when the colours can go over a range below zero

Revision 10318  Directory Listing
Modified Thu Aug 20 19:55:42 2009 UTC (8 years, 1 month ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: changed default write file extension from .nhdr to .nrrd at Ron's request

Revision 10309  Directory Listing
Modified Wed Aug 19 17:49:26 2009 UTC (8 years, 1 month ago) by naucoin
Original Path: trunk/Libs
BUG: return the table range, set the Heat high threshold

Revision 10302  Directory Listing
Modified Tue Aug 18 22:40:07 2009 UTC (8 years, 1 month ago) by naucoin
Original Path: trunk/Libs
BUG: return the range, todo: figure out why this doesn't display properly in vtkScalarBarActor

Revision 10272  Directory Listing
Modified Mon Aug 17 14:31:06 2009 UTC (8 years, 1 month ago) by maddah
Original Path: trunk/Libs
BUG: models as fiber bundles do not need to have tensor data associating with them to be loaded in Slicer. 

Revision 10268  Directory Listing
Modified Sun Aug 16 17:46:59 2009 UTC (8 years, 1 month ago) by domibel
Original Path: trunk/Libs
ENH: Adding missing #include directive (needed for gcc-4.4)

Revision 10267  Directory Listing
Modified Sun Aug 16 16:14:50 2009 UTC (8 years, 1 month ago) by domibel
Original Path: trunk/Libs
ENH: Version numbering for shared libraries

Revision 10239  Directory Listing
Modified Thu Aug 13 14:28:46 2009 UTC (8 years, 1 month ago) by naucoin
Original Path: trunk/Libs
COMP: 5.2 to 5.4 deprecated methods

Revision 10234  Directory Listing
Modified Wed Aug 12 23:07:25 2009 UTC (8 years, 1 month ago) by naucoin
Original Path: trunk/Libs
BUG: was missing check for 0 vertices, which can happen if the file is empty

Revision 10233  Directory Listing
Modified Wed Aug 12 21:45:14 2009 UTC (8 years, 1 month ago) by naucoin
Original Path: trunk/Libs
ENH: adding reverse alpha blend as per feature request in bug tracker #539

Revision 10230  Directory Listing
Modified Wed Aug 12 20:42:49 2009 UTC (8 years, 1 month ago) by naucoin
Original Path: trunk/Libs
STYLE: give the table name in the error message

Revision 10186  Directory Listing
Modified Fri Aug 7 18:48:16 2009 UTC (8 years, 1 month ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: changing return value of write callback to be 0 instead of -1 to match return type unsigned in

Revision 10134  Directory Listing
Modified Fri Jul 31 20:34:12 2009 UTC (8 years, 1 month ago) by alexy
Original Path: trunk/Libs
ENH: new architecture for Volume rendering module

Revision 10093  Directory Listing
Modified Wed Jul 29 14:41:40 2009 UTC (8 years, 1 month ago) by millerjv
Original Path: trunk/Libs
ENH: using resampling to get the second image into the coordinate frame of the first. This gets us progress, abort, and the linear fastpath through the resampling

Revision 10090  Directory Listing
Modified Wed Jul 29 13:06:00 2009 UTC (8 years, 1 month ago) by alexy
Original Path: trunk/Libs
ENH: new architecture for Volume rendering module

Revision 10060  Directory Listing
Modified Tue Jul 28 15:07:37 2009 UTC (8 years, 1 month ago) by millerjv
Original Path: trunk/Libs
BUG: Tensors data array needs to have a name

Revision 10046  Directory Listing
Modified Mon Jul 27 17:54:27 2009 UTC (8 years, 1 month ago) by maddah
Original Path: trunk/Libs
ENH: added the option to color fibers based on their cluster ID

Revision 10044  Directory Listing
Modified Mon Jul 27 17:47:29 2009 UTC (8 years, 1 month ago) by maddah
Original Path: trunk/Libs
ENH: added the option to color fibers based on their cluster ID

Revision 10043  Directory Listing
Modified Mon Jul 27 17:32:17 2009 UTC (8 years, 1 month ago) by maddah
Original Path: trunk/Libs
ENH: added the option to color fibers based on their cluster ID

Revision 10030  Directory Listing
Modified Sat Jul 25 13:25:00 2009 UTC (8 years, 2 months ago) by hjohnson
Original Path: trunk/Libs
COMP:  Made function static to avoid duplicate symbol linker errors.

Revision 10018  Directory Listing
Modified Fri Jul 24 15:54:07 2009 UTC (8 years, 2 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: 603
Disable rendering during scene loading
fixed crash when rendering while loading scene.

Revision 10010  Directory Listing
Modified Thu Jul 23 18:07:49 2009 UTC (8 years, 2 months ago) by naucoin
Original Path: trunk/Libs
BUG: #604 check the class vars to make sure that they hold the known file formats

Revision 9948  Directory Listing
Modified Wed Jul 15 18:14:05 2009 UTC (8 years, 2 months ago) by pieper
Original Path: trunk/Libs
ENH: compress some events that could cause extra processing

Revision 9936  Directory Listing
Modified Wed Jul 15 14:46:55 2009 UTC (8 years, 2 months ago) by pieper
Original Path: trunk/Libs
BUG: follow on fix to bugs 591 and 611.  When the AddArchetypeVolume tries to read a vtkMRMLVectorVolume we need to let it go through (but 591) but I believe the current code will also work for but 611, where a tensor volume should not be allowd to read into a scalar volume node

Revision 9841  Directory Listing
Modified Thu Jul 2 20:10:26 2009 UTC (8 years, 2 months ago) by pieper
Original Path: trunk/Libs
COMP: workaround for method name that matches windows macro

Revision 9825  Directory Listing
Modified Tue Jun 30 13:01:59 2009 UTC (8 years, 2 months ago) by millerjv
Original Path: trunk/Libs
ENH: Pass diffusion weighted, diffusion tensor, and general vector images through memory to shared object command line modules instead of files. \nNOTE: RAS to LPS conversions are performed on the measurement frames which should be correct for DW and DT data.  However, general vector images are probably not handled properly here (or elsewhere in Slicer) where an RAS to LPS conversion should modify components of each vector (flip the sign on x and y components.

Revision 9824  Directory Listing
Modified Tue Jun 30 12:42:42 2009 UTC (8 years, 2 months ago) by millerjv
Original Path: trunk/Libs
BUG: cleanup libraries

Revision 9800  Directory Listing
Modified Thu Jun 25 21:56:57 2009 UTC (8 years, 2 months ago) by naucoin
Original Path: trunk/Libs
ENH: take out the spl brain atlas hard coded colour node, use the file. Take out the FreeSurfer surface lables colour node. Add descriptions to a lot of the nodes

Revision 9798  Directory Listing
Modified Thu Jun 25 21:49:59 2009 UTC (8 years, 2 months ago) by naucoin
Original Path: trunk/Libs
BUG: don't use the surface labels FS color node any more

Revision 9788  Directory Listing
Modified Wed Jun 24 21:41:14 2009 UTC (8 years, 3 months ago) by millerjv
Original Path: trunk/Libs
BUG: bounds test was backwards

Revision 9715  Directory Listing
Modified Wed Jun 17 13:37:10 2009 UTC (8 years, 3 months ago) by pieper
Original Path: trunk/Libs
STYLE: fix spelling errors identified by Dominique as part of the debian checkin process

Revision 9696  Directory Listing
Modified Mon Jun 15 14:18:49 2009 UTC (8 years, 3 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: commenting out the load/save progress feedback events being used by GUI to report progress; CLI modules using mrml to write data are causing these events to be invoked outside of the main thread and this is crashing GUI. Need to figure out how to invoke these events only from the main thread, or build another mechanism to provide feedback during loading and ssaving of large datasets...

Revision 9684  Directory Listing
Modified Fri Jun 12 00:41:35 2009 UTC (8 years, 3 months ago) by fedorov
Original Path: trunk/Libs
ENH: PrintSelf filled

Revision 9673  Directory Listing
Modified Wed Jun 10 20:49:16 2009 UTC (8 years, 3 months ago) by pieper
Original Path: trunk/Libs
BUG: remove incorrect license info

Revision 9658  Directory Listing
Modified Mon Jun 8 18:23:53 2009 UTC (8 years, 3 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding progress feedback in the status bar for load and save of data, addressing Ron's bug report 597 on Mantis

Revision 9575  Directory Listing
Modified Thu May 21 09:16:16 2009 UTC (8 years, 4 months ago) by lantiga
Original Path: trunk/Libs
BUG: fix typo noticed by Jim Miller

Revision 9565  Directory Listing
Modified Tue May 19 22:21:29 2009 UTC (8 years, 4 months ago) by naucoin
Original Path: trunk/Libs
STYLE: removing old license information

Revision 9559  Directory Listing
Modified Tue May 19 20:30:15 2009 UTC (8 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: support writing .vtk and .vtp files and reading them back into FS model nodes

Revision 9518  Directory Listing
Modified Sun May 17 20:52:38 2009 UTC (8 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: remove unneeded file per suggestion from Dominique Belhachemi

Revision 9503  Directory Listing
Modified Fri May 15 17:06:37 2009 UTC (8 years, 4 months ago) by aylward
Original Path: trunk/Libs
BUG: Must check for null pointer


Revision 9397  Directory Listing
Modified Sun May 3 16:24:35 2009 UTC (8 years, 4 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: create missing filenames in snapshot's storage nodes

Revision 9368  Directory Listing
Modified Thu Apr 30 17:22:32 2009 UTC (8 years, 4 months ago) by pieper
Original Path: trunk/Libs
COMP: fix compile warnings

Revision 9364  Directory Listing
Modified Thu Apr 30 14:26:44 2009 UTC (8 years, 4 months ago) by pieper
Original Path: trunk/Libs
STYLE: remove debugging statements

Revision 9362  Directory Listing
Modified Thu Apr 30 05:32:11 2009 UTC (8 years, 4 months ago) by nicky
Original Path: trunk/Libs
ENH:better support in finding CUDA on compile level.

Revision 9361  Directory Listing
Modified Thu Apr 30 05:20:38 2009 UTC (8 years, 4 months ago) by nicky
Original Path: trunk/Libs
ENH:Let CUDA_SUPPORT_ENABLED flag be set to ON automatically if CUDA is 
found in the system. 

Revision 9357  Directory Listing
Modified Wed Apr 29 20:59:51 2009 UTC (8 years, 4 months ago) by pieper
Original Path: trunk/Libs
COMP: merge warning fixes from 3.4 release branch to trunk

Revision 9345  Directory Listing
Modified Tue Apr 28 18:26:41 2009 UTC (8 years, 4 months ago) by naucoin
Original Path: trunk/Libs
ENH: add some utility methods to get/set the numbering scheme as a string. Cleaned up print out

Revision 9332  Directory Listing
Modified Mon Apr 27 20:06:47 2009 UTC (8 years, 4 months ago) by fedorov
Original Path: trunk/Libs
ENH: enabled parsing of "hidden" attribute for boolean type in CLI

Revision 9304  Directory Listing
Modified Thu Apr 23 23:08:02 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: fix out of date license files

Revision 9290  Directory Listing
Modified Thu Apr 23 16:51:57 2009 UTC (8 years, 5 months ago) by alexy
Original Path: trunk/Libs
ENH: read absolute path in Storage and Snapshots nodes and write relative path

Revision 9271  Directory Listing
Modified Tue Apr 21 19:36:23 2009 UTC (8 years, 5 months ago) by naucoin
Original Path: trunk/Libs
ENH: move the renaming and renumbering methods onto the fiducial list node, make a dialogue in the GUI to grab a number to start the renumbering from. Added setting the label text from the id, with optional numberingschmes. TODO: expose those in the GUI

Revision 9254  Directory Listing
Modified Fri Apr 17 12:32:36 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
COMP: check for cuda option before including the subdirectory

Revision 9253  Directory Listing
Modified Fri Apr 17 09:18:56 2009 UTC (8 years, 5 months ago) by nicky
Original Path: trunk/Libs
ENH:uncomment CudaSupport

Revision 9208  Directory Listing
Modified Wed Apr 15 13:27:26 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: remove assumption that MRMLScene pointer will be non-NULL when using the storage node for file loading

Revision 9200  Directory Listing
Modified Tue Apr 14 19:50:41 2009 UTC (8 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: make sure compare the input file as a relative path to relative paths in the storage node, as otherwise can get duplicates

Revision 9197  Directory Listing
Modified Tue Apr 14 18:50:32 2009 UTC (8 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: include the archetype in the file list as if it's passed to the reader, it needs it

Revision 9194  Directory Listing
Modified Tue Apr 14 18:14:55 2009 UTC (8 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: setting ambient, diffuse, specular, power needs to throw a display modified event. Added in range checking there and in set opacity as well

Revision 9192  Directory Listing
Modified Tue Apr 14 16:14:20 2009 UTC (8 years, 5 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: fixing list expose/hide behavior in display panel. changed some balloon help to clarify current functionality. changed calls on node to prevent extra modified events from being triggered. discussed with nicole future modifications.

Revision 9190  Directory Listing
Modified Tue Apr 14 15:54:56 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: free scene reference

Revision 9179  Directory Listing
Modified Mon Apr 13 22:27:19 2009 UTC (8 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: was losing the fiducial point ids when copying them in the move up/down the list, losing the linking with the point widgets

Revision 9168  Directory Listing
Modified Mon Apr 13 18:08:57 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: fix bug 453: show the scalar operation value rather than the tensor value at each pixel on mouse over .  Also show operation abbreviation

Revision 9160  Directory Listing
Modified Sat Apr 11 16:58:58 2009 UTC (8 years, 5 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: 519 prevent scalar volume reader from reading non-scalar volumes.

Revision 9158  Directory Listing
Modified Fri Apr 10 21:52:54 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: don't pass down the list of extra files when the file type is a multi-part format (like .hdr/img) to avoid having ITK think these form part of a series like a 4D volume

Revision 9142  Directory Listing
Modified Fri Apr 10 18:05:37 2009 UTC (8 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: deal with empty fiducial labels

Revision 9138  Directory Listing
Modified Fri Apr 10 17:40:49 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: uninitialized instance variable caused incorrect scene load behavior

Revision 9137  Directory Listing
Modified Fri Apr 10 17:37:44 2009 UTC (8 years, 5 months ago) by millerjv
Original Path: trunk/Libs
BUG: #448 and perhaps #440. Mac OS X defaults to RTLD_GLOBAL when using dlopen.  This causes all functions and variables within plugins to be accessible to main program as well as other plugins without having to use dlsym.  Many of the Slicer plugins have functions with the same name, e.g. DoIt().  If loaded with RTLD_GLOBAL, the wrong DoIt() method can be called.  There is no way to override this behavior through kwsys. So we hardcode the Mac OS X case to use dlopen directly instead of itksys::OpenLibrary().

Revision 9134  Directory Listing
Modified Fri Apr 10 15:24:33 2009 UTC (8 years, 5 months ago) by naucoin
Original Path: trunk/Libs
COMP: removing unused vars

Revision 9129  Directory Listing
Modified Fri Apr 10 13:21:40 2009 UTC (8 years, 5 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED 418  Update references for valid scene, clear for invalid.

Revision 9123  Directory Listing
Modified Thu Apr 9 20:32:05 2009 UTC (8 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: don't need to mark the list as modified since read by default

Revision 9111  Directory Listing
Modified Thu Apr 9 12:35:48 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: extra debugging options for the mrml scene

Revision 9104  Directory Listing
Modified Wed Apr 8 18:51:11 2009 UTC (8 years, 5 months ago) by yumin
Original Path: trunk/Libs
BUG: #526 "Analyze shouldn't be the default Save As format for volumes". Replaced with NRRD as default. Also, the fix allows you easily to change the orders of file formats displayed in the file-format-dropdown on the savedatawidget by arranging the file-format entries in "FileFormatTable of vtkDataFileFormatHelper.cxx".

Revision 9098  Directory Listing
Modified Tue Apr 7 19:11:59 2009 UTC (8 years, 5 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: make snapshots restore the nodes that are not in the scene including data

Revision 9075  Directory Listing
Modified Mon Apr 6 16:25:16 2009 UTC (8 years, 5 months ago) by naucoin
Original Path: trunk/Libs
BUG: copy widget visible and use label outline flags so that they can be used properly in scene snapshots

Revision 9043  Directory Listing
Modified Sat Apr 4 21:40:20 2009 UTC (8 years, 5 months ago) by finetjul
Original Path: trunk/Libs
ENH: Add a new virtual method that returns the arguments values as string.

Revision 9042  Directory Listing
Modified Sat Apr 4 21:36:49 2009 UTC (8 years, 5 months ago) by finetjul
Original Path: trunk/Libs
ENH: move the try{} statement to expose TCLAP::CommandLine and the TCLAP::Args for a dynamic access to the module command line argument.

Revision 9034  Directory Listing
Modified Fri Apr 3 17:17:28 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: fix capitlization issue in header filename (worked on windows, but not on unix)

Revision 9032  Directory Listing
Modified Fri Apr 3 11:35:43 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: remove unwanted DICOMParser from IO Factory and fix error macro bug trying to print null pointer

Revision 9012  Directory Listing
Modified Tue Mar 31 17:44:53 2009 UTC (8 years, 5 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: made fiducial seeding pay attention to integration step parameter

Revision 9011  Directory Listing
Modified Tue Mar 31 17:40:15 2009 UTC (8 years, 5 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: 151 fixed Undo/Redo and added it back into UI.
The problem was in Refrenceing nodes getting out of sync with scene nodes.

Revision 9005  Directory Listing
Modified Mon Mar 30 15:18:03 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
ENH: add progress methods for time consuming island operations

Revision 9003  Directory Listing
Modified Sun Mar 29 16:36:07 2009 UTC (8 years, 5 months ago) by pieper
Original Path: trunk/Libs
BUG: fix typo in xml generate that led to bottom panels popping up during restores of scene snapshots

Revision 8986  Directory Listing
Modified Fri Mar 27 14:42:56 2009 UTC (8 years, 5 months ago) by alexy
Original Path: trunk/Libs
ENH: made default glyph spacing 5, performance improvements

Revision 8976  Directory Listing
Modified Wed Mar 25 23:01:37 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
ENH: new ITK implementation of island operations to replace old code

Revision 8964  Directory Listing
Modified Tue Mar 24 20:04:11 2009 UTC (8 years, 6 months ago) by alexy
Original Path: trunk/Libs
ENH: added StartModify/EndModify to MRML nodes Copy and ReadXML methods

Revision 8963  Directory Listing
Modified Tue Mar 24 19:12:48 2009 UTC (8 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: turn off modified events when loading from a file, as it speeds things up a lot

Revision 8943  Directory Listing
Modified Mon Mar 23 16:38:19 2009 UTC (8 years, 6 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: fixed fiber display 

Revision 8937  Directory Listing
Modified Mon Mar 23 12:07:20 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid overwriting matrix argument (thanks Luca and Daniel\!)

Revision 8930  Directory Listing
Modified Sat Mar 21 07:03:57 2009 UTC (8 years, 6 months ago) by demian
Original Path: trunk/Libs
PERF: now fibers are not forced to be rendered when they are not visible.

Revision 8929  Directory Listing
Modified Sat Mar 21 07:00:54 2009 UTC (8 years, 6 months ago) by demian
Original Path: trunk/Libs
ENH:environment variables now are passed from the Tk environment to python

Revision 8927  Directory Listing
Modified Fri Mar 20 17:28:51 2009 UTC (8 years, 6 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: handle reading double tensors

Revision 8897  Directory Listing
Modified Tue Mar 17 19:17:34 2009 UTC (8 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: back to the old style of writing node info in xml to work around a bug in scene snap shots

Revision 8893  Directory Listing
Modified Mon Mar 16 19:51:32 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
COMP: remove unused variable to avoid warning

Revision 8892  Directory Listing
Modified Mon Mar 16 19:50:28 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
BUG: be sure to hold registered pointer to observation when running either a script or a command callback and then only release it after the log file has been written

Revision 8875  Directory Listing
Modified Fri Mar 13 17:24:30 2009 UTC (8 years, 6 months ago) by alexy
Original Path: trunk/Libs
ENH: performance optimization for FiducalSeeding

Revision 8871  Directory Listing
Modified Thu Mar 12 00:06:33 2009 UTC (8 years, 6 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: fixed ID's in the scene snapshot

Revision 8870  Directory Listing
Modified Wed Mar 11 23:07:41 2009 UTC (8 years, 6 months ago) by alexy
Original Path: trunk/Libs
ENH: avoid crash on NULL id in scene snapshots

Revision 8866  Directory Listing
Modified Wed Mar 11 18:38:07 2009 UTC (8 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: modified logic for getting filename and extension from the URI. Logic used to look for first '.' in the uri to determine starting point for file extension and version number. now it looks for last instance of '.' in the uri to find these things. Works better for files with name such as DiffusionEditor_1._BaselineNode.nrrd

Revision 8857  Directory Listing
Modified Mon Mar 9 15:40:39 2009 UTC (8 years, 6 months ago) by hliu
Original Path: trunk/Libs
BUG: fixed memory leaks.

Revision 8854  Directory Listing
Modified Mon Mar 9 02:14:59 2009 UTC (8 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding sister method CopyData to mimic what WriteData does for FreeSurfer datasets that have no writers. This just copies the FreeSurfer data from its orig on-disk location to cache path, to set up for remote upload.

Revision 8853  Directory Listing
Modified Mon Mar 9 02:13:03 2009 UTC (8 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding method to set a SlicerDataType for remoteIO on any storable node. We may move this out of here, but for now it seems a reasonable place.

Revision 8852  Directory Listing
Modified Mon Mar 9 02:11:38 2009 UTC (8 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding a new event on the scene for signalling new metadata added

Revision 8847  Directory Listing
Modified Fri Mar 6 19:59:00 2009 UTC (8 years, 6 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: 467
Update glyphs in 3D view while moving slice when the slice is not visible.

Revision 8843  Directory Listing
Modified Thu Mar 5 20:31:46 2009 UTC (8 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: use a subdir of the destination dir for temporary writing, to avoid cross mount point rename failure

Revision 8842  Directory Listing
Modified Thu Mar 5 20:30:02 2009 UTC (8 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: unprotect the reset nth filename/uri so that relative file paths can be updated. Make FileName a special case of GetFullNameFromNthFileName, deal with the scene being null, and the scene root dir being ./

Revision 8841  Directory Listing
Modified Thu Mar 5 20:12:18 2009 UTC (8 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: preserve the old state of the disable modified event var

Revision 8825  Directory Listing
Modified Tue Mar 3 21:06:47 2009 UTC (8 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: fixing the filename when no version number is appended

Revision 8823  Directory Listing
Modified Tue Mar 3 18:57:55 2009 UTC (8 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: trimming trailing version characters off of a filename extracted from an XND URI. This was leading to a crash in vtkMRMLVolumeArchetypeStorageNode's ReadData method.

Revision 8813  Directory Listing
Modified Mon Mar 2 16:31:09 2009 UTC (8 years, 6 months ago) by millerjv
Original Path: trunk/Libs
ENH: allow <image> parameters to be hidden

Revision 8810  Directory Listing
Modified Mon Mar 2 14:28:33 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
COMP: avoid warnings when building python (avoid mismatch betweent the way Python defines _LARGEFILE_SOURCE compared to the way kwsys defines it

Revision 8803  Directory Listing
Modified Mon Mar 2 02:29:50 2009 UTC (8 years, 6 months ago) by millerjv
Original Path: trunk/Libs
ENH: Added an "Index" to Modules to facilitate module list order within a category (menu).  Modules within a category are now sorted by index and then by name. Builtin modules can override the method GetIndex() to prescribe a position. Command line modules can use the <index> tag to indicate an order.  Modules with an index are always displayed before modules without an index (default index is the maximum value of a short, i.e. the last position).



Revision 8795  Directory Listing
Modified Sun Mar 1 18:50:25 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
STYLE: change methods from Parameterset to ParameterSet

Revision 8790  Directory Listing
Modified Sun Mar 1 18:43:53 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
COMP: remove warning from unused var

Revision 8788  Directory Listing
Modified Sun Mar 1 02:55:50 2009 UTC (8 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: added new event

Revision 8783  Directory Listing
Modified Sat Feb 28 20:49:13 2009 UTC (8 years, 6 months ago) by tgl
Original Path: trunk/Libs
ENH handle the condition when no GUI is to be defined

Revision 8782  Directory Listing
Modified Sat Feb 28 19:44:47 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
BUG: set default Root directory for scene files in the current home dir

Revision 8780  Directory Listing
Modified Fri Feb 27 22:28:47 2009 UTC (8 years, 6 months ago) by millerjv
Original Path: trunk/Libs
BUG: Crosshair is now click-to-drag. You can drag the center or the horizontal or vertical lines in the basic crosshair

Revision 8779  Directory Listing
Modified Fri Feb 27 22:28:36 2009 UTC (8 years, 6 months ago) by tgl
Original Path: trunk/Libs
ENH delete commented code

Revision 8773  Directory Listing
Modified Fri Feb 27 20:52:46 2009 UTC (8 years, 6 months ago) by hliu
Original Path: trunk/Libs
BUG: fixed memory leaks.

Revision 8772  Directory Listing
Modified Fri Feb 27 19:58:56 2009 UTC (8 years, 6 months ago) by hliu
Original Path: trunk/Libs
BUG: fixed memory leaks.

Revision 8771  Directory Listing
Modified Fri Feb 27 19:58:39 2009 UTC (8 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: avoid writing twice, use rename which will succeed if the temp files are on the same device as the final destination. Use available GetFullNameFromNthFileName

Revision 8770  Directory Listing
Modified Fri Feb 27 19:38:17 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
COMP: allow GUIless loadable modules

Revision 8764  Directory Listing
Modified Thu Feb 26 23:13:36 2009 UTC (8 years, 6 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: taking out the call to UpdateFileList in ReadData method to improve data loading time. This change will temporarily break fetchmi uploads, for which I'm workign on a fix.

Revision 8760  Directory Listing
Modified Thu Feb 26 22:31:58 2009 UTC (8 years, 6 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid crash when loading vector volume nodes and support window/level calculations

Revision 8754  Directory Listing
Modified Thu Feb 26 19:57:23 2009 UTC (8 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: setting Indent to 1 in the fid list node was causing lots of extra spaces to appear in the mrml file when there are multiple fid nodes. Also: restore previous state of disable modified events when turn it off for copy

Revision 8750  Directory Listing
Modified Thu Feb 26 18:57:30 2009 UTC (8 years, 6 months ago) by naucoin
Original Path: trunk/Libs
BUG: taking out extra spaces at end of selectable and selected in mrml files

Revision 8748  Directory Listing
Modified Thu Feb 26 14:19:55 2009 UTC (8 years, 6 months ago) by hliu
Original Path: trunk/Libs
BUG: freed allocated memory in RequestData().

Revision 8745  Directory Listing
Modified Wed Feb 25 17:46:45 2009 UTC (8 years, 6 months ago) by naucoin
Original Path: trunk/Libs
COMP: init var

Revision 8721  Directory Listing
Modified Fri Feb 20 23:05:48 2009 UTC (8 years, 7 months ago) by pieper
Original Path: trunk/Libs
BUG: mark class as abstract so it doesn't get instantiated by mistake

Revision 8718  Directory Listing
Modified Fri Feb 20 20:27:21 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: deal with relative file paths in the file list

Revision 8708  Directory Listing
Modified Thu Feb 19 21:47:11 2009 UTC (8 years, 7 months ago) by pieper
Original Path: trunk/Libs
BUG: fix method naming error from refactoring - the empty superclass method was being called which meant glyphs were not being rotated

Revision 8686  Directory Listing
Modified Wed Feb 18 16:24:27 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
STYLE: warning to debug macros

Revision 8685  Directory Listing
Modified Wed Feb 18 16:20:19 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: added testing for null pointers

Revision 8665  Directory Listing
Modified Mon Feb 16 21:24:19 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: added a copy method and initialized state.

Revision 8664  Directory Listing
Modified Mon Feb 16 21:22:53 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: added some error checking for null pointers

Revision 8663  Directory Listing
Modified Mon Feb 16 21:21:33 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: moved HostName and Get/Set methods into this superclass (from derived classes)

Revision 8662  Directory Listing
Modified Mon Feb 16 21:20:46 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: added method to compute a DataTransfer's size on disk, useful during debugging

Revision 8661  Directory Listing
Modified Mon Feb 16 21:19:23 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: Adding method for updating the FileNameList and calls on methods to reset the URIList so RemoteIO works properly -- should still test this.

Revision 8660  Directory Listing
Modified Mon Feb 16 21:17:57 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: removed a warning message that is not necessary

Revision 8658  Directory Listing
Modified Mon Feb 16 21:14:44 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: breaking apart tags required by XNAT Desktop and the tag required by Slicer

Revision 8657  Directory Listing
Modified Mon Feb 16 21:13:48 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: moving HostName and Get/Set on it to the superclass

Revision 8655  Directory Listing
Modified Mon Feb 16 21:12:09 2009 UTC (8 years, 7 months ago) by alexy
Original Path: trunk/Libs
ENH: added help and about pages. Fixed loading man made MRML scene with partial volume information

Revision 8636  Directory Listing
Modified Fri Feb 13 22:30:31 2009 UTC (8 years, 7 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: removed error event due to performance issue

Revision 8629  Directory Listing
Modified Thu Feb 12 17:01:28 2009 UTC (8 years, 7 months ago) by pieper
Original Path: trunk/Libs
BUG: fix psychodelia colors when window/leveling a vector(color) volume

Revision 8625  Directory Listing
Modified Wed Feb 11 22:48:16 2009 UTC (8 years, 7 months ago) by pieper
Original Path: trunk/Libs
BUG: first pass of python and numpy builds from source (fixes but that they weren't building before).  Still turned off by default until more testing is done

Revision 8618  Directory Listing
Modified Wed Feb 11 00:05:17 2009 UTC (8 years, 7 months ago) by fedorov
Original Path: trunk/Libs
BUG: fixed MRML scene IO

Revision 8598  Directory Listing
Modified Sun Feb 8 17:48:27 2009 UTC (8 years, 7 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: fixed the case when observation is removed inside the Invoke method

Revision 8590  Directory Listing
Modified Fri Feb 6 18:48:05 2009 UTC (8 years, 7 months ago) by alexy
Original Path: trunk/Libs
ENH: performance optimization for volume display

Revision 8570  Directory Listing
Modified Thu Feb 5 18:34:22 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: get the right lengths substring for the selectedColors case

Revision 8565  Directory Listing
Modified Thu Feb 5 17:13:01 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: fix the memory leak

Revision 8553  Directory Listing
Modified Wed Feb 4 23:02:51 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: added null pointer checking on uri handlers

Revision 8546  Directory Listing
Modified Wed Feb 4 22:39:25 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: added new methods to XNDHandler

Revision 8545  Directory Listing
Modified Wed Feb 4 22:37:28 2009 UTC (8 years, 7 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: null pointer checking

Revision 8541  Directory Listing
Modified Wed Feb 4 22:21:21 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: reverting an erroneous commit

Revision 8540  Directory Listing
Modified Wed Feb 4 22:19:18 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: reverting an erroneous commit

Revision 8539  Directory Listing
Modified Wed Feb 4 22:10:28 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: make sure to mark the fiducial list node as modified since read when make changes. Also: don't write out the fiducials to xml any more, the info is stored in the storage node file now. Keep parsing the xml in to be backward compatible with old mrml files

Revision 8526  Directory Listing
Modified Wed Feb 4 00:05:05 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: write out and parse more settings from the list. Use the column headers

Revision 8524  Directory Listing
Modified Tue Feb 3 23:53:31 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: allow moving fids one up or down in the list. TODO: figure out leak/seg fault if delete a fid

Revision 8519  Directory Listing
Modified Tue Feb 3 23:25:30 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: allow editing user or file colour table nodes

Revision 8518  Directory Listing
Modified Tue Feb 3 23:25:04 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
STYLE: better error message

Revision 8517  Directory Listing
Modified Tue Feb 3 23:24:37 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
BUG: try to use a color transfer function if there's no look up table in the color node

Revision 8516  Directory Listing
Modified Tue Feb 3 23:23:16 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: define a basic set of names for the points defined in the transfer function

Revision 8515  Directory Listing
Modified Tue Feb 3 23:22:26 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: adding a new color node that uses a color transfer function, for displaying volumes scanned in using delayed Gadolinium Enhanced Magnetic Resonance Imaging of Cartilage

Revision 8514  Directory Listing
Modified Tue Feb 3 22:02:37 2009 UTC (8 years, 7 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid warnings by not calling update on pipelines that aren't configured

Revision 8512  Directory Listing
Modified Tue Feb 3 19:42:04 2009 UTC (8 years, 7 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid updating pipeline that doesn't have inputs set

Revision 8510  Directory Listing
Modified Tue Feb 3 19:14:12 2009 UTC (8 years, 7 months ago) by alexy
Original Path: trunk/Libs
ENH: volume rendering mrml nodes

Revision 8488  Directory Listing
Modified Fri Jan 30 16:14:57 2009 UTC (8 years, 7 months ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: 373, fixed references reading in TensorImageNode attributes

Revision 8484  Directory Listing
Modified Wed Jan 28 19:44:55 2009 UTC (8 years, 7 months ago) by naucoin
Original Path: trunk/Libs
ENH: check if modified events are disabled before throwing display modified events

Revision 8478  Directory Listing
Modified Tue Jan 27 20:14:29 2009 UTC (8 years, 7 months ago) by pieper
Original Path: trunk/Libs
BUG: revert incorrect pipeline (caused image corruption in dti display)

Revision 8465  Directory Listing
Modified Sun Jan 25 18:20:57 2009 UTC (8 years, 7 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed copy with no modify events

Revision 8464  Directory Listing
Modified Sat Jan 24 18:27:04 2009 UTC (8 years, 7 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed vector images display

Revision 8459  Directory Listing
Modified Fri Jan 23 23:06:23 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: observers should not be removed - other code is relying on getting things like DeleteEvents from them

Revision 8456  Directory Listing
Modified Fri Jan 23 21:37:56 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: use EventBroker to remove observations (don't remove observers from underneath EventBroker or complications arise).  ENH: add profiling/timing information to EventBroker infrastructure

Revision 8454  Directory Listing
Modified Fri Jan 23 21:23:21 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: assign tensor attributes to avoid filter error message

Revision 8451  Directory Listing
Modified Fri Jan 23 21:14:54 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
STYLE: some text in an empty file

Revision 8447  Directory Listing
Modified Thu Jan 22 22:23:30 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
ENH: additional test cases

Revision 8446  Directory Listing
Modified Thu Jan 22 22:22:34 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
STYLE: avoid compiler warning

Revision 8445  Directory Listing
Modified Thu Jan 22 22:20:55 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
STYLE: remove old unrelated comment

Revision 8432  Directory Listing
Modified Tue Jan 20 23:27:01 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
ENH: Add secondary volume selection to selection node

Revision 8419  Directory Listing
Modified Tue Jan 20 22:30:16 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
ENH: vector volume display improvements and typo fixes

Revision 8417  Directory Listing
Modified Tue Jan 20 21:30:19 2009 UTC (8 years, 8 months ago) by alexy
Original Path: trunk/Libs
ENH: added VolumeProperty Storage and Parameters nodes

Revision 8404  Directory Listing
Modified Sun Jan 18 22:42:41 2009 UTC (8 years, 8 months ago) by alexy
Original Path: trunk/Libs
ENH: added VolumeProperty nodes

Revision 8397  Directory Listing
Modified Thu Jan 15 23:02:11 2009 UTC (8 years, 8 months ago) by naucoin
Original Path: trunk/Libs
BUG: use the system tools to split and join paths so can deal with a relative path when the scene root does not end in a slash. Update the transform storage node to use the supercalls call GetFullNameFromFileName

Revision 8385  Directory Listing
Modified Wed Jan 14 18:04:09 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
ENH: support for slice intersection property on display node

Revision 8375  Directory Listing
Modified Wed Jan 14 00:23:28 2009 UTC (8 years, 8 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed visibility in modelHierarchy widget

Revision 8362  Directory Listing
Modified Mon Jan 12 20:48:08 2009 UTC (8 years, 8 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid calling update on a class with empty input

Revision 8361  Directory Listing
Modified Mon Jan 12 20:09:28 2009 UTC (8 years, 8 months ago) by fedorov
Original Path: trunk/Libs
ENH: (BUG?) Augmented SliceCompositeNode with DoPropagateVolumeSelection
flag to control re-setting of the background/label in
vtkSlicerApplicationLogic::PropagateVolumeSelection. Volume reset is not
necessary in some cases, like in CompareView layout.


Revision 8353  Directory Listing
Modified Sun Jan 11 17:13:13 2009 UTC (8 years, 8 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed transform storage node extension 

Revision 8352  Directory Listing
Modified Sun Jan 11 13:53:41 2009 UTC (8 years, 8 months ago) by lorensen
Original Path: trunk/Libs
COMP: warnings unused variables.

Revision 8315  Directory Listing
Modified Thu Jan 8 06:21:55 2009 UTC (8 years, 8 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed snapshot getting out of sync with scene ID's 

Revision 8288  Directory Listing
Modified Wed Jan 7 11:00:37 2009 UTC (8 years, 8 months ago) by aylward
Original Path: trunk/Libs
BUG: If deleting the EventBroker which is pointed to by vtkEventBroker::Instance, then set that pointer to NULL.


Revision 8284  Directory Listing
Modified Tue Jan 6 21:07:23 2009 UTC (8 years, 8 months ago) by naucoin
Original Path: trunk/Libs
ENH: expose the registered node classes as a first step toward introspection on storage node file extensions

Revision 8283  Directory Listing
Modified Tue Jan 6 21:05:02 2009 UTC (8 years, 8 months ago) by naucoin
Original Path: trunk/Libs
COMP: remove unused vars

Revision 8282  Directory Listing
Modified Tue Jan 6 20:36:43 2009 UTC (8 years, 8 months ago) by naucoin
Original Path: trunk/Libs
ENH: add a fiducial list storage node (comma separated value file for now, more parsing to come) and allow the Load and Save Data widgets to use it. Had to update the fiducial list node to be storable.

Revision 8230  Directory Listing
Modified Wed Dec 31 16:07:24 2008 UTC (8 years, 8 months ago) by aylward
Original Path: trunk/Libs
BUG: Assignment of NAME=NULL in derived class causes memory loss


Revision 8217  Directory Listing
Modified Tue Dec 30 15:04:57 2008 UTC (8 years, 8 months ago) by lorensen
Original Path: trunk/Libs
COMP: warnings.

Revision 8208  Directory Listing
Modified Mon Dec 29 19:07:35 2008 UTC (8 years, 8 months ago) by lorensen
Original Path: trunk/Libs
COMP: warning, unused variable if NDEBUG defined.

Revision 8206  Directory Listing
Modified Mon Dec 29 16:19:41 2008 UTC (8 years, 8 months ago) by lorensen
Original Path: trunk/Libs
COMP: warnings of various sorts.

Revision 8201  Directory Listing
Modified Sun Dec 28 18:47:28 2008 UTC (8 years, 8 months ago) by lorensen
Original Path: trunk/Libs
COMP: warnings, mainly about possible use of variables that have not been assigned values.

Revision 8192  Directory Listing
Modified Sat Dec 27 16:34:01 2008 UTC (8 years, 8 months ago) by lorensen
Original Path: trunk/Libs
COMP: many warnings removed. STYLE: mainly indentation.

Revision 8177  Directory Listing
Modified Tue Dec 23 04:09:29 2008 UTC (8 years, 9 months ago) by barre
Original Path: trunk/Libs
ENH: moving view/camera changes to a branch.

* 7927 (barre): remove
* 7928 (barre): remove
* 7993 (barre): remove
* 8061 (barre): remove
* 8071 (barre): remove
* 8075 (barre): remove
* 8081 (barre): remove
* 8082 (barre): remove
* 8119 (barre): remove
* 8160 (barre): remove
* 8161 (barre): remove
* 8168 (barre): remove

 Applications/GUI/Slicer3.cxx                       |   13 +-
 Base/GUI/vtkSlicerApplication.cxx                  |   16 +-
 Base/GUI/vtkSlicerApplicationGUI.cxx               |  855 +++++++-------------
 Base/GUI/vtkSlicerApplicationGUI.h                 |   96 +--
 Base/GUI/vtkSlicerCamerasGUI.cxx                   |  290 +++-----
 Base/GUI/vtkSlicerCamerasGUI.h                     |   44 +-
 Base/GUI/vtkSlicerFiducialListWidget.cxx           |   60 +--
 Base/GUI/vtkSlicerFiducialListWidget.h             |    4 -
 Base/GUI/vtkSlicerNodeSelectorWidget.cxx           |   10 +-
 Base/GUI/vtkSlicerNodeSelectorWidget.h             |    3 +-
 Base/GUI/vtkSlicerROIDisplayWidget.cxx             |    1 +
 Base/GUI/vtkSlicerROIDisplayWidget.h               |    1 +
 Base/GUI/vtkSlicerROIViewerWidget.cxx              |   15 +-
 Base/GUI/vtkSlicerViewControlGUI.cxx               |  364 ++++-----
 Base/GUI/vtkSlicerViewerWidget.cxx                 |  230 ++----
 Base/GUI/vtkSlicerViewerWidget.h                   |   16 +-
 Libs/MRML/vtkMRMLCameraNode.cxx                    |   90 +--
 Libs/MRML/vtkMRMLCameraNode.h                      |   37 +-
 Libs/MRML/vtkMRMLLayoutNode.cxx                    |    7 +-
 Libs/MRML/vtkMRMLScene.cxx                         |   21 +-
 Libs/MRML/vtkMRMLScene.h                           |    1 -
 Libs/MRML/vtkMRMLSceneSnapshotNode.cxx             |    2 -
 Libs/MRML/vtkMRMLViewNode.cxx                      |   33 +-
 Libs/MRML/vtkMRMLViewNode.h                        |   12 +-
 .../ChangeTracker/Wizard/vtkChangeTrackerStep.cxx  |    6 +-
 Modules/QdecModule/vtkQdecModuleGUI.cxx            |   13 +-
 .../VolumeRendering/vtkSlicerVRGrayscaleHelper.cxx |  225 ++----
 Modules/VolumeRendering/vtkSlicerVRHelper.cxx      |   15 +-
 Modules/VolumeRendering/vtkVolumeRenderingGUI.cxx  |   12 +-
 29 files changed, 818 insertions(+), 1674 deletions(-)

Revision 8176  Directory Listing
Modified Tue Dec 23 04:08:50 2008 UTC (8 years, 9 months ago) by barre
Original Path: trunk/Libs
ENH: moving view/camera changes to a branch.

* 7927 (barre): remove
* 7928 (barre): remove
* 7993 (barre): remove
* 8061 (barre): remove
* 8071 (barre): remove
* 8075 (barre): remove
* 8081 (barre): remove
* 8082 (barre): remove
* 8119 (barre): remove
* 8160 (barre): remove
* 8161 (barre): remove
* 8168 (barre): remove

 Applications/GUI/Slicer3.cxx                       |   13 +-
 Base/GUI/vtkSlicerApplication.cxx                  |   16 +-
 Base/GUI/vtkSlicerApplicationGUI.cxx               |  855 +++++++-------------
 Base/GUI/vtkSlicerApplicationGUI.h                 |   96 +--
 Base/GUI/vtkSlicerCamerasGUI.cxx                   |  290 +++-----
 Base/GUI/vtkSlicerCamerasGUI.h                     |   44 +-
 Base/GUI/vtkSlicerFiducialListWidget.cxx           |   60 +--
 Base/GUI/vtkSlicerFiducialListWidget.h             |    4 -
 Base/GUI/vtkSlicerNodeSelectorWidget.cxx           |   10 +-
 Base/GUI/vtkSlicerNodeSelectorWidget.h             |    3 +-
 Base/GUI/vtkSlicerROIDisplayWidget.cxx             |    1 +
 Base/GUI/vtkSlicerROIDisplayWidget.h               |    1 +
 Base/GUI/vtkSlicerROIViewerWidget.cxx              |   15 +-
 Base/GUI/vtkSlicerViewControlGUI.cxx               |  364 ++++-----
 Base/GUI/vtkSlicerViewerWidget.cxx                 |  230 ++----
 Base/GUI/vtkSlicerViewerWidget.h                   |   16 +-
 Libs/MRML/vtkMRMLCameraNode.cxx                    |   90 +--
 Libs/MRML/vtkMRMLCameraNode.h                      |   37 +-
 Libs/MRML/vtkMRMLLayoutNode.cxx                    |    7 +-
 Libs/MRML/vtkMRMLScene.cxx                         |   21 +-
 Libs/MRML/vtkMRMLScene.h                           |    1 -
 Libs/MRML/vtkMRMLSceneSnapshotNode.cxx             |    2 -
 Libs/MRML/vtkMRMLViewNode.cxx                      |   33 +-
 Libs/MRML/vtkMRMLViewNode.h                        |   12 +-
 .../ChangeTracker/Wizard/vtkChangeTrackerStep.cxx  |    6 +-
 Modules/QdecModule/vtkQdecModuleGUI.cxx            |   13 +-
 .../VolumeRendering/vtkSlicerVRGrayscaleHelper.cxx |  225 ++----
 Modules/VolumeRendering/vtkSlicerVRHelper.cxx      |   15 +-
 Modules/VolumeRendering/vtkVolumeRenderingGUI.cxx  |   12 +-
 29 files changed, 818 insertions(+), 1674 deletions(-)

Revision 8168  Directory Listing
Modified Wed Dec 17 19:29:12 2008 UTC (8 years, 9 months ago) by barre
Original Path: trunk/Libs
ENH: more fixes to multiple cam/views

Revision 8159  Directory Listing
Modified Tue Dec 16 20:37:58 2008 UTC (8 years, 9 months ago) by barre
Original Path: trunk/Libs
ENH: sometimes that pointer is NULL when trying to load corrupted modules

Revision 8144  Directory Listing
Modified Sun Dec 14 15:48:05 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: ROI transformations, changed ROI API to use doubles

Revision 8132  Directory Listing
Modified Thu Dec 11 17:01:09 2008 UTC (8 years, 9 months ago) by naucoin
Original Path: trunk/Libs
ENH: update the 3d fiducial symbols (sphere and diamond) so that they have a diameter of 1mm, and change the default symbol size in the list node so the display is about the same

Revision 8095  Directory Listing
Modified Tue Dec 9 22:20:34 2008 UTC (8 years, 9 months ago) by naucoin
Original Path: trunk/Libs
ENH: take out the set macro for the Locked attribute, and replace it with a method that will throw a display modified event so that the manipulator seed widget can be en/disabled

Revision 8086  Directory Listing
Modified Tue Dec 9 03:27:52 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
BUG_FIXED remove observers before removing nodes from scen

Revision 8082  Directory Listing
Modified Mon Dec 8 21:35:58 2008 UTC (8 years, 9 months ago) by barre
Original Path: trunk/Libs
ENH: fix some issues when closing the scene. The layout was not brought back correctly, the nodes were not deleted correctly (why is NodeRemovedEvent not called when the scene is closed?)

Revision 8075  Directory Listing
Modified Mon Dec 8 10:01:17 2008 UTC (8 years, 9 months ago) by barre
Original Path: trunk/Libs
ENH: second stab at custom views

Revision 8068  Directory Listing
Modified Sat Dec 6 10:43:24 2008 UTC (8 years, 9 months ago) by millerjv
Original Path: trunk/Libs
ENH: Revamped the unpacking of layouts.  For every layout there is now a Unpack*View() method to match the Pack*View() method.  This makes it straightforward to add layouts and control layouts because the Unpack*View() is responsible for undoing whatever the Pack*View() method did.
BUG: side effect of the above change is that it fixed the bug where starting in 4up view and switching to conventional view did not show the slice views
ENH: cleaned up the API a bit
ENH: simplified the code creating the default slice viewers



Revision 8062  Directory Listing
Modified Fri Dec 5 21:32:46 2008 UTC (8 years, 9 months ago) by pieper
Original Path: trunk/Libs
ENH: add slice intersection visibility option

Revision 8043  Directory Listing
Modified Wed Dec 3 18:48:05 2008 UTC (8 years, 9 months ago) by pieper
Original Path: trunk/Libs
BUG: add spaces for correctly formed XML

Revision 8041  Directory Listing
Modified Wed Dec 3 18:38:54 2008 UTC (8 years, 9 months ago) by millerjv
Original Path: trunk/Libs
BUG: invoke the SceneCloseEvent AFTER the singletons have been reset. The singletons are reset without sending ModifiedEvents. So watching for the SceneCloseEvent is needed to have the GUI reflect the state of the singletons.

Revision 8040  Directory Listing
Modified Wed Dec 3 18:36:57 2008 UTC (8 years, 9 months ago) by millerjv
Original Path: trunk/Libs
ENH: initial settings
BUG: restore 

Revision 8032  Directory Listing
Modified Tue Dec 2 23:03:04 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed copy in fiducial list

Revision 8030  Directory Listing
Modified Tue Dec 2 20:14:51 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: added ROI viewer, modified ROI MRML and widgets

Revision 8019  Directory Listing
Modified Mon Dec 1 22:39:21 2008 UTC (8 years, 9 months ago) by pieper
Original Path: trunk/Libs
BUG: include image spacing in the distance transform calculation

Revision 8012  Directory Listing
Modified Mon Dec 1 19:27:06 2008 UTC (8 years, 9 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid warnings by checking inputs before calling Update

Revision 8007  Directory Listing
Modified Sun Nov 30 22:55:28 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: added ROI viewer widget, reworked ROI module and GUI

Revision 8006  Directory Listing
Modified Sun Nov 30 19:41:11 2008 UTC (8 years, 9 months ago) by lorensen
Original Path: trunk/Libs
BUG: In ::Copy, the wrong type was specified for SetTransformNodeID. The VS 7 compiler detected the problem since there was an attempt top access protected member data from vtkMRMLTransformeNode.

Revision 7998  Directory Listing
Modified Fri Nov 28 16:18:53 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed copy in fiducial list

Revision 7997  Directory Listing
Modified Thu Nov 27 20:44:17 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: optimized copy in fiducial list

Revision 7996  Directory Listing
Modified Thu Nov 27 18:03:01 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: optimized copy in fiducial list

Revision 7995  Directory Listing
Modified Thu Nov 27 17:26:30 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: added new functionality to tractography seeding, fixed snapshot node storing internal nodes in the scene.

Revision 7973  Directory Listing
Modified Tue Nov 25 17:52:58 2008 UTC (8 years, 9 months ago) by alexy
Original Path: trunk/Libs
ENH: added vtkSlicerROIDisplayWidget

Revision 7963  Directory Listing
Modified Mon Nov 24 15:30:03 2008 UTC (8 years, 10 months ago) by naucoin
Original Path: trunk/Libs
BUG: check return from write

Revision 7961  Directory Listing
Modified Sun Nov 23 19:01:51 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: various warnings.

Revision 7960  Directory Listing
Modified Sat Nov 22 23:26:41 2008 UTC (8 years, 10 months ago) by alexy
Original Path: trunk/Libs
ENH: added vtkSlicerROIDisplayWidget

Revision 7958  Directory Listing
Modified Sat Nov 22 19:06:12 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: delete tmp test files.

Revision 7957  Directory Listing
Modified Sat Nov 22 19:04:40 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: test svn keywords.

Revision 7956  Directory Listing
Modified Sat Nov 22 18:59:00 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: just a test.

Revision 7955  Directory Listing
Modified Sat Nov 22 18:56:48 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: just a test.

Revision 7954  Directory Listing
Modified Sat Nov 22 18:55:45 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: just a test.

Revision 7953  Directory Listing
Modified Sat Nov 22 18:54:11 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: just a test.

Revision 7952  Directory Listing
Modified Sat Nov 22 18:50:46 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: just a test.

Revision 7951  Directory Listing
Modified Sat Nov 22 16:52:58 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: various warnings.

Revision 7944  Directory Listing
Modified Fri Nov 21 17:20:13 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: various warnings.

Revision 7939  Directory Listing
Modified Fri Nov 21 04:26:27 2008 UTC (8 years, 10 months ago) by tgl
Original Path: trunk/Libs
ENH added support for using an XML-like input file

Revision 7938  Directory Listing
Modified Fri Nov 21 04:25:24 2008 UTC (8 years, 10 months ago) by tgl
Original Path: trunk/Libs
ENH add and implment ParseXmlDescripton to handle the loadable module XML-like description files

Revision 7928  Directory Listing
Modified Thu Nov 20 23:38:02 2008 UTC (8 years, 10 months ago) by barre
Original Path: trunk/Libs
ENH: first stab at multiple cameras. Check the camera module in the list of module to create new camera and assign them to the current view (this should probably be moved to a more accessible place/icon in the "Manipulate 3D view" tab); explicit camera parameters should be added too (say numerical position, focal point, angle), but again, not sure where. New views can be created, but won't show in the UI until I understand the undocumented code that is vtkSlicerViewerWidget and vtkSlicerApplicationGUI...

Revision 7925  Directory Listing
Modified Thu Nov 20 23:30:32 2008 UTC (8 years, 10 months ago) by barre
Original Path: trunk/Libs
COMP: you guys should try 64bits...

Revision 7924  Directory Listing
Modified Thu Nov 20 23:29:39 2008 UTC (8 years, 10 months ago) by barre
Original Path: trunk/Libs
COMP: you guys should try 64bits...

Revision 7918  Directory Listing
Modified Wed Nov 19 21:18:54 2008 UTC (8 years, 10 months ago) by pieper
Original Path: trunk/Libs
STYLE: add additional documentation about collapsing modified events

Revision 7913  Directory Listing
Modified Wed Nov 19 15:18:52 2008 UTC (8 years, 10 months ago) by pieper
Original Path: trunk/Libs
COMP: handle long long types on linux 64 (apparently old design pattern did not work?)

Revision 7903  Directory Listing
Modified Tue Nov 18 23:03:23 2008 UTC (8 years, 10 months ago) by pieper
Original Path: trunk/Libs
ENH: update distance transform to get rid of vtkITKImageToImageFilterUSF and use simpler vtkSimpleImageFilter code

Revision 7902  Directory Listing
Modified Tue Nov 18 19:49:53 2008 UTC (8 years, 10 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed misc bugs in mrml

Revision 7901  Directory Listing
Modified Tue Nov 18 19:28:45 2008 UTC (8 years, 10 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed misc bugs in mrml

Revision 7893  Directory Listing
Modified Mon Nov 17 19:58:23 2008 UTC (8 years, 10 months ago) by pieper
Original Path: trunk/Libs
BUG: disable sorting dicom images by trigger time, since this does not match the volume definition for some MR files (additional tools will probably be needed).

Revision 7887  Directory Listing
Modified Fri Nov 14 20:43:25 2008 UTC (8 years, 10 months ago) by naucoin
Original Path: trunk/Libs
STYLE: even though the New methods are commented out, make sure they have static_cast rather than C style casts. The new macros seem to work with changes to the superclass

Revision 7886  Directory Listing
Modified Fri Nov 14 20:43:21 2008 UTC (8 years, 10 months ago) by naucoin
Original Path: trunk/Libs
BUGFIX: trying to fix casting crashes when getting URI handler subclasses, make the superclass use a new macro instead of returning NULL

Revision 7857  Directory Listing
Modified Thu Nov 13 02:39:53 2008 UTC (8 years, 10 months ago) by millerjv
Original Path: trunk/Libs
ENH: JumpSlice now jumps so the RAS position is put on the active slice.

Revision 7852  Directory Listing
Modified Wed Nov 12 20:09:09 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: warnings.

Revision 7850  Directory Listing
Modified Wed Nov 12 18:38:45 2008 UTC (8 years, 10 months ago) by alexy
Original Path: trunk/Libs
ENH:fixed compile warning

Revision 7846  Directory Listing
Modified Wed Nov 12 14:05:40 2008 UTC (8 years, 10 months ago) by millerjv
Original Path: trunk/Libs
ENH: SliceCompositeNode now maintains whether the tracked cursor should or should not jump the slices. SliceNode now maintains whether the jumping is done by centering of slice offset.

Revision 7844  Directory Listing
Modified Wed Nov 12 03:01:07 2008 UTC (8 years, 10 months ago) by millerjv
Original Path: trunk/Libs
BUG: broke the SHIFT-mouse-move jump slice on previous checkin. This checkin should be considered a temporary fix.  I'd like the JumpMode to be used for both tracked cursors and SHIFT-mouse-move. Perhaps two modes are needed.  One for jump/no jump. One for how to jump.

Revision 7843  Directory Listing
Modified Wed Nov 12 02:45:55 2008 UTC (8 years, 10 months ago) by millerjv
Original Path: trunk/Libs
ENH: New JumpSlice mode. JumpSlice can either jump to an RAS position such that position is centered in the FOV or JumpSlice can jump to an RAS position by just adjusting the slice offset. This required moving the CrosshairBehavior from the SliceCompositeNode to the JumpMode of the SliceNode.

Revision 7834  Directory Listing
Modified Tue Nov 11 15:35:30 2008 UTC (8 years, 10 months ago) by millerjv
Original Path: trunk/Libs
ENH: First implementation of tracked cursor. Not supported in Lightbox yet. Should hide the system cursor. Ticked cursor still missing ticks. Might want a second "Jump" mode to not center the image on the cursor. Might recolor the cursors (each cursor could have two colors of red/green/yellow)
BUG: Menu logic kept Jump mode from being activated.

Revision 7831  Directory Listing
Modified Mon Nov 10 21:44:27 2008 UTC (8 years, 10 months ago) by lorensen
Original Path: trunk/Libs
COMP: warnings.

Revision 7828  Directory Listing
Modified Mon Nov 10 16:43:07 2008 UTC (8 years, 10 months ago) by millerjv
Original Path: trunk/Libs
ENH: Added an ActiveSlice to designate which image in a Lightbox is shown in the 3D scene
ENH: ActiveSlice is outlined in the SliceViewer
ENH: ActiveSlice is the slice put in the 3D scene (needed to adjust the slice model position and which slice is extracted to put on the model as a texture)
ENH: "s" key in SliceViewer sets the ActiveSlice
ENH: Removed unncessary ivars (items are managed in lists or implictly by pipeline)
ENH: In CompareView, "s" puts the ActiveSlice in the red viewer background, "S" puts the ActiveSlice in the red viewer foreground

Revision 7823  Directory Listing
Modified Mon Nov 10 15:26:53 2008 UTC (8 years, 10 months ago) by naucoin
Original Path: trunk/Libs
BUG: removed duplicate source file

Revision 7811  Directory Listing
Modified Fri Nov 7 20:05:21 2008 UTC (8 years, 10 months ago) by alexy
Original Path: trunk/Libs
ENH: keep snapshot name, unique name start adding 1 second time

Revision 7808  Directory Listing
Modified Fri Nov 7 18:22:41 2008 UTC (8 years, 10 months ago) by millerjv
Original Path: trunk/Libs
ENH: Keep track of the panel visibility and panel sizes in the MRMLLayoutNode
ENH: Callbacks on panel resizing 
ENH: Modify node instead of GUI for layout (unless already processing a MRML event)
BUG: Panels are not resized to default settings on SceneSnapshot.
BUG: Don't modify panel size when only need to change panel visibility

Revision 7807  Directory Listing
Modified Fri Nov 7 16:22:12 2008 UTC (8 years, 10 months ago) by pieper
Original Path: trunk/Libs
ENH: new approach to wand filter

Revision 7799  Directory Listing
Modified Wed Nov 5 23:39:51 2008 UTC (8 years, 10 months ago) by pieper
Original Path: trunk/Libs
COMP: change from TEEM to Teem for compatibility with current svn trunk of teem

Revision 7798  Directory Listing
Modified Wed Nov 5 19:25:28 2008 UTC (8 years, 10 months ago) by alexy
Original Path: trunk/Libs
ENH: added TransformLogic and Load frame in Transform Module

Revision 7782  Directory Listing
Modified Mon Nov 3 19:44:49 2008 UTC (8 years, 10 months ago) by millerjv
Original Path: trunk/Libs
ENH: Extend SlicesGUI to view settings for Slice nodes.
ENH: Slice nodes need to notify when added to the scene to get the node selector to UpdateGUI
ENH: Preparing for prescribing slice spacing for LightBox and CompareViews
ENH: ImageCast added when using non-alpha blending modes (checked in because file was modified for an above change as well).

Revision 7779  Directory Listing
Modified Mon Nov 3 01:29:59 2008 UTC (8 years, 10 months ago) by alexy
Original Path: trunk/Libs
ENH: reworked generic Storage/Storable nodes to be used with File->Save widget.

Revision 7762  Directory Listing
Modified Wed Oct 29 14:16:04 2008 UTC (8 years, 10 months ago) by pieper
Original Path: trunk/Libs
ENH: avoid calling InvokeEvent directly - this cannot be disabled when used in a different thread.  Also clean up dead code.

Revision 7736  Directory Listing
Modified Fri Oct 24 19:04:09 2008 UTC (8 years, 11 months ago) by millerjv
Original Path: trunk/Libs
ENH: Assume all transformations in Slicer are modeling transformations and all linear transformations in ITK transform files are resampling transforms.  Linear transforms are inverted when going to and coming from ITK transform files.  No support for nonlinear transformations yet. Assumption that transforms in ITK transform files are modeling transforms is flawed.  This is a stop-gap until a complete coordinate frame manager can be devised.
ENH: Allow output transforms of CLI modules to modify the scene graph (move datasets to be under transformations)
BUG: removed unnecessary call to Delete() on an object managed by a SmartPointer

Revision 7735  Directory Listing
Modified Fri Oct 24 18:56:55 2008 UTC (8 years, 11 months ago) by millerjv
Original Path: trunk/Libs
BUG: crash in PrintSelf

Revision 7733  Directory Listing
Modified Fri Oct 24 11:16:05 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: removed commented out testing stuff and marked deprecated method so we know what to whack in a final cleanup of this code

Revision 7732  Directory Listing
Modified Fri Oct 24 01:23:36 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: fixed the upload to XND. still not great in terms of interface/usability, but logic nominally works.

Revision 7730  Directory Listing
Modified Fri Oct 24 00:21:14 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: working on XNDHandler...

Revision 7729  Directory Listing
Modified Fri Oct 24 00:20:07 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: HTTPhandler's StageFileWrite was ignoring destination.

Revision 7727  Directory Listing
Modified Thu Oct 23 20:13:16 2008 UTC (8 years, 11 months ago) by pieper
Original Path: trunk/Libs
ENH: add Edited event to the mrml scene and observe it in the tree widget

Revision 7715  Directory Listing
Modified Fri Oct 17 23:10:58 2008 UTC (8 years, 11 months ago) by naucoin
Original Path: trunk/Libs
BUG: curl was protesting in StageFileWrite about the url, so try the buffer route - untested

Revision 7714  Directory Listing
Modified Fri Oct 17 23:02:37 2008 UTC (8 years, 11 months ago) by naucoin
Original Path: trunk/Libs
STYLE: added print out of a bit more info if curl failed

Revision 7713  Directory Listing
Modified Fri Oct 17 22:57:43 2008 UTC (8 years, 11 months ago) by naucoin
Original Path: trunk/Libs
ENH: added a check for the file name being in thelist already when call add. Use the already set uri handler instead of getting it from the scene.

Revision 7711  Directory Listing
Modified Fri Oct 17 22:18:50 2008 UTC (8 years, 11 months ago) by naucoin
Original Path: trunk/Libs
BUGFIX: parse the return file from the server when post metadata. TODO: figure out how to deal more gracefully with the utf8 encoding of the file.

Revision 7710  Directory Listing
Modified Fri Oct 17 22:14:25 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding event that can be used to pop up the RemoteDataManagerWindow

Revision 7709  Directory Listing
Modified Fri Oct 17 22:13:47 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding persistent user tags to the scene

Revision 7706  Directory Listing
Modified Fri Oct 17 17:55:42 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: tracking down metadata post problems

Revision 7704  Directory Listing
Modified Thu Oct 16 23:50:00 2008 UTC (8 years, 11 months ago) by naucoin
Original Path: trunk/Libs
ENH: pass the file name for which we're posting meta data, fixed the post, started parsing the return file.

Revision 7696  Directory Listing
Modified Wed Oct 15 21:20:50 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding uri to PostMetadata method signature

Revision 7694  Directory Listing
Modified Wed Oct 15 21:02:10 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: debugging metadata writing and uploads...

Revision 7690  Directory Listing
Modified Wed Oct 15 15:19:31 2008 UTC (8 years, 11 months ago) by naucoin
Original Path: trunk/Libs
BUG: add in bounds checking before accessing the array

Revision 7687  Directory Listing
Modified Wed Oct 15 14:38:52 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: fixed string compare

Revision 7686  Directory Listing
Modified Wed Oct 15 13:39:49 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: using std consistently instead of mixing with vtksys_stl; adding HID query; some case-insensitive string compares; changing HID server name to new server.

Revision 7682  Directory Listing
Modified Tue Oct 14 19:49:07 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: fixing HIDTagTable default tags

Revision 7681  Directory Listing
Modified Tue Oct 14 19:48:28 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: fixing data tagging logic, mrml and gui

Revision 7674  Directory Listing
Modified Mon Oct 13 22:19:53 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding user tag infrastructure to scene and storable nodes

Revision 7669  Directory Listing
Modified Sun Oct 12 18:27:24 2008 UTC (8 years, 11 months ago) by pieper
Original Path: trunk/Libs
ENH: add GetInput method for completeness

Revision 7668  Directory Listing
Modified Sun Oct 12 17:39:46 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: setting char pointers to null in constructor

Revision 7663  Directory Listing
Modified Sat Oct 11 03:59:39 2008 UTC (8 years, 11 months ago) by tgl
Original Path: trunk/Libs
ENH Removing obsolete file.

Revision 7656  Directory Listing
Modified Fri Oct 10 21:42:38 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
BUG: fixed StageFileWrite/Read method signatures and added SetHostName method

Revision 7651  Directory Listing
Modified Fri Oct 10 18:37:57 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding methods to return xml declaration and namespace info

Revision 7642  Directory Listing
Modified Fri Oct 10 14:45:38 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: updating tag table in storable nodes

Revision 7641  Directory Listing
Modified Fri Oct 10 14:44:02 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: Adding table classes to contain att/val pairs from parsing xml

Revision 7640  Directory Listing
Modified Fri Oct 10 14:41:24 2008 UTC (8 years, 11 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: Adding classes to transact with XNAT Desktop and BIRN HID webservices

Revision 7639  Directory Listing
Modified Thu Oct 9 22:46:28 2008 UTC (8 years, 11 months ago) by pieper
Original Path: trunk/Libs
BUG: wrong output type for the cast for this combination

Revision 7638  Directory Listing
Modified Thu Oct 9 22:15:18 2008 UTC (8 years, 11 months ago) by pieper
Original Path: trunk/Libs
ENH: infrastructure for new distance transform filter

Revision 7636  Directory Listing
Modified Thu Oct 9 19:42:19 2008 UTC (8 years, 11 months ago) by millerjv
Original Path: trunk/Libs
ENH: Added new colormaps in complementary pairs: Red/Cyan, Green/Magenta, Warm1/Cool1, WarmShade1/CoolShade1, WarmTint1/CoolTint1. When layered (FG/BG), these colormaps will produce grey when the values of FG/BG match and a color when they do not not.
ENH: Added new compositing mode for FG/BG.  Can now chose between Alpha blend, Add, Subtract (though Subtract requires a bit more vis work to be useful).

Revision 7632  Directory Listing
Modified Tue Oct 7 18:28:55 2008 UTC (8 years, 11 months ago) by yumin
Original Path: trunk/Libs
BUG: Added some logic in save data widget to handle if the URL is not set yet in the scene; 
BUG: Removed dicom from the supported file format in save data widget since this format will need more specifications, and Slicer has other ways to save out dicom files; 
DOC: Some minor changes for text displayed in the file format dropdown box of certain storage nodes.

Revision 7630  Directory Listing
Modified Mon Oct 6 20:32:22 2008 UTC (8 years, 11 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed glyp on slices display

Revision 7625  Directory Listing
Modified Thu Oct 2 21:36:13 2008 UTC (8 years, 11 months ago) by pieper
Original Path: trunk/Libs
BUG: implement virtual method to tell users of this class that input is null so image pipeline cannot be updated

Revision 7623  Directory Listing
Modified Wed Oct 1 19:50:24 2008 UTC (8 years, 11 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed reading data in the snapshots

Revision 7620  Directory Listing
Modified Sun Sep 28 16:59:47 2008 UTC (8 years, 11 months ago) by alexy
Original Path: trunk/Libs
ENH: removed dependency on DisplayProperty node for DTI volumes

Revision 7619  Directory Listing
Modified Sat Sep 27 19:47:43 2008 UTC (8 years, 11 months ago) by lorensen
Original Path: trunk/Libs
COMP: gcc4.3 warnings.

Revision 7618  Directory Listing
Modified Sat Sep 27 19:47:29 2008 UTC (8 years, 11 months ago) by lorensen
Original Path: trunk/Libs
COMP: gcc4.3 warnings.

Revision 7612  Directory Listing
Modified Sat Sep 27 17:50:17 2008 UTC (8 years, 11 months ago) by lorensen
Original Path: trunk/Libs
BUG: if _flag length is 0, illegal access of _flag[0].

Revision 7610  Directory Listing
Modified Fri Sep 26 19:58:21 2008 UTC (8 years, 11 months ago) by yumin
Original Path: trunk/Libs
ENH: Modified the mrml save dialog with the new design and functionalities. Here is the detail: http://www.slicer.org/slicerWiki/index.php/User:Barre/TODO

Revision 7608  Directory Listing
Modified Fri Sep 26 12:47:16 2008 UTC (8 years, 11 months ago) by pieper
Original Path: trunk/Libs
ENH: add locked attribute to Fiducial lists and Fiducial/Seed SliceWidgets

Revision 7600  Directory Listing
Modified Mon Sep 22 15:31:06 2008 UTC (9 years ago) by pieper
Original Path: trunk/Libs
BUG: implement virtual method to correctly return NULL image data when input to pipeline is NULL

Revision 7598  Directory Listing
Modified Mon Sep 22 15:23:34 2008 UTC (9 years ago) by pieper
Original Path: trunk/Libs
BUG: set all readers and storage nodes to use native origin by default to be consistent with GUI and to work correctly for non-centered data going to command line modules

Revision 7592  Directory Listing
Modified Thu Sep 18 15:47:11 2008 UTC (9 years ago) by yumin
Original Path: trunk/Libs
ENH: Added a helper class to handle ITK image file formats related helper functions. This helper class also contains a temporary table for the itkImageIO supported write file types. Once we have implemented the supported-read/wirte-filetype APIs in itkImageIO classes, the code should be updated to use those APIs, instead of this table.

Revision 7586  Directory Listing
Modified Wed Sep 17 19:15:20 2008 UTC (9 years ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: added methods for getting a known type of URI handler by its name

Revision 7585  Directory Listing
Modified Wed Sep 17 19:14:26 2008 UTC (9 years ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: updates for supporting user tags on storable data as part of informatics infrastructure

Revision 7582  Directory Listing
Modified Tue Sep 16 01:03:20 2008 UTC (9 years ago) by nicky
Original Path: trunk/Libs
BUG:uncomment TESTING in CudaSupport CMakeLists.txt

Revision 7580  Directory Listing
Modified Sun Sep 14 14:33:09 2008 UTC (9 years ago) by demian
Original Path: trunk/Libs
ENH: Removing unnecessary functionality from the vtkMRMLGlyphableVolumeDisplayNode, now allowing Glyphable volumes to be properly loaded from TCL or Python scripts

Revision 7578  Directory Listing
Modified Sat Sep 13 01:35:21 2008 UTC (9 years ago) by nicky
Original Path: trunk/Libs
BUG:include stdlib.h to CudappMemoryBase.h

Revision 7572  Directory Listing
Modified Thu Sep 11 16:55:48 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
ENH: add a selected specular value, to be adjusted later after user feedback

Revision 7571  Directory Listing
Modified Thu Sep 11 14:58:01 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
STYLE: warning to debug, can do w/o warning that can't remove a cache file that's not there

Revision 7567  Directory Listing
Modified Wed Sep 10 21:52:20 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
BUG: was off by one on the string comparisons

Revision 7557  Directory Listing
Modified Tue Sep 9 16:26:53 2008 UTC (9 years ago) by pieper
Original Path: trunk/Libs
COMP: disable cuda - it's not building correctly on all platforms

Revision 7554  Directory Listing
Modified Tue Sep 9 15:49:47 2008 UTC (9 years ago) by nicky
Original Path: trunk/Libs
ENH:added CudaSupport to CMakeLists.txt

Revision 7549  Directory Listing
Modified Tue Sep 9 15:08:25 2008 UTC (9 years ago) by nicky
Original Path: trunk/Libs
ENH:added CudaSupport libs

Revision 7548  Directory Listing
Modified Tue Sep 9 14:42:52 2008 UTC (9 years ago) by pieper
Original Path: trunk/Libs
BUG: add a vtkTriangleFilter to the pipeline when saving an STL model since STL only supports triangles (not triangle strips as created by the model maker

Revision 7544  Directory Listing
Modified Mon Sep 8 18:21:04 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
ENH: use a const char for the file name

Revision 7543  Directory Listing
Modified Mon Sep 8 18:20:22 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
ENH: save the list of files that the vtkITKArchetypeImageSeriesReader keeps in the storage node. Also put in support for a list of URI's. In MRML the files are written out using an index to avoid complaints about duplicate tags.

Revision 7536  Directory Listing
Modified Fri Sep 5 18:51:22 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
BUG: added error checking and returning

Revision 7535  Directory Listing
Modified Fri Sep 5 18:38:52 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
BUG: return 1 if succeed on read, 0 if fail

Revision 7531  Directory Listing
Modified Thu Sep 4 22:22:18 2008 UTC (9 years ago) by lorensen
Original Path: trunk/Libs
COMP: gcc warnings.

Revision 7530  Directory Listing
Modified Thu Sep 4 22:22:06 2008 UTC (9 years ago) by lorensen
Original Path: trunk/Libs
COMP: gcc warnings.

Revision 7524  Directory Listing
Modified Tue Sep 2 19:20:05 2008 UTC (9 years ago) by alexy
Original Path: trunk/Libs
ENH: reverted changes that broke the fiducial seeding

Revision 7513  Directory Listing
Modified Thu Aug 28 18:25:31 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
ENH: add alternate colours for the selected state

Revision 7512  Directory Listing
Modified Thu Aug 28 18:22:22 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
BUG: take out Selected, it's in the base class now

Revision 7511  Directory Listing
Modified Thu Aug 28 18:11:56 2008 UTC (9 years ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: changed warning output to a warning macro instead of error macro

Revision 7508  Directory Listing
Modified Thu Aug 28 17:17:29 2008 UTC (9 years ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: changed vtkMRMLROINode's Selected flag type to match the new change in vtkMRMLNode to get rid of a compile error on win32.

Revision 7507  Directory Listing
Modified Thu Aug 28 15:46:23 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
COMP: reducing compiler warnings

Revision 7506  Directory Listing
Modified Thu Aug 28 15:41:56 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
COMP: reducing compiler warnings

Revision 7505  Directory Listing
Modified Thu Aug 28 15:36:27 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
COMP: reducing compiler warnings

Revision 7504  Directory Listing
Modified Thu Aug 28 15:35:31 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
COMP: reducing compiler warnings

Revision 7502  Directory Listing
Modified Thu Aug 28 14:41:23 2008 UTC (9 years ago) by naucoin
Original Path: trunk/Libs
ENH: add Selected flag to mrml nodes

Revision 7501  Directory Listing
Modified Wed Aug 27 21:03:39 2008 UTC (9 years ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: fixed update in 3D viewer on slice blend change. Fixed removing texture in 3d view on node deletion

Revision 7500  Directory Listing
Modified Wed Aug 27 20:42:21 2008 UTC (9 years ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: added lightbox options to compare viewer setup

Revision 7487  Directory Listing
Modified Tue Aug 26 01:19:18 2008 UTC (9 years ago) by alexy
Original Path: trunk/Libs
ENH: fixed the superclass bug in the volume hierarchy and the ripples

Revision 7481  Directory Listing
Modified Fri Aug 22 17:44:44 2008 UTC (9 years, 1 month ago) by naucoin
Original Path: trunk/Libs
BUGFIX: avoid inf loops by checking for empty string at eol

Revision 7480  Directory Listing
Modified Fri Aug 22 17:20:03 2008 UTC (9 years, 1 month ago) by naucoin
Original Path: trunk/Libs
BUGFIX: deal with spaces in fiducial label strings

Revision 7477  Directory Listing
Modified Thu Aug 21 21:33:32 2008 UTC (9 years, 1 month ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: trim any question marks and trailing chars from a uri

Revision 7476  Directory Listing
Modified Thu Aug 21 20:48:20 2008 UTC (9 years, 1 month ago) by pieper
Original Path: trunk/Libs
ENH: make reset method public and add documentation

Revision 7475  Directory Listing
Modified Thu Aug 21 15:04:29 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
ENH: make a couple of functions public so other class can access FileNames.

Revision 7473  Directory Listing
Modified Thu Aug 21 03:09:37 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
ENH: added new function const char* GetFileName( unsigned int n ).

Revision 7457  Directory Listing
Modified Mon Aug 18 18:22:20 2008 UTC (9 years, 1 month ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: included a null pointer check

Revision 7456  Directory Listing
Modified Mon Aug 18 18:21:53 2008 UTC (9 years, 1 month ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: removed LayoutNode's 'oldLayout' state

Revision 7437  Directory Listing
Modified Thu Aug 14 16:30:07 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
ENH: Is this an ENH!? Content time may not be a good field to separate sub sequences.

Revision 7431  Directory Listing
Modified Thu Aug 14 03:03:37 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
ENH: By default, assemble a volume that containing Archetype.

Revision 7410  Directory Listing
Modified Thu Aug 7 22:48:17 2008 UTC (9 years, 1 month ago) by naucoin
Original Path: trunk/Libs
ENH: cleaned up the slice layer logic to remove unused vars and methods, then added in the label outline filter for the label layer. For now, set a flag in slice logic to tell the slice layer that it's the label layer, expand upon this when generalise the number of layers

Revision 7408  Directory Listing
Modified Thu Aug 7 20:22:51 2008 UTC (9 years, 1 month ago) by pieper
Original Path: trunk/Libs
BUG: avoid crash when testing the header of a non-image data file

Revision 7407  Directory Listing
Modified Thu Aug 7 17:18:21 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
ENH: Added a new function for Archetype Reader so that user can directly add file names (one at a time for vtk wrapping). One user set file names, only these files given by the user will be analyzed.

Revision 7405  Directory Listing
Modified Thu Aug 7 02:55:37 2008 UTC (9 years, 1 month ago) by tgl
Original Path: trunk/Libs
BUG 290: Append a newline to the text file, instead of a \0  The parse loop wont exit unless the last colon (:) has a newline after it somewhere.

Revision 7404  Directory Listing
Modified Wed Aug 6 19:41:40 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
BUG: gdcmIO does not throw an exception even if it can not read a file.

Revision 7403  Directory Listing
Modified Wed Aug 6 19:17:55 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
BUG: gdcmIO does not throw an exception even if it can not read a file.

Revision 7378  Directory Listing
Modified Fri Aug 1 02:09:38 2008 UTC (9 years, 1 month ago) by bess
Original Path: trunk/Libs
ENH: Removed m_AppendMode and used superclass's member functions to access it.

Revision 7377  Directory Listing
Modified Fri Aug 1 01:19:09 2008 UTC (9 years, 1 month ago) by bess
Original Path: trunk/Libs
ENH: Added DisplacementFieldTransform.

Revision 7376  Directory Listing
Modified Fri Aug 1 01:16:38 2008 UTC (9 years, 1 month ago) by bess
Original Path: trunk/Libs
ENH: Added extended transform reader and writer for transforms that have encoded parameters.

Revision 7374  Directory Listing
Modified Thu Jul 31 14:28:38 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
ENH: SlicerVolumesGUI now parses dicom header once a file is selected. 

Revision 7373  Directory Listing
Modified Thu Jul 31 11:45:45 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
COMP: fixed a singed/unsigned warning.

Revision 7372  Directory Listing
Modified Thu Jul 31 04:36:56 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
ENH: Added new UI component to allow user make decision on whether to ignore image orientation from the file. This is useful for viewing one slice from an oblique series.

Revision 7371  Directory Listing
Modified Thu Jul 31 04:17:23 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
ENH: Changed the logic so not to waste time examining the whole directory for singleFile loading.

Revision 7369  Directory Listing
Modified Wed Jul 30 23:34:00 2008 UTC (9 years, 1 month ago) by alexy
Original Path: trunk/Libs
ENH: merged demianVolumeGlyph-Simple branch

Revision 7368  Directory Listing
Modified Wed Jul 30 21:36:52 2008 UTC (9 years, 1 month ago) by taox
Original Path: trunk/Libs
ENH: added methods for querying dicom header info.

Revision 7364  Directory Listing
Modified Wed Jul 30 14:58:47 2008 UTC (9 years, 1 month ago) by naucoin
Original Path: trunk/Libs
BUG: fixing MGH (uncompressed) file writing, it wasn't converting back to RAS from LPS.

Revision 7362  Directory Listing
Modified Wed Jul 30 13:23:02 2008 UTC (9 years, 1 month ago) by millerjv
Original Path: trunk/Libs
BUG: documentation string on factory overrride

Revision 7359  Directory Listing
Modified Tue Jul 29 23:23:46 2008 UTC (9 years, 1 month ago) by naucoin
Original Path: trunk/Libs
BUG: fixing MGZ file writing, it wasn't converting back to RAS from LPS. ToDo: fix MGH writing

Revision 7355  Directory Listing
Modified Tue Jul 29 16:02:18 2008 UTC (9 years, 1 month ago) by naucoin
Original Path: trunk/Libs
STYLE: catch and print out an error message if can't find needed packages

Revision 7353  Directory Listing
Modified Tue Jul 29 15:07:01 2008 UTC (9 years, 1 month ago) by alexy
Original Path: trunk/Libs
BUG-FIXED: URL encodintg returns pointer that should be copied by caller

Revision 7346  Directory Listing
Modified Mon Jul 28 17:17:18 2008 UTC (9 years, 1 month ago) by pieper
Original Path: trunk/Libs
COMP: fixes for solaris support from Attila Nagy

Revision 7332  Directory Listing
Modified Thu Jul 24 16:20:28 2008 UTC (9 years, 2 months ago) by taox
Original Path: trunk/Libs
ENH: process stacks of jpg, bmp, png, tiff, and raw images differently. Since they may not have proper slice location, assign a location based on the order or file names.

Revision 7327  Directory Listing
Modified Wed Jul 23 18:27:43 2008 UTC (9 years, 2 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: added CompareView layout to MRML Layout representation

Revision 7318  Directory Listing
Modified Mon Jul 21 15:33:35 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
COMP: Warning about unused variable


Revision 7317  Directory Listing
Modified Mon Jul 21 15:32:18 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
COMP: Warnings about unused variables and signed/unsigned comparisons


Revision 7305  Directory Listing
Modified Thu Jul 17 18:52:41 2008 UTC (9 years, 2 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: partially fixed packing problem when layouts are changed. Still working on CompareView

Revision 7304  Directory Listing
Modified Thu Jul 17 14:09:51 2008 UTC (9 years, 2 months ago) by taox
Original Path: trunk/Libs
BUG: non-dicom series was not handled correctly. SingleFile was not used. These two problems are now fixed.

Revision 7299  Directory Listing
Modified Tue Jul 15 21:40:34 2008 UTC (9 years, 2 months ago) by taox
Original Path: trunk/Libs
BUG: When the file selected was a slice file (region.size[2] == 1 && candidatefiles.size() == 1), this->FileNames was not set correctly. 

Revision 7291  Directory Listing
Modified Mon Jul 14 20:54:05 2008 UTC (9 years, 2 months ago) by taox
Original Path: trunk/Libs
BUG: When the file selected was a volume file (region.size[2] >1), this->FileNames was empty. 

Revision 7288  Directory Listing
Modified Mon Jul 14 17:07:44 2008 UTC (9 years, 2 months ago) by taox
Original Path: trunk/Libs
ENH: Enhanced vtkITKArchetypeImageSeriesReader to load dicom images in a meaningful way. The reader now analyzes headers of all dicom files to determine how files may be grouped (for example, images with same series instance UID may represent volumes acquired with different trigger times, different diffusion gradient directions, etc). The reader provides interfaces that allow user to selected desired grouping for meaningful display.

Revision 7276  Directory Listing
Modified Wed Jul 9 15:31:19 2008 UTC (9 years, 2 months ago) by lorensen
Original Path: trunk/Libs
COMP: gcc4.3 include <cstring> for strcpy.

Revision 7274  Directory Listing
Modified Tue Jul 8 21:26:19 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Unused var


Revision 7273  Directory Listing
Modified Tue Jul 8 21:25:45 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Uninitialized var - due to poorly designed switch statement


Revision 7267  Directory Listing
Modified Tue Jul 8 14:41:10 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: no default value - due to poor switch/case construction


Revision 7266  Directory Listing
Modified Tue Jul 8 14:39:15 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Signed/unsigned


Revision 7265  Directory Listing
Modified Tue Jul 8 14:34:08 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Unused vars


Revision 7264  Directory Listing
Modified Tue Jul 8 14:09:40 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Signed/unsigned


Revision 7263  Directory Listing
Modified Tue Jul 8 14:08:15 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Signed/unsigned comparisons


Revision 7262  Directory Listing
Modified Tue Jul 8 14:05:34 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Uninitialized var


Revision 7261  Directory Listing
Modified Tue Jul 8 14:03:14 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Uninitialized vars


Revision 7260  Directory Listing
Modified Tue Jul 8 14:02:04 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Used without initialization


Revision 7259  Directory Listing
Modified Tue Jul 8 13:58:29 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Unused var


Revision 7258  Directory Listing
Modified Tue Jul 8 13:57:09 2008 UTC (9 years, 2 months ago) by aylward
Original Path: trunk/Libs
BUG: Unused variable


Revision 7256  Directory Listing
Modified Mon Jul 7 23:11:14 2008 UTC (9 years, 2 months ago) by lorensen
Original Path: trunk/Libs
COMP: gcc 4.3 missing includes.

Revision 7255  Directory Listing
Modified Mon Jul 7 22:59:17 2008 UTC (9 years, 2 months ago) by lorensen
Original Path: trunk/Libs
COMP: gcc 4.3 missing include.

Revision 7254  Directory Listing
Modified Mon Jul 7 21:43:14 2008 UTC (9 years, 2 months ago) by hjohnson
Original Path: trunk/Libs
BUG:  accidently commited a file that had debugging code in it.  Reverted to previous version.

Revision 7253  Directory Listing
Modified Mon Jul 7 21:40:39 2008 UTC (9 years, 2 months ago) by hjohnson
Original Path: trunk/Libs
COMP:  Removed compiler warnings from generated CLP files.

Revision 7251  Directory Listing
Modified Mon Jul 7 17:56:02 2008 UTC (9 years, 2 months ago) by lorensen
Original Path: trunk/Libs
COMP: gcc 4.3 includes.

Revision 7250  Directory Listing
Modified Mon Jul 7 15:25:12 2008 UTC (9 years, 2 months ago) by rjosest
Original Path: trunk/Libs
BUG: Bail out when data pointer is NULL

Revision 7248  Directory Listing
Modified Mon Jul 7 15:07:40 2008 UTC (9 years, 2 months ago) by millerjv
Original Path: trunk/Libs
ENH: Added "alias" and "deprecatedalias" attributes to <flag> and <longflag> tags in the ModuleDescription. Aliases and deprecated aliases are automatically mapped to the proper flag. Deprecated aliases will emit a warning when used.

Revision 7239  Directory Listing
Modified Wed Jul 2 14:53:16 2008 UTC (9 years, 2 months ago) by bess
Original Path: trunk/Libs
COMP: Fixed the warning.

Revision 7238  Directory Listing
Modified Wed Jul 2 02:31:13 2008 UTC (9 years, 2 months ago) by bess
Original Path: trunk/Libs
ENH: Completed the grid transform for loading/saving scenes and for communicating with modules.

Revision 7230  Directory Listing
Modified Tue Jul 1 19:28:28 2008 UTC (9 years, 2 months ago) by alexy
Original Path: trunk/Libs
BUG: fixed scene snpashot referencing external nodes and vise versa

Revision 7218  Directory Listing
Modified Fri Jun 27 14:37:44 2008 UTC (9 years, 2 months ago) by lorensen
Original Path: trunk/Libs
COMP: warnings unused variables.

Revision 7216  Directory Listing
Modified Fri Jun 27 14:12:46 2008 UTC (9 years, 2 months ago) by naucoin
Original Path: trunk/Libs
ENH: stop using the modified event, use the scene node added event on the list when add a new point

Revision 7191  Directory Listing
Modified Thu Jun 26 12:36:25 2008 UTC (9 years, 2 months ago) by millerjv
Original Path: trunk/Libs
ENH: Added a "Add Transform..." to File menu.

Revision 7182  Directory Listing
Modified Wed Jun 25 18:35:04 2008 UTC (9 years, 2 months ago) by taox
Original Path: trunk/Libs
BUG: mesh cells container pointer type conversion problem....


Revision 7181  Directory Listing
Modified Wed Jun 25 17:49:35 2008 UTC (9 years, 2 months ago) by millerjv
Original Path: trunk/Libs
ENH: Compare view merge from branch (revision 7116) plus a bit of refactoring.

Revision 7179  Directory Listing
Modified Wed Jun 25 17:44:58 2008 UTC (9 years, 2 months ago) by taox
Original Path: trunk/Libs
ENH: vtkMRMLModelStorageNode now loads models in meta format.

Revision 7176  Directory Listing
Modified Wed Jun 25 15:58:36 2008 UTC (9 years, 2 months ago) by barre
Original Path: trunk/Libs
COMP: minor. One of the reason Slicer3 is so slow to compile is that so many classes include STL headers in their own header, instead of their implementation file (PIMPL). Some of those headers are actually not needed anymore by said classes, or were put there "just in case I need a map, vector, list, etc.". The more it happens, the slower the build process gets, and the slower the dependencies are computed/resolved. Try to fix some.

Revision 7175  Directory Listing
Modified Wed Jun 25 15:51:24 2008 UTC (9 years, 2 months ago) by barre
Original Path: trunk/Libs
COMP: fix casting, could not build on .Net2005

Revision 7171  Directory Listing
Modified Wed Jun 25 13:17:35 2008 UTC (9 years, 3 months ago) by hjohnson
Original Path: trunk/Libs
COMP:  Removed compiler warnings due to mis-matched types.

Revision 7167  Directory Listing
Modified Wed Jun 25 10:04:06 2008 UTC (9 years, 3 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: moved layout node outside MRML_USE_vtkTeem scope

Revision 7137  Directory Listing
Modified Sun Jun 22 06:39:08 2008 UTC (9 years, 3 months ago) by bess
Original Path: trunk/Libs
ENH: added the bulk transform to the BSpline transform. Wrote out BSpline to a module.

Revision 7136  Directory Listing
Modified Sun Jun 22 06:23:58 2008 UTC (9 years, 3 months ago) by bess
Original Path: trunk/Libs
ENH: added the bulk transform to the BSpline transform.

Revision 7098  Directory Listing
Modified Tue Jun 17 21:04:16 2008 UTC (9 years, 3 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding LayoutNode

Revision 7097  Directory Listing
Modified Tue Jun 17 21:03:28 2008 UTC (9 years, 3 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: adding LayoutNode and distinguishing Layout and GUI Geometry

Revision 7083  Directory Listing
Modified Fri Jun 13 14:40:28 2008 UTC (9 years, 3 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed the problem of duplicating image/polydata when loading scene snapshots

Revision 7072  Directory Listing
Modified Wed Jun 11 22:36:55 2008 UTC (9 years, 3 months ago) by naucoin
Original Path: trunk/Libs
BUG: fix how the fiducial list widget deals with scene closing and fiducial removed events. Added capability to access fiducials by id instead of index to the list.

Revision 7058  Directory Listing
Modified Wed Jun 11 13:27:57 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
BUG: fix pixel type for vector images to be a scalar rather than vector.  that is, the image tries to read a vector of scalars rather than a vector of vectors

Revision 7057  Directory Listing
Modified Wed Jun 11 13:27:03 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
STYLE: avoid runtime warnings by not returning output of pipeline when input is null

Revision 7056  Directory Listing
Modified Tue Jun 10 21:45:51 2008 UTC (9 years, 3 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed Modify being called when copy volume node

Revision 7042  Directory Listing
Modified Tue Jun 10 17:24:03 2008 UTC (9 years, 3 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed modify since read is set on volume copy

Revision 7030  Directory Listing
Modified Tue Jun 10 14:17:07 2008 UTC (9 years, 3 months ago) by bess
Original Path: trunk/Libs
BUG: remove debugging statements that shouldn't have been there in the first place

Revision 7013  Directory Listing
Modified Mon Jun 9 12:04:29 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
COMP: fix increment type to work on 64 bit

Revision 7012  Directory Listing
Modified Mon Jun 9 03:51:01 2008 UTC (9 years, 3 months ago) by bess
Original Path: trunk/Libs
ENH: Implement grid transforms to be communicated from modules into Slicer using itkVectorImage and nrrd images.

Revision 6966  Directory Listing
Modified Tue Jun 3 22:25:53 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
BUG: update the orientation label so that any non-aligned slice orientation is specified to be Reformat

Revision 6961  Directory Listing
Modified Tue Jun 3 19:33:50 2008 UTC (9 years, 3 months ago) by naucoin
Original Path: trunk/Libs
BUG: EMSegmenter command line module uses the storage node to write out files, which checks for relative file paths, so here we need to take into account a possible shared memory location

Revision 6954  Directory Listing
Modified Sat May 31 20:38:55 2008 UTC (9 years, 3 months ago) by bess
Original Path: trunk/Libs
BUG: Need to do coordinate system conversion in the inverse too

Revision 6953  Directory Listing
Modified Sat May 31 17:31:15 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: fix some minor installation issues; the Python modules are now found correctly. The Qdec module doesn't complain anymore. In general, the Tcl/Python subtree structure for each module is kept in the installation tree or build tree, so it should be easy to understand where files are coming from. Thanks to Dan and Luca for the feedback.

Revision 6952  Directory Listing
Modified Fri May 30 23:19:14 2008 UTC (9 years, 3 months ago) by naucoin
Original Path: trunk/Libs
BUG: fixing branch/trunk confusion

Revision 6945  Directory Listing
Modified Fri May 30 21:40:37 2008 UTC (9 years, 3 months ago) by naucoin
Original Path: trunk/Libs
BUG: port fix from main branch

Revision 6937  Directory Listing
Modified Fri May 30 15:51:48 2008 UTC (9 years, 3 months ago) by naucoin
Original Path: trunk/Libs
BUG: turn off modified events when settin the TempURLString

Revision 6936  Directory Listing
Modified Fri May 30 15:50:37 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
STYLE: remove dead code

Revision 6933  Directory Listing
Modified Fri May 30 12:26:59 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
COMP: fix warnings about SQRT

Revision 6932  Directory Listing
Modified Thu May 29 23:04:59 2008 UTC (9 years, 3 months ago) by naucoin
Original Path: trunk/Libs
BUG: deal with empty string when decoding as well

Revision 6931  Directory Listing
Modified Thu May 29 23:03:18 2008 UTC (9 years, 3 months ago) by naucoin
Original Path: trunk/Libs
BUG: deal with emtpy string

Revision 6914  Directory Listing
Modified Thu May 29 15:23:46 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
STYLE: revert to non-macro version and reenable string free (bug was elsehwere)

Revision 6912  Directory Listing
Modified Thu May 29 14:20:38 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
BUG: return value from URLDecodeString should not be freed

Revision 6911  Directory Listing
Modified Thu May 29 13:45:10 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
BUG: avoid crash by not freeing TempURLString - this leaks strings but real fix is unclear at the moment

Revision 6910  Directory Listing
Modified Thu May 29 13:25:53 2008 UTC (9 years, 3 months ago) by pieper
Original Path: trunk/Libs
STYLE: use the Set macro rather than deleting string directly

Revision 6904  Directory Listing
Modified Wed May 28 21:44:29 2008 UTC (9 years, 3 months ago) by naucoin
Original Path: trunk/Libs
COMP: removing compiler warning about un/signed mismatch

Revision 6894  Directory Listing
Modified Wed May 28 15:04:41 2008 UTC (9 years, 3 months ago) by naucoin
Original Path: trunk/Libs
BUG: use a local variable to manage memory for URLEncode and DecodeString, bug 202

Revision 6891  Directory Listing
Modified Wed May 28 04:38:39 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: the ITKFactories plugin are .dylib, copied to .so, but the .so were never installed. Fixed.

Revision 6890  Directory Listing
Modified Tue May 27 23:27:05 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: fix ITKFactories issues again

Revision 6888  Directory Listing
Modified Tue May 27 22:36:34 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: apparently the Forward Launcher has issue with space in paths on WIN32. It's OK, we didn't really need it on Windows.

Revision 6887  Directory Listing
Modified Tue May 27 22:36:24 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: apparently the Forward Launcher has issue with space in paths on WIN32. It's OK, we didn't really need it on Windows.

Revision 6885  Directory Listing
Modified Tue May 27 21:36:57 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: fix launcher on Win32

Revision 6884  Directory Listing
Modified Tue May 27 21:36:48 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: fix launcher on Win32

Revision 6882  Directory Listing
Modified Tue May 27 20:43:05 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: finally, added launchers for GenerateCLP and GenerateLM so that they can be used from an installed Slicer3.

Revision 6877  Directory Listing
Modified Tue May 27 17:32:49 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: fix POST_BUILD issue by using SET_TARGET_PROPERTIES

Revision 6867  Directory Listing
Modified Mon May 26 19:41:56 2008 UTC (9 years, 3 months ago) by wjp@bwh.harvard.edu
Original Path: trunk/Libs
ENH: fixed debug leaks in scene snapshot by deleting a reference in the snapshot node's StoreScene method...

Revision 6846  Directory Listing
Modified Mon May 26 15:09:42 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
ENH: minor, just align the style with LoadableModule

Revision 6845  Directory Listing
Modified Mon May 26 15:08:45 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
BUG: fix LoadableModule installation scripts, they were busted (the installation directory was hard-coded)

Revision 6844  Directory Listing
Modified Mon May 26 15:07:49 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
BUG: fix GenerateCLP and GenerateLM  for "nmake" and mixed quoted and unquoted arguments with spaces in paths (damn Microsoft compiler)

Revision 6843  Directory Listing
Modified Mon May 26 15:07:36 2008 UTC (9 years, 3 months ago) by barre
Original Path: trunk/Libs
BUG: fix GenerateCLP and GenerateLM  for "nmake" and mixed quoted and unquoted arguments with spaces in paths (damn Microsoft compiler)

Revision 6833  Directory Listing
Modified Thu May 22 22:31:01 2008 UTC (9 years, 4 months ago) by barre
Original Path: trunk/Libs
ENH: more cleanup to allow LoadableModule to be loaded from the Module Search Paths (i.e. outside Slicer3). Provide API to retrieve module's resources paths from either locations (inside or outside a Slicer3's build/installed tree)

Revision 6823  Directory Listing
Modified Thu May 22 18:12:34 2008 UTC (9 years, 4 months ago) by barre
Original Path: trunk/Libs
ENH: fix more evil when spaces in paths are involved. On Win32 (nmake mode), if the path to GENERATECLP_EXE had a space, *and* the second parameter to it had no space, and the third had spaces, then GENERATECLP_EXE would be quoted, the third arg as well, but the second wouldn't; at this point either tclap or nmake apparently would totally choke with the combinations of quoted and non-quoted arguments, and the second argument would be split in strange ways that would ultimately prevent generateclp from working (e.g. d:/foo/bar would end up as two d: and /foo/bar args). Lost hours on that. The trick, I'm afraid, is too use valued arguments everywhere, which is what I changed here by adding --InputXML and --OutputCxx

Revision 6821  Directory Listing
Modified Thu May 22 16:42:20 2008 UTC (9 years, 4 months ago) by barre
Original Path: trunk/Libs
ENH: VERBATIM is still not the default in ADD_CUSTOM_COMMAND but this is really the way to go if you want to be able to deal with spaces *and* parenthesis in your path on unix

Revision 6820  Directory Listing
Modified Thu May 22 16:39:32 2008 UTC (9 years, 4 months ago) by barre
Original Path: trunk/Libs
ENH: VERBATIM is still not the default in ADD_CUSTOM_COMMAND but this is really the way to go if you want to be able to deal with spaces *and* parenthesis in your path on unix. More TRICKY, on Win32, if the path to GENERATELM_EXE had a space, *and* the second parameter to it had no space, and the third and fourth had spaces, then GENERATELM_EXE would be quoted, the third and fourth as well, but the second wouldn't (technically no need to); at this point either tclap or nmake apparently would choke with the combinations of quoted and non-quoted arguments, and the second argument would be split in strange ways (i.e. d:/foo/bar would end up as d: and /foo/bar args). Lost hour on that.

Revision 6819  Directory Listing
Modified Thu May 22 16:37:05 2008 UTC (9 years, 4 months ago) by barre
Original Path: trunk/Libs
ENH: VERBATIM is still not the default in ADD_CUSTOM_COMMAND but this is really the way to go if you want to be able to deal with spaces *and* parenthesis in your path on unix

Revision 6809  Directory Listing
Modified Thu May 22 05:58:21 2008 UTC (9 years, 4 months ago) by barre
Original Path: trunk/Libs
ENH: oops

Revision 6803  Directory Listing
Modified Wed May 21 23:25:36 2008 UTC (9 years, 4 months ago) by barre
Original Path: trunk/Libs
ENH: make sure all sub-project in Libs/ can be built in a standalone fashion (remove 99% of the refs to Slicer3, macros, etc). Make sure all external toolkits are properly included, and fix some issues in MRML with respect to TEEM/vtkTeem.

Revision 6795  Directory Listing
Modified Wed May 21 19:09:53 2008 UTC (9 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: set node to be non-modified after read

Revision 6794  Directory Listing
Modified Wed May 21 17:53:26 2008 UTC (9 years, 4 months ago) by barre
Original Path: trunk/Libs
ENH: stat fixing problem with space in paths

Revision 6793  Directory Listing
Modified Wed May 21 14:57:51 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
COMP: disable template warnings in windows

Revision 6789  Directory Listing
Modified Tue May 20 21:25:28 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
COMP: removing unused variables

Revision 6787  Directory Listing
Modified Tue May 20 21:15:19 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
COMP: removed unused variable

Revision 6783  Directory Listing
Modified Tue May 20 19:19:23 2008 UTC (9 years, 4 months ago) by alexy
Original Path: trunk/Libs
ENH: made some event loop optimizaation changes for volume display

Revision 6778  Directory Listing
Modified Tue May 20 11:36:57 2008 UTC (9 years, 4 months ago) by pieper
Original Path: trunk/Libs
COMP: add empty cmake file to avoid configure warning/error

Revision 6773  Directory Listing
Modified Tue May 20 07:29:59 2008 UTC (9 years, 4 months ago) by barre
Original Path: trunk/Libs
ENH: Slicer3 Spring Installation Clean Up

Revision 6766  Directory Listing
Modified Tue May 20 00:06:40 2008 UTC (9 years, 4 months ago) by tgl
Original Path: trunk/Libs
ENH removing unused code, should have been deleted as part of the copy from GenerateCLP

Revision 6761  Directory Listing
Modified Mon May 19 05:30:33 2008 UTC (9 years, 4 months ago) by bess
Original Path: trunk/Libs
BUG: Fix the cloning function to clone the bspline properly

Revision 6760  Directory Listing
Modified Mon May 19 05:23:42 2008 UTC (9 years, 4 months ago) by bess
Original Path: trunk/Libs
ENH: merge from r6759 of bess_bspline branch into trunk

Revision 6756  Directory Listing
Modified Sun May 18 14:29:38 2008 UTC (9 years, 4 months ago) by alexy
Original Path: trunk/Libs
ENH: speed up switching volume display GUIs

Revision 6751  Directory Listing
Modified Sat May 17 16:48:40 2008 UTC (9 years, 4 months ago) by alexy
Original Path: trunk/Libs
ENH: set window/level sliders for auto mode 

Revision 6746  Directory Listing
Modified Fri May 16 22:43:34 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: modifications to work with automated testing system as well as direct source into running slicer

Revision 6745  Directory Listing
Modified Fri May 16 21:50:52 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: since the fiducial list node uses 'fake' fiducial nodes, have to manually check if disable modified is not true on the list before invoking fiducial modified events. This change will speed up adding lists of fiducials from parsed text files if DisableModifiedEventOn is used.

Revision 6744  Directory Listing
Modified Fri May 16 21:43:29 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: enable modified before call modified. Added number of fids to add

Revision 6742  Directory Listing
Modified Fri May 16 19:46:29 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
ENH: adding a test script to time adding 200 fiducials to the scene. Main delay is in the SetNthFiducialLabelText call

Revision 6716  Directory Listing
Modified Wed May 14 21:13:14 2008 UTC (9 years, 4 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed volume vector series read

Revision 6715  Directory Listing
Modified Wed May 14 18:14:37 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
ENH: experimental script to read FreeSurfer .label file and display as a contour widget. Only works with VTK 5.2 and up.

Revision 6713  Directory Listing
Modified Wed May 14 17:47:39 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
ENH: add support for FreeSurfer .label files

Revision 6708  Directory Listing
Modified Wed May 14 01:14:40 2008 UTC (9 years, 4 months ago) by alexy
Original Path: trunk/Libs
ENH: remove error msg from ReadData

Revision 6706  Directory Listing
Modified Tue May 13 21:54:31 2008 UTC (9 years, 4 months ago) by pieper
Original Path: trunk/Libs
ENH: add visibility state for slice node widget

Revision 6702  Directory Listing
Modified Tue May 13 20:43:08 2008 UTC (9 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: need to set input to the append components each time the image data changes

Revision 6698  Directory Listing
Modified Tue May 13 16:29:57 2008 UTC (9 years, 4 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed conflict between memebr vaiable and parameter

Revision 6693  Directory Listing
Modified Mon May 12 21:36:45 2008 UTC (9 years, 4 months ago) by alexy
Original Path: trunk/Libs
ENH: fixed ImageLabelCombine

Revision 6684  Directory Listing
Modified Sat May 10 14:12:45 2008 UTC (9 years, 4 months ago) by pieper
Original Path: trunk/Libs
BUG: check for null string pointer

Revision 6681  Directory Listing
Modified Fri May 9 21:57:48 2008 UTC (9 years, 4 months ago) by naucoin
Original Path: trunk/Libs
BUG: add the look up table after we know we need it, was causing seg faults on render.

Revision 6678