- Nov 15, 2014
-
-
John Harwell authored
-
John Harwell authored
On the Preference Dialog Misc page is an item that is used to enable or disable display of the 'Develop' menu. This functionality has been modified so that changing the status for the display of the 'Develop' menu takes effect immediately. Previously, it did not take effect until a new window was opened.
-
John Harwell authored
Until now, for each EventTypeEnum, we have created a corresponding subclass of the class Event. However, if the event has no event specific information, there is really no need to create a subclass of the class Event. So, a method has been added to EventManager named sendSimpleEvent(const EventTypeEnum::Enum) that is available for sending these types of events. EventManager::sendSimpleEvent() does contain a switch statement on every EventTypeEnum so that the method can only be used on specific EventTypeEnum's.
-
John Harwell authored
-
John Harwell authored
-
John Harwell authored
Default improved (faster) orthogonal volume slice drawing on. There are two algorithms for drawing volume slices. The first method (original) draws each voxel as a quad, independent of all other voxels. This first method is more efficient when a 'small' number of voxel in the slice (e.g.: label volume) are drawn. The second method (new) submits all vertices (coord/normal/rgba) to OpenGL and then draws the voxels using the vertex indices of the quads. The second method is more efficient when most voxels in the slice are drawn (e.g.: anatomical volume). Now, when a volume slice is about to be drawn, an estimate of the number of bytes submitted to OpenGL is computed for both methods and the method that requires the least number of bytes is used. Timings show a twenty to forty percent reduction in volume slice drawing.
-
- Nov 14, 2014
-
-
John Harwell authored
-
John Harwell authored
-
John Harwell authored
-
John Harwell authored
Fixed memory leak. Each of the toolbar modes (view, foci, borders, volume) may provide a widget that is added to the toolbar. The widget only had a parent when it was displayed in the toolbar. Those toolbar mode widgets not displayed in the toolbar were never deleted resulting in leaked memory and a potential to cause a crash. The code has been updated to fix this problem.
-
John Harwell authored
-
Tim Coalson authored
-
- Nov 11, 2014
-
-
Tim Coalson authored
-
Tim Coalson authored
make cifti replace structure not discard unused labels by default, require code to specify cropped, as the code default was opposite the command line default
-
Tim Coalson authored
-
John Harwell authored
-
John Harwell authored
-
- Nov 10, 2014
-
-
John Harwell authored
Removed obsolete enumerated type VolumeSliceViewModeEnum and removed commented out code in which it was used. Moved VolumeSliceProjectionTypeEnum from Brain to Files so that the volume editing code can use it.
-
John Harwell authored
When writing the SceneInfo (that has the image), add CDATA tags for the scene name and comment. Matt reported that placing an '&' in the scene name caused a parse error and correctly suggested using CDATA.
-
- Nov 08, 2014
-
-
John Harwell authored
-
John Harwell authored
Changed oblique drawing to resume using CUBIC interpolation now that set modified status issue has been fixed. The set modified status also resets the splines used for cubic interpolation so that voxels are now colored after they are edited in a oblique view.
-
John Harwell authored
On new volume file dialog, default the dimensions, spacing, and origin to those used in anatomical volumes.
-
John Harwell authored
-
John Harwell authored
-
John Harwell authored
For both border drawing and volume editing, the mouse can be dragged with the SHIFT and CTRL keys down to continuously draw points.
-
John Harwell authored
-
John Harwell authored
Enable only on/off voxel editing when a volume is viewed in an oblique mode. Use new spin box that allows only odd values for voxel editing brush size.
-
John Harwell authored
-
John Harwell authored
-
- Nov 07, 2014
-
-
Tim Coalson authored
-
Tim Coalson authored
-
John Harwell authored
-
John Harwell authored
-
John Harwell authored
Fixed a bug that did not set the name of a volume file correctly after reading the volume file. Likely introduced as part of volume editing updates.
-
- Nov 06, 2014
-
-
Tim Coalson authored
-
Tim Coalson authored
-
Tim Coalson authored
make VolumeBase::setModified virtual again so that it calls VolumeFile's implementation to let it know the splines are invalid
-
John Harwell authored
Add a preliminary version of voxel editing for oblique viewing. Fixed issue that did not select correct volume for editing when the top layer was disabled and contained a volume file.
-
- Nov 05, 2014
-
-
Tim Coalson authored
also reduce manual memory allocation
-
John Harwell authored
-