Medical3DEngine Class

Summary
The Medical3DEngine class is used to check the 3D hardware specifications and validate the support. This class also handles the communication between the 3D toolkit and the MedicalViewer control.
Syntax
C#
C++/CLI
public class Medical3DEngine 
public ref class Medical3DEngine  
Remarks
  • This class consists of static methods and properties. You do not need to create an instance out of this class.
  • The DirectXVersion and IsValidDirectXVersion properties take a long time to compute. You should access these only when necessary and as few times as possible.
Example
C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.MedicalViewer; 
using Leadtools.Medical3D; 
 
public void Medical3DControlExample() 
{ 
   MainForm1 form = new MainForm1(); 
   form.ShowDialog(); 
} 
 
// MainForm1 will be the owner of the medical viewer control. 
class MainForm1 : Form 
{ 
   public MainForm1() 
   { 
      string DirectXVersion = Medical3DEngine.DirectXVersion; 
      bool IsValidDirectXVersion = Medical3DEngine.IsValidDirectXVersion; 
      bool VertexShaderAvailable = Medical3DEngine.VertexShaderAvailable; 
      bool PixelShaderAvailable = Medical3DEngine.PixelShaderAvailable; 
      int DedicatedGPUMemorySize = Medical3DEngine.DedicatedGPUMemorySize; 
      int SharedGPUMemorySize = Medical3DEngine.SharedGPUMemorySize; 
      int Maximum2DTextureDimension = Medical3DEngine.Maximum2DTextureDimension; 
      int Maximum3DTextureDimension = Medical3DEngine.Maximum3DTextureDimension; 
      bool HardwareShaderAvailable = Medical3DEngine.HardwareShaderAvailable; 
      bool TexturingAvailable = Medical3DEngine.TexturingAvailable; 
      bool TexturingBackBufferAvailable = Medical3DEngine.TexturingBackBufferAvailable; 
      bool BlendingAvailable = Medical3DEngine.BlendingAvailable; 
      bool ZOperationAvailable = Medical3DEngine.ZOperationAvailable; 
      bool HardwareCompatible = Medical3DEngine.HardwareCompatible; 
   } 
 
} 
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.

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