Ticket #4310 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Open SliceView from a Multislice cut

Reported by: Michael Reuter Owned by: Michael Reuter
Priority: major Milestone: Release 2.0
Component: VATES Keywords:
Cc: Blocked By: #4276
Blocking: Tester: Owen Arnold

Description

For a given indicator in the simple interface multislice view, enable the ability to launch the SliceViewer and show that cut.

Change History

comment:1 Changed 9 years ago by Michael Reuter

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Michael Reuter

  • Blocked By 4276 added

comment:3 Changed 9 years ago by Michael Reuter

Refs #4310. Adding workspace name getter to plugins.

This commit adds getting the workspace name from the two workspace types that the SliceViewer will work with. Also, it fixes a bug of the workspace name disappearing because of two set calls.

Changeset: 1ec50c03515f29eb887908ffea86a7c6305ef8cb

comment:4 Changed 9 years ago by Michael Reuter

Refs #4310. Removing debug statement.

Changeset: 454c9b4136e7a18dd92cfb723914761019f5cd68

comment:5 Changed 9 years ago by Michael Reuter

Refs #4310. Setting SliceViewer mechanism.

Beginning the necessary setup for the SliceViewer invocation. Adding a check on the source to see if we are in MantidPlot mode via the workspace name property. This allows a context menu item to be set on the slice indicators.

Changeset: ec99cc9ff9b70e83fa9671989464450e9f58ac26

comment:6 Changed 9 years ago by Michael Reuter

Refs #4310. Adding source helper flag.

Changeset: d44487a5e92a4641bca9aaff0d1bdbf50794ddd1

comment:7 Changed 9 years ago by Michael Reuter

Refs #4310. Setting up signal for slice viewer call.

Changeset: e2efeabfa87170a38e0e4222b71c368b19efb476

comment:8 Changed 9 years ago by Michael Reuter

Refs #4310. Begin collecting information for XML.

The signal is now wired up to the cut indicator context menu, so now the information gathering has begun. Workspace name and geometry at gathers. Need to create a cut plane.

Changeset: dd1b3b549039f7ac3bd55112349cc30597ddf839

comment:9 Changed 9 years ago by Michael Reuter

Refs #4310. Adding plane information.

Starting to add plane information, but there doesn't seem to be a plane implicit function and the bare MDImplicitFunction doesn't support the string creation. I guess I'll have to make one on my own. Sigh.

Changeset: c8fb7f75fec8bfb153632afdc6e4b6fda68d3df4

comment:10 Changed 9 years ago by Michael Reuter

Refs #4310. Switching to MDPlaneImplicitFunction.

Changeset: 673fce595f8ec4e1713aeeb58619b859870a58b1

comment:11 Changed 9 years ago by Michael Reuter

Refs #4310. Using constructor creation for implicit plane.

Changeset: 37f9a7dcacd6ccbaf75caa56c78c53c1a52561eb

comment:12 Changed 9 years ago by Michael Reuter

Refs #4310. Implementing SliceViewer launch.

Changeset: 6cf2b5ac8522d469a998e4a2460b23b4c8f1a6ed

comment:13 Changed 9 years ago by Michael Reuter

Refs #4310. Handling the rebinner case.

Things got messed up when a rebinner is used before switching into the multislice view. These changes correct that short-coming.

Changeset: 19aaf1cbf44a4215f81ec1104ef4bf19aee8d4ed

comment:14 Changed 9 years ago by Michael Reuter

Refs #4310. Fixing rebinner check.

Changeset: 6f69039c49f5f1d113ce8ef320eaa10484457a8b

comment:15 Changed 9 years ago by Michael Reuter

Refs #4310. Adding some helper functions.

I'm adding a helper function to print out source properties since I seem to be needing this information frequently. The other helper determines if a source has timesteps.

Changeset: b677d6b75d2704dc4c8ae3c4b6f92eca97c17a2f

comment:16 Changed 9 years ago by Michael Reuter

Refs #4310. Adding helper function for current timestep.

Changeset: c6557e2e1da628ce64b5ee87237c4c66f143bc74

comment:17 Changed 9 years ago by Michael Reuter

Refs #4310. Adding timestep value insertion to geometry XML.

