public void MemoryEfficientSetFrame(
RasterImage image,
int frameIndex,
DateTime captureTime,
bool remove
)
Public Overloads Sub MemoryEfficientSetFrame( _
ByVal image As RasterImage, _
ByVal frameIndex As Integer, _
ByVal captureTime As Date, _
ByVal remove As Boolean _
)
public:
void MemoryEfficientSetFrame(
RasterImage^ image,
int frameIndex,
DateTime captureTime,
bool remove
)
image
Leadtools.RasterImage used to fill a portion of the object.
frameIndex
The index that represents the place of the image to set in the 3D object.
captureTime
Creation time of the set frame. Get this value from the DICOM file.
remove
true to dispose of the image after copying its data and placing it in the 3D object; false, otherwise.
You need to call this method multiple times, each with a different frameIndex, in order to fill the 3D object. The number of times is based on the depth
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.
For an example, refer to Medical3DObject
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document