From 3f47167c9d90631a2477cbfe0416cb0f6f88bf8b Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Wed, 10 Jul 2019 11:49:21 +0300 Subject: [PATCH] Basic readme --- README.md | 11 +++++++++++ .../kotlin/hep/dataforge/vis/common/VisualObject.kt | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..783d9995 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# DataForge plugins for visualisation + +## Common visualisation objects + +## JavaFX utilities for meta manipulations + +## 3D visualisation + +Includes common discription and serializers, JavaFX and Three.js implementations. + +## GDML bindings for 3D visualisation (to be moved to gdml project) diff --git a/dataforge-vis-common/src/commonMain/kotlin/hep/dataforge/vis/common/VisualObject.kt b/dataforge-vis-common/src/commonMain/kotlin/hep/dataforge/vis/common/VisualObject.kt index a15b15b8..40e877ba 100644 --- a/dataforge-vis-common/src/commonMain/kotlin/hep/dataforge/vis/common/VisualObject.kt +++ b/dataforge-vis-common/src/commonMain/kotlin/hep/dataforge/vis/common/VisualObject.kt @@ -21,8 +21,9 @@ interface VisualObject : MetaRepr { val properties: Styled - override fun toMeta(): Meta = buildMeta(properties) { + override fun toMeta(): Meta = buildMeta { "type" to this::class + "properties" to properties } companion object {