Changeset: 346dced38979a2613269a473aad4783bf27e4f02

comment:18 Changed 9 years ago by Michael Reuter

Refs #4310. Getting timestep information into geometry XML.

Changeset: 9bdd86d6e44aa39e3c34fe40c40a91c36e8e436f

comment:19 Changed 9 years ago by Michael Reuter

Refs #4310. Adding missing library linking.

Changeset: e6c1ee78c60e4868cf894864b2d2ea29275bf6ab

comment:20 Changed 9 years ago by Michael Reuter

Refs #4310. Adding workspace name getter to plugins.

This commit adds getting the workspace name from the two workspace types that the SliceViewer will work with. Also, it fixes a bug of the workspace name disappearing because of two set calls.

Changeset: 1ec50c03515f29eb887908ffea86a7c6305ef8cb

comment:21 Changed 9 years ago by Michael Reuter

Refs #4310. Removing debug statement.

Changeset: 454c9b4136e7a18dd92cfb723914761019f5cd68

comment:22 Changed 9 years ago by Michael Reuter

Refs #4310. Setting SliceViewer mechanism.

Beginning the necessary setup for the SliceViewer invocation. Adding a check on the source to see if we are in MantidPlot mode via the workspace name property. This allows a context menu item to be set on the slice indicators.

Changeset: ec99cc9ff9b70e83fa9671989464450e9f58ac26

comment:23 Changed 9 years ago by Michael Reuter

Refs #4310. Adding source helper flag.

Changeset: d44487a5e92a4641bca9aaff0d1bdbf50794ddd1

comment:24 Changed 9 years ago by Michael Reuter

Refs #4310. Setting up signal for slice viewer call.

Changeset: e2efeabfa87170a38e0e4222b71c368b19efb476

comment:25 Changed 9 years ago by Michael Reuter

Refs #4310. Begin collecting information for XML.

The signal is now wired up to the cut indicator context menu, so now the information gathering has begun. Workspace name and geometry at gathers. Need to create a cut plane.

Changeset: dd1b3b549039f7ac3bd55112349cc30597ddf839

comment:26 Changed 9 years ago by Michael Reuter

Refs #4310. Adding plane information.

Starting to add plane information, but there doesn't seem to be a plane implicit function and the bare MDImplicitFunction doesn't support the string creation. I guess I'll have to make one on my own. Sigh.

Changeset: c8fb7f75fec8bfb153632afdc6e4b6fda68d3df4

comment:27 Changed 9 years ago by Michael Reuter

Refs #4310. Switching to MDPlaneImplicitFunction.

Changeset: 673fce595f8ec4e1713aeeb58619b859870a58b1

comment:28 Changed 9 years ago by Michael Reuter

Refs #4310. Make private output workspace name.

This change makes the rebinner ParaView plugin produce a private output workspace name based on the name of the input workspace.

Changeset: d74a703223a2c1fc16e4c4a58e052e21ce18b9b9

comment:29 Changed 9 years ago by Michael Reuter

Refs #4310. Removing debugging code.

Changeset: 3e561c0c1c7b211a985226c17a566abb4be3b889

comment:30 Changed 9 years ago by Michael Reuter

Refs #4310. Closing SliceViewer subwindows.

The simple interface now closes SliceViewer subwindows when either the view mode changes away from MultiSlice or when the simple interface window is hidden while running MantidPlot.

Changeset: b87cd2ad547bd50e0f3e4d4b5c7f70d507e8b7ca

comment:31 Changed 9 years ago by Michael Reuter

  • Status changed from accepted to verify
  • Resolution set to fixed

To test, launch the simple interface from an appropriate MD dataset in MantidPlot. Switch to the multislice view and add a slice. Then, right-click on the indicator (blue triangle) and select the menu option Show in SliceView. A SliceViewWindow should launch showing the selected slice.

NOTE: This feature DOES NOT work from VatesSimpleGui.

comment:32 Changed 9 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:33 Changed 9 years ago by Owen Arnold

  • Status changed from verifying to closed

This does work. Recently tested this while testing out the SliceViewer side of things. New instance of slice viewer generated upon menu click. If we haven't yet updated the slice viewer documentation to advertise this feature we ought to.

comment:34 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5157

Note: See TracTickets for help on using tickets.