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

Target Schema #39

Open
ReinderVosDeWael opened this issue Sep 5, 2023 · 0 comments
Open

Target Schema #39

ReinderVosDeWael opened this issue Sep 5, 2023 · 0 comments
Assignees

Comments

@ReinderVosDeWael
Copy link
Contributor

ReinderVosDeWael commented Sep 5, 2023

classDiagram

Viewer .. Surface
Viewer .. VoxelVolume
Viewer .. VertexMap

class Viewer {
    Self init(htmlRootElement)

    Surface addSurface(NumberArray vertices, NumberArray faces)
    VertexMap addVertexMap(NumberArray intensities, colorFunctionOrColorName)
    VoxelVolume addVoxelVolume(voxelArray, affineArray)
}

class Surface {
    Self setVertexMap(VertexMap vmap)

    Method update(surfaceParams)
}

class VoxelVolume {
    # Not implemented yet
    Float32Array voxelArray
    Float32Array affineArray
}

class VertexMap {
    number[] intensity
    callable colorFun

    Method update(vertexMapParams)
}

class Legend {
    Self init(htmlRootElement)

    Method update(legendParams)
}

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant