The cut-plane feature allows the user to generate a slice that results from cutting through a stack of images. The cut line is represented by a thick colored line with a variaty of handles. In order to be able to use the cut line, you must have a stack of images with at least 3 frames. The double cut-plane feature consists of two cut-lines that are always perpendicular to each other.
Creating a cut-plane
To create a cut-plane you must create a MedicalViewerCell with a multi frame image (the number of images must be at least 3 frames). For the most accurate results, you should pass the ImagePosition of each frame.
Handling the cut-line using the mouse
There are 5 handles in the cut-line: two on the far side, two on the near side and one in the middle. The middle handle is the rotation point, which will act as a center point of rotation when the user rotates the cut-line. Also, by clicking and dragging the center point, the cut-plane will be moved. The two handles on the far side are used to rotate the cut-line around the center point. In the case of a double cut-line, the first cut-line will rotate and will keep the second cut-line perpendicular to the first. The two handles on the near side are used to control the thickness of the generated slice. By dragging either one, you will expand the thickness range to view a thicker slice.
By clicking on the cut-line body (the line itself), you can draw the cut-line in a perpendicular manner (imagine the perpendicular line as coming out of the cut-line. This perpendicular line will act as a rail for the cut-line).
The cut-plane properties
You can determine the cell that holds the generated slice through the MedicalViewerPlaneCutLine.DerivativeCell property. In case of the double cut-line, you can determine the cells that hold the generated slices through the MedicalViewerDoublePlaneCutLine.FirstDerivativeCell and SecondDerivativeCell properties.
You can determine the color of the cut-line through the MedicalViewerPlaneCutLine.Color property. In the case of the double cut-line, you can determine the color of the cut-lines through the MedicalViewerDoublePlaneCutLine.FirstLineColor and SecondLineColor properties.
You can change the position of the cut-line or double cut-lines using the Point1 and Point2 properties.