Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit #72

Merged
merged 213 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
987b468
Create Volumetric class diagram.puml
jordig100 Dec 16, 2021
c9d76fd
Update Volumetric class diagram.puml
jordig100 Dec 17, 2021
db13c4f
Create Volumetric class diagram.svg
jordig100 Dec 17, 2021
ef58f07
Moved transforms
martinweismann Dec 17, 2021
3e3f2d5
Move transform to materialmappings
martinweismann Jan 13, 2022
a87ebcc
First draft of graph based spec
martinweismann Jan 18, 2022
9c08e06
Completed draft of 0.7
martinweismann Feb 3, 2022
0d9281d
Added presentation from the 2022/02/03-call
martinweismann Feb 3, 2022
4e14987
Add illustration of composed 3D vector field
martinweismann Feb 17, 2022
257ac9e
Fix TOC, imrpove section on other data formats
martinweismann Feb 17, 2022
dfe76e9
Add final chapter, add limitations
martinweismann Feb 17, 2022
cbb3905
Remove tylestile none (schema images missing!)
martinweismann Feb 17, 2022
e664833
Improve wording around 3D Texture Relationship
martinweismann Feb 17, 2022
496818b
Explain why no volumedata in originalmesh
martinweismann Feb 17, 2022
81af069
Improve clipping surface-section
martinweismann Feb 17, 2022
3f4dc4f
Clarify coordinate-systems and properties
martinweismann Feb 17, 2022
1610512
Compositing in linear space (#45)
martinweismann Mar 11, 2022
d194353
Use "normalize" instead of "interpret"
martinweismann Mar 17, 2022
03fb905
Add metadatagroup to propery-element
martinweismann Mar 17, 2022
1a4f79d
Add constant fields
martinweismann Mar 17, 2022
f38dd81
Update images of xsd
martinweismann Mar 17, 2022
283a07e
Add images for nearest neighbor and sampling
martinweismann Dec 10, 2021
b47b48d
Add precission for calculations
martinweismann Mar 17, 2022
8aeda24
Illustrate levelset representations
martinweismann Mar 17, 2022
88ff34a
Remove metadatagroup
martinweismann Mar 18, 2022
b056ab0
Add illustration for boundary
martinweismann Mar 18, 2022
56a1e21
Clarify thin surface layer (#53)
martinweismann Mar 18, 2022
192349a
Recommend at least single precission, increase minimal value for mate…
martinweismann Mar 31, 2022
4c04245
Fix incorrect coordinate system in 6-1a
martinweismann May 12, 2022
0faeb09
Clarify how properties must be assembled
martinweismann May 12, 2022
6b5d2bd
Clarify shared volumetric/surface context
martinweismann May 12, 2022
dadeb5b
Rename compositionspace linear to linearcolor
martinweismann Jun 20, 2022
45a89bb
Create implicit.xsd
3dJan Feb 1, 2023
6830ebc
[implicit.xsd] Types and nodes for matrix ops
3dJan Mar 24, 2023
3b5beb3
[implicit.xsd] Updating list of node elements
3dJan Mar 24, 2023
8ae5ea0
[implicit.xsd] Distance to Mesh
3dJan Mar 24, 2023
f3bc39c
Updating the matrix attribute of constmat and correcting examples
Apr 27, 2023
9c18d69
More consistent naming
3dJan May 30, 2023
aabc406
Adding examples, correcting naming in some cases
3dJan May 30, 2023
d2f35f0
Introducing length node
3dJan May 30, 2023
0b98b8e
Renaming Length funktion input X->A
3dJan Jun 2, 2023
2aba6f5
Introducing scalarfieldfunction and vector3dfieldfunction
3dJan Jun 2, 2023
329860a
Adding decomposevector
3dJan Jun 6, 2023
4955d53
[implicit.xsd] Add tag to CT_Node
3dJan Jun 19, 2023
34fa057
[implicit.xsd] Introducing resource Id and function id as input for m…
3dJan Jun 19, 2023
37e9088
[implicit] point -> pos to make naming more consistent
3dJan Jun 23, 2023
0dd540d
[implicit] Updating Function call definition
3dJan Jun 30, 2023
b8f26a3
Updating schema
3dJan Aug 25, 2023
48545e6
Adding new node types and the allowed input and output types
3dJan Aug 30, 2023
06f1da0
[implicit.xsd] Adding elements for new node types to function
3dJan Aug 30, 2023
1d82813
[implicit.xsd] fixing small errors reported by validator
3dJan Aug 30, 2023
9378af8
[volumetric.xsd] Adding minfeaturesize to each volume data element
3dJan Sep 1, 2023
6bb6d42
[implicit.xsd] Removing duplicated elements
3dJan Sep 1, 2023
8aa5986
[volumedata] outputname -> channel
3dJan Sep 4, 2023
044a01c
[volumetric.xsd] Adding meshbboxonly attribute to boundary
3dJan Sep 8, 2023
1f5c387
Updating class diagram with the 'implicit frist'-version provided by …
3dJan Sep 11, 2023
07be9e4
[Volumetric class diagram] Adding minfeaturesize and meshbboxonly
3dJan Sep 11, 2023
b51c387
Updating the Volumetric Extension document. Only Table of Contents is…
ewaldbrADSK Sep 22, 2023
db4b2f1
Updating schema in appendix
3dJan Sep 26, 2023
6757b57
Adding plantuml class diagram as overview for implicit
3dJan Sep 26, 2023
7ed00b4
Adding an list of the native nodes
3dJan Sep 26, 2023
f0e0778
[implicit.xsd] Making the inputs more consistent
3dJan Sep 26, 2023
b4691f1
[Volumetric spec] Adding specs for the nodes of an implicit function
3dJan Sep 26, 2023
350e32a
Removing vectorfield from spec
3dJan Oct 1, 2023
d38dbbc
Updating Reference types
3dJan Oct 1, 2023
9cb5aae
Making references to resources more consistent
3dJan Oct 1, 2023
9f19577
Removing FunctionId from schema
3dJan Oct 1, 2023
789468b
Updating the describtion of functionFromImage3d based on the former s…
3dJan Oct 1, 2023
05b0af6
Updating the volume data elements
3dJan Oct 2, 2023
3aacf40
Replacing mentioning of scalar fields
3dJan Oct 2, 2023
88eddef
Updating images
3dJan Oct 2, 2023
78bfe82
Adding links to the table of contents
3dJan Oct 2, 2023
9cce191
Corecting some minor inconsistencies
3dJan Oct 9, 2023
0bcda6b
<boundary>Removing solidthreshold attribute
3dJan Oct 18, 2023
d394942
Merge branch 'implicit' of github.com:3MFConsortium/spec_volumetric i…
3dJan Oct 18, 2023
a228740
Removing solidthreshold attribute from boundary
3dJan Oct 20, 2023
877c358
Restricting the allowed combinations of inputs and outputs
3dJan Oct 20, 2023
c4c812c
Making output names more consistent
3dJan Oct 31, 2023
39e0511
Merge branch 'implicit' of github.com:3MFConsortium/spec_volumetric i…
3dJan Oct 31, 2023
76e4d7d
matrix -> result
3dJan Oct 31, 2023
b675486
[Implicit] Adding introduction
3dJan Nov 3, 2023
ab59f7f
Forbid nodes with the names "inputs" and outputs"
3dJan Nov 7, 2023
8d159c6
[implicit] Introducing vectorfromscalar and unsignedmesh nodes
3dJan Nov 10, 2023
4802ebf
composematrixfromcolumnvectors -> matrixfromcolumns, composematrixfr…
3dJan Nov 10, 2023
b4adc53
Updating Specification
ewaldbrADSK Nov 30, 2023
7ed5c1b
Updating specification to resolve some inconsistencies.
ewaldbrADSK Dec 15, 2023
8368605
Updating editing
ewaldbrADSK Jan 4, 2024
9589695
Update Volumetric class diagram: Adding MatrixRef and ResourceRef
3dJan Jan 5, 2024
fabc90a
Adding fallback attribute to CT_Boundary, CT_Color, CT_MaterialMappin…
3dJan Jan 5, 2024
ee03080
fallback -> fallbackvalue
3dJan Jan 5, 2024
26aaf58
Updating spec based on conversations
ewaldbr2 Jan 8, 2024
b33086a
Merge pull request #59 from 3MFConsortium/ewaldb/UpdatingSpec
3dJan Jan 9, 2024
a70dc7e
Adding fallback values to images
3dJan Jan 11, 2024
d46e7fa
Update fig_overview_implicit.png
3dJan Jan 19, 2024
b5a6adf
[implicit.xsd] Nodes are now a xs:choice rather than a xs:sequence
3dJan Jan 19, 2024
2bee7a1
Adding outline to presentation
3dJan Jan 19, 2024
560d8e1
Using mermaid (builitin into github) for class diagram instead of pla…
3dJan Jan 22, 2024
9567114
Delete Volumetric class diagram.puml
3dJan Jan 22, 2024
73b6018
Revert "Delete Volumetric class diagram.puml"
3dJan Jan 22, 2024
129ca2e
Revert "Using mermaid (builitin into github) for class diagram instea…
3dJan Jan 22, 2024
896ab6c
Update Volumetric class diagram and image
3dJan Jan 23, 2024
459d46c
Update 3MF_Volumetric_2024_01_implicit.pptx
3dJan Jan 23, 2024
f5c8b43
schema cleanup
jordig100 Jan 29, 2024
1ca4efb
Update 3MF_Volumetric_2024_01_implicit.pptx
3dJan Jan 31, 2024
d33506c
Merge branch 'implicit' of github.com:3MFConsortium/spec_volumetric i…
3dJan Jan 31, 2024
e1ddd06
[implicit.xsd] Fixing wrong usage of xs:sequence
3dJan Jan 31, 2024
79c1f4b
[volumetric.xsd] Removing functionfromImage3d from CT_Function, allow…
3dJan Jan 31, 2024
a889fc0
schema fixes
jordig100 Jan 31, 2024
e5cb32f
Update 3MF_Volumetric_2024_01_implicit.pptx
3dJan Feb 1, 2024
957e9f7
Update implicit.xsd
3dJan Feb 9, 2024
372b6b0
Adding text to specify what makes a valid implict graph
ewaldbrADSK Feb 9, 2024
8fe39fd
Merge pull request #60 from 3MFConsortium/ewaldb/ImplicitNotes
ewaldbrADSK Feb 9, 2024
5ccd4a3
Updated schema to boundary shape
jordig100 Feb 22, 2024
123e64d
rename namespace to 3mf.io
jordig100 Feb 29, 2024
10d2c74
Boundary Shape modifications, WIP
ewaldbrADSK Mar 11, 2024
f776b9d
Updating plantuml diagram
3dJan Mar 13, 2024
849119b
Update BoundaryShape element in 3MF Volumetric Extension
3dJan Mar 13, 2024
7f073cc
<boundaryShape> -> <boundaryshape>
3dJan Mar 13, 2024
ad42043
Adding mod and distingushing it from fmod
3dJan Mar 19, 2024
ee79005
Replacing BoundaryShape with LevelSet
3dJan Apr 5, 2024
114f4b0
boundary -> level set
3dJan Apr 5, 2024
1e51152
Update Volumetric class diagram and add LevelSet class
3dJan Apr 5, 2024
ffb7e02
Merge branch 'implicit' into 3djan/levelset
3dJan Apr 5, 2024
6dab885
Update runs-on value in build.yml to use ubuntu-latest
3dJan Apr 8, 2024
2789e57
Merge pull request #61 from 3MFConsortium/3djan/levelset
3dJan Apr 8, 2024
03bdf45
Updating specification
ewaldbrADSK Apr 30, 2024
71a858b
Updating formatting
ewaldbrADSK Apr 30, 2024
bd0d674
fix schema function
jordig100 May 7, 2024
a9f7dd9
Update implicit.xsd
jordig100 May 7, 2024
0a9fb1b
implicit schema in md
jordig100 May 7, 2024
0fbb2a2
Simplified schemas
jordig100 May 9, 2024
e168f8a
Update implicit.xsd
jordig100 May 9, 2024
f601c15
Update implicit.xsd
jordig100 May 9, 2024
6180095
Reverted changes after today's discussion
jordig100 May 9, 2024
5dafb0f
update schema in MD
jordig100 May 9, 2024
537ff2d
ct_function fixes
jordig100 May 10, 2024
3619893
Update implicit.xsd
jordig100 May 10, 2024
04b3fc4
Merge pull request #62 from 3MFConsortium/jordig_implicit
3dJan May 10, 2024
cd44411
Adding a formatting script to handle synchronization of xsd and md files
ewaldbrADSK May 10, 2024
96193e0
Merge pull request #63 from 3MFConsortium/ewaldb/ImplicitReadthrough
ewaldbrADSK May 10, 2024
642fb54
Merge pull request #64 from 3MFConsortium/ewaldb/AddingAutoFormatting…
3dJan May 13, 2024
f2c4513
Updating element images for volumetric spec
3dJan May 13, 2024
770a970
[implicit.xsd] Adding mod node
3dJan May 13, 2024
03a64c4
[volumetric.xsd] CT_Ref as base for CT_MatrixRef andCT_ResourceRef
3dJan May 13, 2024
2708292
[volumetric.xsd] Adding elements for references
3dJan May 13, 2024
b39b712
Updating images
3dJan May 13, 2024
a7952b4
A few naming and layout fixes
3dJan May 13, 2024
94281db
Fixing case for filenames (might be an issue on case sensitive file s…
3dJan May 13, 2024
2dbf8e5
Merge pull request #65 from 3MFConsortium/3dJan/ImagesAndFigureRefere…
3dJan May 15, 2024
caecfa3
refactor function
jordig100 May 16, 2024
ff05d19
Merge branch 'implicit' into jordi_implicit2
jordig100 May 16, 2024
a0087cc
merge from CT_mod addition
jordig100 May 16, 2024
3ac2ead
move CT_Output to implicits
jordig100 May 16, 2024
444e9b6
[volumetric.xsd] CT_Function without in and out. CT_FunctionFromImage…
3dJan May 21, 2024
de4ee70
[implicit.xsd] CT:ImplicitFunction based on vol:CT_Function, no "filt…
3dJan May 21, 2024
3c26b29
[volumetric.xsd] removing now duplicated attributes in CT_FunctionFro…
3dJan May 21, 2024
f829b02
Merge pull request #68 from 3MFConsortium/3djan/merge_jordi_implicit2
3dJan May 21, 2024
5ca38c1
Use BasicNodeTypes group for node elements
3dJan Jun 4, 2024
73857e9
Renaming the node type resourceid to constresourceid
3dJan Jun 4, 2024
1f6bb19
Rename node type resourceid to constresourceid (now also in the templ…
3dJan Jun 4, 2024
c66e505
Merge pull request #69 from 3MFConsortium/3djan/nodegroup_and_elements
3dJan Jun 4, 2024
e961195
[implicit.xsd] Correcting typo in comment
3dJan Jun 4, 2024
314fa01
Merge branch 'implicit' of github.com:3MFConsortium/spec_volumetric i…
3dJan Jun 4, 2024
e84c202
[implicit.xsd} Refactor node element names to use xs:element ref inst…
3dJan Jun 4, 2024
e4b87bd
element ref
jordig100 Jun 4, 2024
2116afe
Merge branch 'implicit' into jordi_schema_improve
jordig100 Jun 5, 2024
cf2927a
Merge pull request #70 from 3MFConsortium/jordi_schema_improve
3dJan Jun 5, 2024
8f4b10b
Updating diagrams
3dJan Jun 10, 2024
efa3a13
slides for upcoming f2f
3dJan Jun 10, 2024
adcc057
[implicit.xsd] moving minOccurs and maxOccurs to upper level
3dJan Jun 14, 2024
e8074a1
Updating slides
3dJan Jun 14, 2024
1dec995
[3MF Volumetric Extension Template] replacing v:function with implici…
3dJan Jun 14, 2024
da17f3e
implicitfunction in implicit namespace
3dJan Jun 14, 2024
69645ee
[volumetric.xsd] Removing the 'channel' attribute from CT_FunctionFro…
3dJan Jul 5, 2024
79413b0
Moving Levelset in its own chapter
3dJan Jul 31, 2024
7766b86
Running Formatter.py to apply template
3dJan Jul 31, 2024
68bde66
correcting typo
3dJan Jul 31, 2024
ea00add
use 'i:mesh' instead of 'mesh' tag
3dJan Jul 31, 2024
82f81e9
Adding python script for applying namespace prefixes to xml snipplets
3dJan Jul 31, 2024
6cd6947
Adding namespace prefixes to the xml snipplets
3dJan Jul 31, 2024
6fb4c2b
Refactor variable name 'implict' to 'implicit'
3dJan Jul 31, 2024
cd755bb
Impoving implicit example to explain references
3dJan Aug 1, 2024
ee004c8
Example for a functioncall
3dJan Aug 1, 2024
6445106
formatting
3dJan Aug 2, 2024
67d1b26
Consistent formatting for xml tags
3dJan Aug 2, 2024
2ed5eed
Improving formatting
3dJan Aug 2, 2024
b16632b
formatting
3dJan Aug 2, 2024
843c85d
[Overview of Volumetric Additions] levelset is requiered, volumedata …
3dJan Aug 2, 2024
c063994
[implicit.xsd] Correcting annotation of CT_UnsignedDistanceToMesh
3dJan Aug 5, 2024
ad3af0d
Syncing functionfromimage3d image with spec and schema
3dJan Aug 5, 2024
6497051
Merge pull request #71 from 3MFConsortium/3djan/implicit_improvements
3dJan Aug 5, 2024
a863e36
[volumetric.xsd] Removing now unused enum for channel names
3dJan Aug 5, 2024
24bee0b
Clarify meaning of the "pos" input of functionFromImage3D
3dJan Aug 5, 2024
14e29e3
Removing non intended characters
3dJan Aug 5, 2024
8f09e7d
Updating images
3dJan Aug 5, 2024
6aefb96
Explaining namespace prefixes
3dJan Aug 5, 2024
6745f88
Improving annotations of output channels of functionFromImage3D
3dJan Aug 8, 2024
0ba8e41
Updating <volumedata> in example snippet to become a resource
3dJan Aug 16, 2024
88dcf16
Update <volumedata> element to extend resource for use by Shape
3dJan Aug 16, 2024
8aa1786
running fix for markdown formatting issues
3dJan Aug 16, 2024
40b477d
Moving DataTypes to part II
3dJan Aug 16, 2024
38d4a25
Considering the renaming of i:function into i:implicitfunction in the…
3dJan Aug 22, 2024
c035c16
Use capital RGB
jordig100 Aug 23, 2024
03fb767
Corrections based on Jim's feedback
3dJan Aug 27, 2024
caf9680
Merge branch 'implicit' of ssh://ssh.github.com:443/3MFConsortium/spe…
3dJan Aug 27, 2024
341e40a
Adding missing displayname attributes
3dJan Sep 3, 2024
dcf8b4d
Updating figure numbering
3dJan Sep 5, 2024
1fa1c8e
Adding note to <functionfromimage3d> documentation for UVW coordinates
3dJan Sep 5, 2024
7fb459d
Correcting figure reference
3dJan Sep 12, 2024
950c8ee
Promoting status from Draft to Pre-release
3dJan Sep 20, 2024
d5d7ecb
Update GitHub Actions to use latest versions of checkout and upload-a…
3dJan Sep 20, 2024
d9ac3b0
Add disclaimer to 3MF Volumetric Extension Template and clarify pre-r…
3dJan Sep 20, 2024
e90d400
include logo in the header
3dJan Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ on: [pull_request]
name: Build
jobs:
build-linux:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
SPECNAME: "3MF Volumetric Extension"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true
- run: pip install wheel
- run: pip install grip
- run: ./markdownToPDF/install_wkhtmltopdf.sh
- run: ./markdownToPDF/mdToPDF.sh "$SPECNAME"
- name: Upload PDF
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.SPECNAME }}.pdf
path: ${{ env.SPECNAME }}.pdf
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.vscode
examples
out
.vs
2,898 changes: 2,898 additions & 0 deletions 3MF Volumetric Extension Template.md

Large diffs are not rendered by default.

6,542 changes: 5,944 additions & 598 deletions 3MF Volumetric Extension.md

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions Formatter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import os


if __name__ == '__main__':
# Get the current working directory
cwd = os.getcwd()


# check if the template file exists
if not os.path.exists(f'{cwd}/3MF Volumetric Extension Template.md'):
exit(1)

# check if the implicit.xsd and the volumetric.xsd files exist
if not os.path.exists(f'{cwd}/implicit.xsd') or not os.path.exists(f'{cwd}/volumetric.xsd'):
exit(1)

template = None
with open(f'{cwd}/3MF Volumetric Extension Template.md', 'r') as file:
template = file.read()

implicit = None
with open(f'{cwd}/implicit.xsd', 'r') as file:
implicit = file.read()

volumetric = None
with open(f'{cwd}/volumetric.xsd', 'r') as file:
volumetric = file.read()

# Volumetric placeholder is VOLUMETRIC_SCHEMA_INSERT
template = template.replace('VOLUMETRIC_SCHEMA_INSERT', "```xml\n" + volumetric + "```")

# Implicit placeholder is IMPLICIT_SCHEMA_INSERT
template = template.replace('IMPLICIT_SCHEMA_INSERT', "```xml\n" + implicit + "```")

with open(f'{cwd}/3MF Volumetric Extension.md', 'w') as file:
file.write(template)

235 changes: 235 additions & 0 deletions Volumetric class diagram.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
@startuml name
title 3MF Volumetric & Implicit
'left to right direction
top to bottom direction

package Resources
{
Class Object
Class Mesh extends Object

Class LevelSet extends Object
{
functionid : resourceID
channel : string
transform : Matrix
minfeaturesize : double
meshbboxonly : bool
fallbackvalue : double
solidthreshold : double
meshid : resourceID
volumeid : resourceID
}
Class VolumeData
Mesh *-- VolumeData
LevelSet *-- VolumeData

package Functions
{
Class Function
{
id: resourceID
displayname: string
}

Function *-- "1" Input
Function *-- "1" Output

Class FunctionFromImage3d extends Function
{
image3did : resourceID
valueoffset: double
valuescale: double
filter : string
tilestyleu : string
tilestylev : string
tilestylew : string
}
FunctionFromImage3d o-- "1" Image3D

Class FunctionImplicit extends Function
{
xmlns: implicit
}
FunctionImplicit *-- "0..*" Node_

Class PrivateExtensionFunction extends Function
{
xmlns: XYZ
}
}
package VolumetricData
{
Class Color
{
functionid : resourceID
minfeaturesize : double
fallbackvalue : double
}

Class Property
{
name : string
functionid : resourceID
minfeaturesize : double
fallbackvalue : double
}

Class Composite
{
basematerialid : resourceID
}

Class MaterialMapping
{
functionid : resourceID
minfeaturesize : double
fallbackvalue : double
}

VolumeData *-- "0..1" Color
VolumeData *-- "0..*" Property
VolumeData *-- "0..1" Composite
Composite *-- "1..*" MaterialMapping

Color o-- "1" Function
Property o-- "1" Function
MaterialMapping o-- "1" Function
}

}



package Image3D
{
Class Image3D
{
id : resourceID
name : string
}

Class ImageStack extends Image3D
{
rowcount : int
colcount : int
sheetcount : int
}

Class ImageSheet
{
path : string (PNG)
}

ImageStack *-- "1..*" ImageSheet
}

package DataTypes
{
Class ScalarRef
{
identifer: string
}

Class VectorRef
{
identifer: string
}

Class MatrixRef
{
identifer: string
}

Class ResourceRef
{
identifer: string
}

class Scalar{}
class Vector{}
class Matrix{}

ScalarRef o-- "0..*" Scalar
VectorRef o-- "0..*" Vector
MatrixRef o-- "0..*" Matrix
ResourceRef o-- "0..*" Mesh
ResourceRef o-- "0..*" Image3D
ResourceRef o-- "0..*" Function
}

package FunctionArguments
{
Class Input
{

}
Class Output
{

}
Input *-- "0..*" Scalar
Input *-- "0..*" Vector
Input *-- "0..*" Matrix
Output *-- "0..*" ScalarRef
Output *-- "0..*" VectorRef
Output *-- "0..*" MatrixRef
}

package NodeArguments
{
Class In
{

}
Class Out
{

}
Out *-- "0..*" Scalar
Out *-- "0..*" Vector
Out *-- "0..*" Matrix
In *-- "0..*" ScalarRef
In *-- "0..*" VectorRef
In *-- "0..*" MatrixRef
}



package Native
{
Class Node_
{
xmlns: implicit

identifier: string
displayname: string
}

Class Addition extends Node_
{
}

Class Min extends Node_
{
}

Class MatVecMul extends Node_
{
}

Class FunctionCall extends Node_
{
functionID : ResourceRef
}

Class Mesh extends Node_
{
mesh : ResourceRef
}

Node_ *-- "0..1" In
Node_ *-- "0..1" Out
}

@enduml
1 change: 1 addition & 0 deletions Volumetric class diagram/Volumetric class diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading