Create3DObject_Create Method

Summary

Creates an empty object having the specified dimensions.

Syntax
C#
C++/CLI
public static void Create3DObject_Create( 
   string id, 
   int width, 
   int height, 
   int depth, 
   int bitPerPixel, 
   RenderingType renderingType, 
   int debuggingFlag 
) 
public:  
   static void Create3DObject_Create( 
       String^ id, 
      Int32 width, 
      Int32 height, 
      Int32 depth, 
      Int32 bitPerPixel, 
      RenderingType^ renderingType, 
      Int32 debuggingFlag 
   ) 

Parameters

id

The object's id.

width

The width of the 3D object, or the width of each frame of the frames used to create the 3D object.

height

The height of the 3D object, or the height of each frame of the frames used to create the 3D object.

depth

The depth of the 3D object, or the number of frames used to create the 3D object.

bitPerPixel

The bits per pixel of the volume data.

renderingType

The rendering type.

debuggingFlag

Value that determines whether to enable the debugging mode.

Remarks
  • To start creating a 3D an object, call CreateObject to create a new 3D object id .
  • Next, initialize the memory efficient feature by calling Create.
  • Then fill the volume with the data acquired from the slices by calling AddFrame repeatedly until all the slices have been added.
  • 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_Createmethod. Any areas not filled will be black when the object is rendered. After creating the volume, you can speed up loading it by caching it with Save3DObject.
Requirements

Target Platforms

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