←Select platform

MemoryEfficientSetFrame(RasterImage,Int32,DateTime,Boolean) Method

Summary

Fills the 3D object with data from the specified Leadtools.RasterImage sent through the

image
paramete4r.

Syntax

C#
VB
C++
public void MemoryEfficientSetFrame(  
   Leadtools.RasterImage image, 
   int frameIndex, 
   DateTime captureTime, 
   bool remove 
) 
Public Overloads Sub MemoryEfficientSetFrame( _ 
   ByVal image As Leadtools.RasterImage, _ 
   ByVal frameIndex As Integer, _ 
   ByVal captureTime As Date, _ 
   ByVal remove As Boolean _ 
) 
public: 
void MemoryEfficientSetFrame(  
   Leadtools.RasterImage^ image, 
   int frameIndex, 
   DateTime captureTime, 
   bool remove 
) 

Parameters

image** paramete4r.

frameIndex
The index that represents the place of the

image
paramete4r.

captureTime
Creation time of the set frame. Get this value from the DICOM file.

remove
true to dispose of the

image
paramete4r.

Remarks
  • Add the Medical3DObject to the Medical3DContainer before using this method. Refer to the Medical3DContainer.Objects collection.
  • Initialize the efficient memory feature before using this method. To do so, use the MemoryEfficientInit method.
  • You need to call this method multiple times, each with a different

    frameIndex*
    The index that represents the place of the
    image
    ** paramete4r. depth
    The depth of the 3D object, or the number of frames used to create the 3D object.

    parameter used when calling MemoryEfficientInit.

  • You do not need to set frames in order. However, you need to fill the whole object by covering all the indexes from 0 to depth - 1. The area that was not filled will be black when rendering the object.

  • this overloaded method is used when you want to sort the series frames based on their InstanceCreationTime DICOM tag.
Example

For an example, refer to Medical3DObject

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Medical3D Assembly
Click or drag to resize