How to show the vtk object which links 3x ranges in 3x different slices?

Hi Slicer Experts:

Background is: we have one CT image in Slicer,and we want to draw 3x ranges(with rectangle format ) in 3x different slices,then we want to link these 3x ranges and show it as cuboid.
Now we can get the start point and end point for each rectangles,but we dont know how to link them.

Any suggestions would be appreciated.

Thanks,
Chunbo

Hi Chunbo -

Can you explain a bit more what you mean by “3x ranges” and what you mean by linking them? Maybe you could draw a picture of what you have in mind?

-Steve

@spring Do you mean you would need something like annotation ROI box?

image

Hi Steve,

Thanks for your reply.

Below screenshot can show our requirement.
image

There are 3x slices which located at different positions, we want to link them as one cuboid,and use interpolation to show the middle slices.
It seems we should create one specific vtk object to contain it. Could you share some suggestions?

Thanks and Regards,
Chunbo

Thanks Lasso,

Yes,the ROI box can create the similar ranges.

The only one difference is:ROI box was based on the specific slice,and the box’s depth is fixed.We want to create one object likes vtk’s cuboid to connect those 3x different slices.

To achieve that, create vtkMRMLTransformNode to your scene and set a vtkGridTransform with 2x2x3 points. Each point specifies how each slice corner point is displaced relative to original corner point position.

1 Like