DicomObjects.NET.V8
DicomObjects Namespace / DicomImage3D Class / Clip Method
The label containing a rectangle or line used to define the cut planes
The size of the area in which the image is displayed



In This Topic
    Clip Method
    In This Topic
    Apply clip planes to the display volume
    Syntax
    'Declaration
     
    Public Sub Clip( _
       ByVal Label As DicomLabel, _
       ByVal DisplayArea As Size _
    ) 
    'Usage
     
    Dim instance As DicomImage3D
    Dim Label As DicomLabel
    Dim DisplayArea As Size
     
    instance.Clip(Label, DisplayArea)
    public void Clip( 
       DicomLabel Label,
       Size DisplayArea
    )
    public:
    void Clip( 
       DicomLabel^ Label,
       Size DisplayArea
    ) 

    Parameters

    Label
    The label containing a rectangle or line used to define the cut planes
    DisplayArea
    The size of the area in which the image is displayed
    Remarks

    1 plane (for a line) or 4 planes (for a rectangle) are generated, each of which is orthogonal to the current display plane, and each includes, at that plane, the line(s) of the label. These are added to the CutPlanes collection, and may therefore subsequently be removed form that collection if necessary. The overall effect then when this method is used is to leave the image displayed only on one side of the line, or within the rectangle.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also