DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage3D Class / TranslateNormal Method
The distance, measured in real world mm
Example

In This Topic
    TranslateNormal Method (DicomImage3D)
    In This Topic
    Move the centre point of the view by the specified distance, normal to the current view plane
    Syntax
    'Declaration
     
    
    Public Sub TranslateNormal( _
       ByVal Offset As System.Single _
    ) 
    public void TranslateNormal( 
       System.float Offset
    )

    Parameters

    Offset
    The distance, measured in real world mm
    Example
    DicomImage image = new DicomImage("your_3D_dicom_image.dcm");
    DicomVolume volume = new DicomVolume(image);
                        
    RenderMode3D renderMode = RenderMode3D.MPR;
    DicomImage3D image3D = new DicomImage3D(volume, renderMode);
                        
    float offset = 5.0f;
    image3D.TranslateNormal(offset);
    Viewer.Images.Add(image3D);
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also