Mapper for severeal cubes

Hi all,

I’m currently get used to vtk.js and trying to build a custom mapper which is similar to the SphereMapper or StickMapper but works for cubes or any other vtk source object.
Is there a simple way to tell the mapper that it should create cubes for each point of a PolyData object with given x,y,z length (resp. any property the given source needs) also defined within the PolyData? Or is there another way which I haven’t found so far?

Thanks a lot in advance!

You might want to consider the GlyphMapper.