378 Commits

Author SHA1 Message Date
David Williams
6493e88d4c Removed unnecessary condition. 2015-05-27 22:58:46 +02:00
David Williams
edd1af14ca Removed unnecessary setting of sampler position. 2015-05-27 22:57:48 +02:00
David Williams
ccedb0e294 Replaced separate arrays with arrays of vectors. 2015-05-27 22:55:36 +02:00
David Williams
baf5cf2cab Removed unneeded memsets. 2015-05-27 07:25:04 +02:00
David Williams
48a6929a7a Tidying up. 2015-05-26 21:24:38 +02:00
David Williams
04c4e49aa1 Fully eliminated MarchingCubesSurfaceExtractor class. It's now only a standalone function called 'extractMarchingCubesMesh'. 2015-05-25 21:23:27 +02:00
David Williams
37db0bac52 Moved gradient calculation outside of class. 2015-05-25 21:16:29 +02:00
David Williams
e4ef845045 Removed sobel gradient calculation code.
Removed m_controller member.
2015-05-25 21:00:50 +02:00
David Williams
b3ce982ef3 Removed some member variables. 2015-05-25 20:51:42 +02:00
David Williams
d353685ce9 Restructuring code... 2015-05-25 20:42:40 +02:00
David Williams
1d51ee8d0a Revert "Rather ugly split of some code into a separate function, to keep the main loop as small and simple as possible. To be tidied up shortly."
This reverts commit 13be35aac906ee34448c3160372db4dcb031022f.
2015-05-25 20:35:55 +02:00
David Williams
c384fbfea8 Revert "Eliminated member variable."
This reverts commit 96ec47a972fea2cd6efcaddd276728f8062d8f7b.
2015-05-25 20:35:47 +02:00
David Williams
96ec47a972 Eliminated member variable. 2015-05-25 17:45:40 +02:00
David Williams
13be35aac9 Rather ugly split of some code into a separate function, to keep the main loop as small and simple as possible. To be tidied up shortly. 2015-05-25 17:37:30 +02:00
David Williams
e0ce93acb1 Added comments. 2015-05-25 16:45:52 +02:00
David Williams
b353cd1ce8 Removed unneeded conditions. 2015-05-25 16:39:30 +02:00
David Williams
ecc06ba986 Changed the way samplers are used for a minor speed improvement. 2015-05-25 12:05:15 +02:00
David Williams
f4941fb73c Minor tweaks. 2015-05-24 23:58:51 +02:00
David Williams
c8124097e3 Using a bit less memory. 2015-05-24 23:32:52 +02:00
David Williams
efb9844fe2 Merge branch 'develop' into feature/extractor-optimizations 2015-05-24 21:17:19 +02:00
David Williams
a34eda6250 Simple optimization. 2015-05-24 21:17:09 +02:00
David Williams
69349d95cd Tidying up. 2015-05-24 21:01:01 +02:00
David Williams
eb3727de30 Vastly simplified logic... hard to believe I made it so complicated :-) 2015-05-24 20:41:46 +02:00
David Williams
32df8be8da Tweaked conditions and comments. 2015-05-24 07:59:03 +02:00
David Williams
4e9b0e374b Moved code into outer loops. 2015-05-24 00:02:27 +02:00
David Williams
8e9e122c03 Merge branch 'develop' into feature/extractor-optimizations 2015-05-23 21:22:58 +02:00
David Williams
304e3d8f7a Faster tests when moving sampler. 2015-05-23 21:22:29 +02:00
David Williams
cee15a145f Avoid setting the sampler position every iteration. 2015-05-23 17:45:16 +02:00
David Williams
5b84c5a9a5 Removed unneeded call to setPosition(). 2015-05-23 17:23:59 +02:00
David Williams
762c9a5090 Switched 3D array back to two 2D arrays to reduce memory usage. 2015-05-22 16:48:42 +02:00
David Williams
50cf939e8a Reorganizing code. 2015-05-22 16:15:53 +02:00
David Williams
50a8bebfa9 Removed unneeded logic. 2015-05-21 23:31:19 +02:00
David Williams
711c262004 Skip outputting some indices. 2015-05-21 23:17:49 +02:00
David Williams
2a7eb51653 Refactoring multiple loops into one big loop. 2015-05-21 23:12:38 +02:00
David Williams
b19de819e2 Fixed compile error due to logging code changing scope. 2015-05-21 10:29:39 +02:00
David Williams
797689acea Trying to re-apply some previous optimizations to get old speed back. 2015-05-20 23:45:22 +02:00
David Williams
9a68582530 Added bounds checks 2015-05-17 11:47:52 +02:00
David Williams
ccb76bc6d7 More work refactoring code. Examples appear to work now but tests still fail. 2015-05-17 09:52:13 +02:00
David Williams
a39b7f6a9f More refactoring. 2015-05-16 20:48:15 +02:00
David Williams
1a1ae75766 More refactoring. 2015-05-16 15:36:39 +02:00
David Williams
0e8c90c6ee More refactoring... 2015-05-16 09:00:04 +02:00
David Williams
227b11a764 Cleared array. 2015-05-15 10:03:29 +02:00
David Williams
b4267b11f5 More refactoring code. 2015-05-15 09:57:32 +02:00
David Williams
71adc7292c Restructuring code. 2015-05-14 22:10:37 +02:00
David Williams
89508f8b2b Restructuring code. 2015-05-14 11:48:28 +02:00
David Williams
f53efa1d64 Restructuring code. 2015-05-14 11:41:16 +02:00
David Williams
e912950317 Restructuring code... 2015-05-14 11:35:04 +02:00
David Williams
49683b4b48 Fixed compile error due to logging code changing scope. 2015-05-14 11:27:19 +02:00
David Williams
54f235e09a Restructuring computeBitmask code. 2015-05-14 11:14:39 +02:00
David Williams
5974a1de9b Restructuring loops... 2015-05-14 10:52:07 +02:00