Ticket #451 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Create an algorithm to allow the definition of the sample shape

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: major Milestone: Iteration 16
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

REQUIRES #444

The underlying algoirthm is simple. An example of converting XML into an object is in FindDetectorsByShape.

The complex part is defining an easy to use GUI for this.

Change History

comment:1 Changed 12 years ago by Nick Draper

  • Owner set to Martyn Gigg

comment:2 Changed 12 years ago by Martyn Gigg

(In [2330]) Added start of the algorithm and GUI to create the sample shape. The algorithm doesn't do anything yet and isn't actually even registered with the factory. The GUI has most of the basic functionality needed but I still need to work out how to parse the binary tree properly to create the required XML string. Re #451

comment:3 Changed 11 years ago by Martyn Gigg

(In [2338]) Sample class now stores the sample geometry. Updated CreateSampleShape algorithm to use this and added accompanying test. Re #451

comment:4 Changed 11 years ago by Martyn Gigg

(In [2339]) As usual I forgot the DLLExport directive. Re #451

comment:5 Changed 11 years ago by Martyn Gigg

(In [2340]) Added CreateSampleShape class to Visual Studio solution. Re #451

comment:6 Changed 11 years ago by Martyn Gigg

(In [2341]) CreateSampleShapeDialog - Tidyed up code to create each shape details box and deletion is now recursive. Also removed 3D view until we are ready to implement it. It's usuable but confusing without the 3D view. Re #451

comment:7 Changed 11 years ago by Martyn Gigg

(In [2342]) Added the rest of the shapes defined in Mantid Geometry to shape dialog. Re #451

comment:8 Changed 11 years ago by Martyn Gigg

  • Status changed from new to closed
  • Resolution set to fixed

The algorithm and a basic GUI now exist for this so I'm closing this but creating a new ticket, #535, to implement the 3D visualisation and better view of the binary tree .

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1299

Note: See TracTickets for help on using tickets.