Daviw Williams
900b693e25
More work combining BoundsCheck with WrapMode.
2013-06-07 15:43:35 +02:00
Daviw Williams
745f24eab8
More work on wrap modes.
2013-06-06 16:39:49 +02:00
Daviw Williams
6bc379f0df
More work combining WrapMode and BoundsCheck
2013-06-06 16:26:55 +02:00
Daviw Williams
2b03e84f83
Combining BoundsChecks and WrapMode into a single enum.
2013-06-06 16:07:47 +02:00
Daviw Williams
073c415a38
Work on new getVoxel() functions.
2013-05-29 16:07:27 +02:00
Daviw Williams
de8c69456f
Added macro to throw an exception but not log it. Useful in some high-performance scenarios.
2013-05-27 15:09:43 +02:00
Daviw Williams
0c7002a1ce
Avoided double bounds check.
2013-05-27 14:24:52 +02:00
Daviw Williams
869f5f6c49
Added function to check whether one region is inside of another.
2013-05-27 14:01:55 +02:00
Daviw Williams
61dd59c9bc
Merge branch 'develop' into feature/bounds-checks
2013-05-27 13:00:02 +02:00
Daviw Williams
a56005478d
Fix for Linux compile error.
2013-05-27 12:59:19 +02:00
Daviw Williams
d34ff02b0b
Updated documentation on error handling.
2013-05-24 16:31:36 +02:00
Daviw Williams
60205425db
Fixed warning about unreachable code.
2013-05-24 16:18:02 +02:00
Daviw Williams
d12a81d345
Log messages now automatically have std::endl applied, and work/behave similar to Qt logging functions.
2013-05-24 16:00:19 +02:00
Daviw Williams
c1461e7582
Added a null stream to suppress logging.
2013-05-24 13:51:52 +02:00
Daviw Williams
b12e6d045c
Added additional logging streams.
2013-05-24 13:26:26 +02:00
Daviw Williams
6c77e778dd
Added namespace qualifiers.
2013-05-22 15:18:08 +02:00
Daviw Williams
f3b0183013
Switching to a stream-based interface for logging.
2013-05-22 14:21:50 +02:00
Daviw Williams
efd4878450
Updated documentation.
2013-05-17 16:44:32 +02:00
Daviw Williams
ea4d6d3168
Added setVoxel() functions to replace setVoxelAt() functions in the same way that getVoxel() replaces getVoxelAt().
2013-05-17 16:36:04 +02:00
Daviw Williams
fa8e7c390f
replaced 'getVoxelWithWrapping()' with regular 'getVoxel()', as they can be differentiated by their parameters.
2013-05-17 15:52:18 +02:00
Daviw Williams
4765390ef6
Replaced bool parameter with 'BoundsCheck' parameter for a nicer API.
2013-05-17 14:51:14 +02:00
Daviw Williams
617834bed4
Made getVoxel() bounds checking optional, based on a function parameter.
2013-05-17 14:32:20 +02:00
Daviw Williams
db1c2bf0f8
Replaced 'code-block' with 'sourcecode'.
2013-05-16 16:19:38 +02:00
Daviw Williams
c806da9bb7
Compile fixes brought across from Cubiquity.
2013-05-16 16:17:01 +02:00
Daviw Williams
9fa0cc8a2a
Updated error handling documentation.
2013-05-16 11:12:27 +02:00
David Williams
7d0fc3e3d2
ErrorHandling.rst edited online with Bitbucket: It seems we need to use 'sourcecode' rather than 'code-block' to make the code show up in the BitBucket preview.
2013-05-16 08:43:43 +00:00
David Williams
afd5f0efc6
ErrorHandling.rst edited online with Bitbucket - Just a test commit to see if code copy-and-pastedfrom the BitBucket docs actually shows up in the user manual.
2013-05-16 08:37:50 +00:00
David Williams
2010b46709
ErrorHandling.rst edited online with Bitbucket: Trying to fix syntax highlighting in user manual.
2013-05-16 08:35:00 +00:00
Daviw Williams
2203e30f39
Added documentation on error handling.
...
Default log handler now suppresses LogLevels::Debug messages.
2013-05-15 17:01:57 +02:00
Daviw Williams
a1355f6d50
More work on improved logging.
2013-05-15 15:55:39 +02:00
Daviw Williams
1010052ea6
Reworking the logging system.
2013-05-14 16:52:16 +02:00
Daviw Williams
e405b46b61
Removed the default value for emptyVoxelExample as it caused compile errors on VS2010.
2013-05-14 15:44:56 +02:00
David Williams
ee299a45f0
Work on error handling. I replaced some asserts with exceptions and also added basic error handling documentation.
2013-05-11 10:05:08 +02:00
Matt Williams
62d164ef8a
Remove unnecessary assignment.
2013-05-10 09:44:15 +01:00
Matt Williams
edd2aecea2
Merge branch 'feature/raycast' into develop
...
Add a pickVoxel function. This closes issue #22 .
2013-05-09 21:03:14 +01:00
Matt Williams
22a6714875
Add a default constructor to PickResult to avoid brittle instatiation.
2013-05-09 20:56:10 +01:00
Matt Williams
f98959f92a
Add a new pickVoxel function.
...
Hopefully this pickVoxel function will fulfil most most need with
raycasting which aren't covered by the existing raycast functions.
It's essentially a wrapper around the current functions, using a custom
functor to store the position of a solid voxel as well as the previous
empty voxel. It doesn't require the user to provide a functor of their own,
just the value that they've assigned to empty voxels.
As well as the function itself, we also have a unit test as well as it
being built in the bindings.
2013-05-01 22:28:46 +01:00
Matt Williams
cb808ab593
Update copyright year for manual
2013-04-21 17:17:08 +01:00
Matt Williams
cc430ae129
Update Python bindings, tests and example to use Python 3
2013-04-17 20:48:15 +01:00
Matt Williams
60826b4c85
Add documentation and a tutorial for the Python bindings
...
This should cover most questions about the Python bindings but of course,
some things in the bindings is still subject to change.
2013-04-16 23:18:16 +01:00
Matt Williams
7473cd4458
Slightly simplify the Python code in the example
...
This is in preparation for the Python bindings manual chapter I'm writing
at the moment.
2013-04-16 23:00:06 +01:00
Daviw Williams
1d643becc5
Replaced std::exit with a crash.
2013-03-27 15:21:38 +01:00
David Williams
5cab70b24c
Fixed code to use proper zero initialisation.
2013-03-04 22:01:43 +01:00
Daviw Williams
6374ebf092
Apparently I didn't test my fix for warning 4127 because it didn't actually work. Now fixed :-)
2013-03-04 17:10:23 +01:00
Daviw Williams
23042c3fcb
Moved warning suppression into the relevant file so that it's not global.
2013-03-04 16:00:43 +01:00
Daviw Williams
df5c339f64
Just remembered that we settled on a different formatting for the API docs so that it gets highlighted better in KDE.
2013-03-04 15:36:11 +01:00
Daviw Williams
b4fcb3daf8
Added API documentation regarding compression.
2013-03-04 15:17:19 +01:00
Daviw Williams
74b4caba6b
Added some API docs to compressor.
2013-03-01 17:06:51 +01:00
Daviw Williams
d12db9906f
Updated note about why we #include the miniz.c file.
2013-03-01 16:33:31 +01:00
David Williams
a7e49a1394
Still trying to get rid of the warnings on the CDash machine. It's tricky because I'm not seeing the locally and the warning supression seems to vary bewteen vesions of GCC (See: http://dbp-consulting.com/tutorials/SuppressingGCCWarnings.html ).
2013-03-01 16:07:50 +01:00