Reimplementation of 3D slicer CPR using pure VTK

Hello everyone,

I’m trying to develop 3d Slicer Curve Planar Reformation in my own PACS Viewer, specifically OHIF:

I’m looking to use VTK Wasm to implement this. My question is:
Since Slicer’s CPR extension is made specifically for Slicer, is it possible to translate those Slicer’s MRML abstractions to pure vtk/vtk.js code?
How should I approach this?