Ticket #35 (closed: fixed)

Opened 13 years ago

Last modified 5 years ago

Develop basic Geometry objects and framework

Reported by: Nick Draper Owned by: Laurent Chapon
Priority: major Milestone: Iteration 3
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Develop geometry objects sufficient to support the definition of an instrument and suffiecient operation to allow the distances and angles to be calculated between any two objects.

It will need to be able to search for a detector by detector number.

Change History

comment:1 Changed 13 years ago by Laurent Chapon

(In [86]) re #35 First version of the 3D vector class and unit test

comment:2 Changed 13 years ago by Laurent Chapon

(In [92]) re #35 Quaternions header file

comment:3 Changed 13 years ago by Laurent Chapon

(In [99]) re #35 Quaternions modified to be templated

comment:4 Changed 13 years ago by Russell Taylor

(In [106]) Fixed the path to the header files for V3D. Re #35.

comment:5 Changed 13 years ago by Stuart Ansell

(In [138]) Refs #35

Tidied up V3D. The plan is to proto-write the whole set. Excluding QuadSurfaces (for the moment). [Minimum (geometry) to aquire a Detector distance]

V3D : Quatanion Ocotanion contained by : GeomBase <- Surface <- {Quadratic surfaces} GeomBase <- GeomComponent GeomBase <- Geodisic

comment:6 Changed 13 years ago by Stuart Ansell

(In [139]) Refs #35

Modified some tests. Added a few negative numbers + fixed the normal since it was changed.

comment:7 Changed 13 years ago by Laurent Chapon

(In [160]) re #35 Quaternion class/ still need cxxtest

comment:8 Changed 13 years ago by Laurent Chapon

(In [161]) re #35 Quaternion class/ still need cxxtest Correction, namespace Mantdi and geometry were missing

comment:9 Changed 13 years ago by Laurent Chapon

(In [162]) re #35 Modifications of Quat class -Close_at_tolerance boost comparison constructor changed. -printSelf and operator<< implemented. -#include <stdexcept>

comment:10 Changed 13 years ago by Laurent Chapon

(In [163]) re #35 Some comments added

comment:11 Changed 13 years ago by Laurent Chapon

(In [165]) re #35 Quaternions unit test and some modifications of the Quat.h and Quat.cpp files

comment:12 Changed 13 years ago by Stuart Ansell

(In [168]) re #35

This is the start of the geometry handler: DOES NOT COMPILE (Yet)

Includes : Surface :

Tree + boolean handler

comment:13 Changed 13 years ago by Stuart Ansell

(In [169]) re #35

This is the start of the geometry handler: DOES NOT COMPILE (Yet)

Includes : Surface :

Tree + boolean handler

comment:14 Changed 13 years ago by Stuart Ansell

(In [170]) re #35

Moved to geometry namespace

comment:15 Changed 13 years ago by Stuart Ansell

(In [171]) re #35

Moved to geometry namespace

comment:16 Changed 13 years ago by Stuart Ansell

(In [180]) re #35

Addition of a property class::

NOTE: THE Indexed property class does not ALWAYS work as expected. You can maintain a property in a class owned map e.g.

class mystuff {

map<string,property<...> > Things; works IndexProperty<string,...> ThingsCollection DOES NOT WORK

};

it will compile, but will not chain callback sequences at runtime.

comment:17 Changed 13 years ago by Stuart Ansell

(In [197]) re #35 Start of the big Geometry::Volume checkin. Modifications to dependent files (added functionality)

comment:18 Changed 13 years ago by Stuart Ansell

(In [198]) re #35 Start of the big Geometry::Volume checkin. Modifications to dependent files (added functionality)

comment:19 Changed 13 years ago by Stuart Ansell

(In [199]) re #35 The big Geometry::Volume checkin. class Surface

comment:20 Changed 13 years ago by Stuart Ansell

(In [202]) re #35 The big Geometry::Volume checkin. class Sphere

comment:21 Changed 13 years ago by Stuart Ansell

(In [203]) re #35 The big Geometry::Volume checkin. class Sphere

comment:22 Changed 13 years ago by Stuart Ansell

(In [204]) re #35 The big Geometry::Volume checkin. : All quadratic surfaces

comment:23 Changed 13 years ago by Stuart Ansell

(In [205]) re #35 The big Geometry::Volume checkin. : Low level rules

comment:24 Changed 13 years ago by Stuart Ansell

(In [220]) re #35 Modified Support to not require isBlank. This can be put back when ctype is added.

comment:25 Changed 13 years ago by Laurent Chapon

(In [224]) re #35 Modifications of the V3D classes and Quat Classes Check-in base object for Geometry description : Component and CompAssembly classes

comment:26 Changed 13 years ago by Laurent Chapon

(In [225]) re #35 Modifications of the V3D classes and Quat Classes Check-in base object for Geometry description : Component and CompAssembly classes

comment:27 Changed 13 years ago by Laurent Chapon

(In [226]) re #35 Modifications of the Quat.cpp

comment:28 Changed 13 years ago by Laurent Chapon

(In [227]) re #35 Adding the Qaut.cpp again

comment:29 Changed 13 years ago by Stuart Ansell

(In [246]) re #35

Additonal stuff for the geometry class in an aux directory. They will be moved/removed over a few days if I am lucky.

comment:30 Changed 13 years ago by Nick Draper

(In [248]) re #35 aux is a reserved folder name in windows (this was new to me), renamed to auxsrc

comment:31 Changed 13 years ago by Nick Draper

  • Milestone changed from Iteration 2 to Iteration 3

comment:32 Changed 13 years ago by Nick Draper

(In [275]) re #35 added unit tests for Component and altered to allow compile on windows

comment:33 Changed 13 years ago by Nick Draper

(In [278]) re #35 added unit tests for CompAssembly

comment:34 Changed 13 years ago by Laurent Chapon

(In [282]) re #35 Checking in the ObjComponent Class, Detector class and read_HET utilities

comment:35 Changed 13 years ago by Laurent Chapon

(In [284]) re #35 Checking in the ObjComponent Class, Detector class and read_HET utilities

comment:36 Changed 13 years ago by Laurent Chapon

(In [285]) re #35 Checking in the ObjComponent Class, Detector class and read_HET utilities

comment:37 Changed 13 years ago by Stuart Ansell

(In [286]) re #35

All the following now build or have been deleted

comment:38 Changed 13 years ago by Nick Draper

(In [290]) re#35 Moved remotely

comment:39 Changed 13 years ago by Nick Draper

(In [291]) re #35 Moved remotely

comment:40 Changed 13 years ago by Nick Draper

(In [292]) re #35 Moved remotely

comment:41 Changed 13 years ago by Nick Draper

(In [293]) re #35 Removed file/folder

windows cannot have aux as a folder name

comment:42 Changed 13 years ago by Stuart Ansell

(In [294]) re #35

The working stuff if the scons would run the tests....

comment:43 Changed 13 years ago by Nick Draper

(In [295]) re #35 added unit tests for Detector and corrected the unitialised int

comment:44 Changed 13 years ago by Nick Draper

(In [296]) re #35 added basic ObjComponent tests and added type tests for the other objects

comment:45 Changed 13 years ago by Stuart Ansell

(In [297]) re #35

Fixing a lot of other problems with geometry...

comment:46 Changed 13 years ago by Stuart Ansell

(In [298]) re #35

Got these template objects out of namespace so could not link.

comment:47 Changed 13 years ago by Nick Draper

(In [299]) re #35 Removed ..cpp files

comment:48 Changed 13 years ago by Nick Draper

(In [300]) re #35 missed one ..cpp file

comment:49 Changed 13 years ago by Nick Draper

(In [301]) re #35 removed rogue .cxx file that had already been replaced by a .cpp

comment:50 Changed 13 years ago by Nick Draper

(In [303]) re #35 windows compilation changes

comment:51 Changed 13 years ago by Nick Draper

(In [306]) re #35 solve compiler warnings

comment:52 Changed 13 years ago by Nick Draper

(In [309]) re #35 partial revert of solve compiler warnings

Linux was not happy with this.

We will revisit later and do it properly

comment:53 Changed 13 years ago by Stuart Ansell

(In [323]) Re #35

Fixed the issues with template<template<typename ...> class V> container issues for the XML classes.

A couple to go in support/mathsupport/regextsupport.

comment:54 Changed 13 years ago by Nick Draper

(In [336]) re #35 improve geometry compilation on windows

One function in Track.cpp disabled

Still got linking errors

comment:55 Changed 13 years ago by Stuart Ansell

(In [337]) re #35

Altering Support to get round the lack of an export command in VC7. Modification now mean that template explicits can be defined. See SupportKernel for method to do that. The actual template code now resides in SupportTempCode.h. Do no include this file EXCEPT in a SupportKernel, or similar file e.g. SupportGeometry. If you are neither writing or adding template forms just us Support.h in the normal way.

This is part 1 of a two part check-in (next section in 2 min or so)

comment:56 Changed 13 years ago by Stuart Ansell

(In [340]) re #35

Part 2 : Template for support

comment:57 Changed 13 years ago by Stuart Ansell

(In [357]) re #35

A new exciting, working SConstruct with extra features to allow a clean build.

comment:58 Changed 13 years ago by Nick Draper

(In [368]) re #35 Sort out paths in geometry to allow things to work a bit better

comment:59 Changed 13 years ago by Matt Clarke

(In [370]) Added test for LibraryManager, requires libTestAlgorithms or TestAlgorithms.dll . Refs #35

comment:60 Changed 13 years ago by Matt Clarke

(In [378]) Corrected includes. Refs #35

comment:61 Changed 13 years ago by Matt Clarke

(In [379]) Changed LibraryManager to use logger. Refs #35

comment:62 Changed 13 years ago by Stuart Ansell

(In [400]) re #35

FIXING SCons to build on a clean linux box.

-- This adds a Scons_Linux command to add thirdparty directories

IF YOU NEED TO CHANGE THIS TO BUILD WINDOWS STUFF DO NOT BREAK THE LINUX BUILD.

comment:63 Changed 13 years ago by Stuart Ansell

(In [412]) Re #35

Fixes to the problems with this

comment:64 Changed 13 years ago by Stuart Ansell

(In [413]) Re #35

Changing....

comment:65 Changed 13 years ago by Stuart Ansell

(In [414]) Re #35

Added this file to get it to build....

comment:66 Changed 13 years ago by Freddie Akeroyd

(In [417]) Move RefControl.h to correct directory. Refs #35.

comment:67 Changed 13 years ago by Stuart Ansell

(In [420]) Re #35

Fixes (maybe) the problem wiht RefControl.h

comment:68 Changed 13 years ago by Stuart Ansell

(In [421]) re #35

Fixed Test!!!

comment:69 Changed 13 years ago by Stuart Ansell

(In [422]) re #35

Yet more correction....

comment:70 Changed 13 years ago by Nick Draper

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

Closing as basic gemoetry is in place, a new ticket will be created to include the integration of the geometry sufaces.

comment:71 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 883

Note: See TracTickets for help on using tickets.