Skip to content

Commit

Permalink
Added SPIERSversion utility
Browse files Browse the repository at this point in the history
This small utility will look through a directory and find .spv .sp2 .vaxml files, read them, and return the current file version number. This utility is designed to aid testing of the SPIERSedit and SPIERSview code by allowing people to easierly find the file version for testing.
  • Loading branch information
alanspencer committed Oct 29, 2018
1 parent 8ea4ce7 commit cea2ce2
Show file tree
Hide file tree
Showing 57 changed files with 2,818 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SPIERS.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
TEMPLATE = subdirs
SUBDIRS = SPIERSalign \
SPIERSedit \
SPIERSview \
SPIERSview \
SPIERSutility/SPIERSversion \
10 changes: 10 additions & 0 deletions SPIERSutility/SPIERSversion/.astylerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--style=allman
--indent=spaces=4
--align-pointer=name
--align-reference=name
--convert-tabs
--attach-namespaces
--max-code-length=200
--max-instatement-indent=120
--pad-header
--pad-oper
7 changes: 7 additions & 0 deletions SPIERSutility/SPIERSversion/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.pro.user
/docs/_build
/docs/_build/*
/docs/_templates
/docs/_templates/*
make.bat
Makefile
674 changes: 674 additions & 0 deletions SPIERSutility/SPIERSversion/LICENSE.md

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions SPIERSutility/SPIERSversion/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SPIERS View

Coded by:
- Mark Sutton (m.sutton@imperial.ac.uk)

Some additions and maintenance by:

- Alan R.T. Spencer (alan.spencer@imperial.ac.uk)
- Russell J. Garwood (russell.garwood@manchester.ac.uk)

<p align="center">
<img width="250" height="250" src="./resources/palaeoware_logo_square.png">
</p>

______

## Relevant references:
<b>Sutton, M.D., Garwood, R.J., Siveter, D.J. &amp; Siveter, D.J.</b> 2012. Spiers and VAXML; A software toolkit for tomographic visualisation, and a format for virtual specimen interchange. <a href="http://palaeo-electronica.org/content/issue-2-2012-technical-articles/226-virtual-palaeontology-toolkit"><i>Palaeontologia Electronica</i> 15(2): 15.2.5T</a>

______

SPIERS view is a piece of software for viewing 3D surface models in .spv and .vaxml+stl formats. More details are available in the documentation.
47 changes: 47 additions & 0 deletions SPIERSutility/SPIERSversion/SPIERSversion.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#------------------------------------------------------------------------------------------------
# SPIERSversion
#------------------------------------------------------------------------------------------------

TARGET = SPIERSversion

TEMPLATE = app

QT += network xml gui core widgets

CONFIG += qt \
release \
warn_on

RESOURCES = version.qrc

DESTDIR \
+= \
bin

UI_DIR += ui

# Load the SPIERS version number
include(../../version.pri)

DISTFILES += \
LICENSE.md \
.astylerc

MOC_DIR += build

OBJECTS_DIR += build

SOURCES += src/main.cpp \
src/mainwindow.cpp \
src/darkstyletheme.cpp \
src/globals.cpp \
src/aboutdialog.cpp \

HEADERS += src/mainwindow.h \
src/darkstyletheme.h \
src/globals.h \
src/main.h \
src/aboutdialog.h \

FORMS += ui/mainwindow.ui \
ui/aboutdialog.ui
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cea2ce2

Please sign in to comment.