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

In This Topic
    TranslateNormal Method (DicomImageFusion)
    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
    Remarks
    For a DicomImageFusion object, this passes the transformation on to all images in the collection which support IProjection
    Example
    DicomImage image = new DicomImage("your_3D_dicom_image.dcm);
    DicomVolume volume = new DicomVolume(image);
    DicomImage3D image3D = new DicomImage3D(volume, RenderMode3D.MPR);
    DicomImageCollection collection3D = new DicomImageCollection()
    {
        image3D
    }
    DicomImageFusion fusedImage = new DicomImageFusion(collection3D);
                        
    float normalOffset = 15.0f;
    fusedImage.TranslateNormal(normalOffset);
    Viewer.Images.Add(fusedImage);
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also