Create3DObject_AddFrame Method

Summary

Adds a data slice to the 3D object from the specified Leadtools.RasterImage.

Syntax
C#
C++/CLI
public static void Create3DObject_AddFrame( 
   string id, 
   RasterImage image, 
   string fileName, 
   int index, 
   float[] imagePosition, 
   float slope, 
   float intercept, 
   int width, 
   int center 
) 
public:  
   static void Create3DObject_AddFrame( 
       String^ id, 
      RasterImage^ image, 
      String^ fileName, 
      Int32 index, 
      array<Single>^ imagePosition, 
      Single slope, 
      Single intercept, 
      Int32 width, 
      Int32 center 
   ) 

Parameters

id

The 3D object's id.

image

The Leadtools.RasterImage used to fill a portion of the object.

fileName

The original file name of the raster image.

index

The index that represents the place in the 3D object in which the image is set.

imagePosition

The position of the frame being set. Get this value from the DICOM file.

slope

The slope of the slice. Retrieve this information from the DicomDataSet.

intercept

The intercept of the slice. Retrieve this information from the DicomDataSet.

width

The window level width value of the slice.

center

The window level center value of the slice.

Remarks
  • To start creating a 3D volume of an object, refer to CreateObject
  • First, initialize the memory efficient feature by calling the Create3DObject_Create method.
  • Then you need to fill the volume with the data acquired from the slices using the Create3DObject_AddFrame method.
  • Set the frames in any order. However, be sure to fill the entire object by covering all the indexes from 0 to (_depth_ - 1), by calling the Create3DObject_Create method. Any areas not filled will be black when the object is rendered.
  • After all the frames are sent, call the Create3DObject_Close method. Create3DObject_Close ends object creation and makes the object ready to be displayed.
Requirements

Target Platforms

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.