Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
InventorMedical Class Reference

VSG extension (Preview feature) [Medical] Initializes the Open Inventor Medical classes. More...

#include <Medical/InventorMedical.h>

Public Member Functions

 InventorMedical ()
 Constructor.
 

Static Public Member Functions

static void init ()
 Initializes all Open Inventor Medical classes.
 
static void finish ()
 Frees Open Inventor's internal static memory allocations.
 
static bool isInitialized ()
 Returns TRUE if module is currently initialized.
 

Detailed Description

VSG extension (Preview feature) [Medical] Initializes the Open Inventor Medical classes.

This class allows the application to conveniently initialize all classes in the Open Inventor Medical utility library.

The init() method must be called before creating any Medical nodes. The finish() method should be called when the application is shutting down.

NOTE:

The init() method automatically sets the following Open Inventor environment variables. These values are generally better than the default values for medical applications. If these values are not appropriate for your application, reset them after calling init().

  • LDM should keep uncompressed full-resolution tiles in memory.
    SoPreferences::setValue( "LDM_USE_IN_MEM_COMPRESSION", "0" );
  • LDM should build tiles by requesting full slices from the reader.
    SoPreferences::setValue( "LDM_USE_BUILDTILE_BY_SLICE", "1" );

SEE ALSO

DicomInfo, Gnomon, Magnifier, MedicalHelper, PlaneBoxIntersection, PlaneGeometryIntersection, Ruler, SceneView, SliceOrientationMarkers, SliceScaleBar, TextBox, ViewManager, VolumeMarchingCubes

Definition at line 98 of file InventorMedical.h.

Constructor & Destructor Documentation

◆ InventorMedical()

InventorMedical::InventorMedical ( )

Constructor.

Member Function Documentation

◆ finish()

static void InventorMedical::finish ( )
static

Frees Open Inventor's internal static memory allocations.

This avoids false positives from memory leak checking software. We recommend calling this method and it should be the last Open Inventor method called by the application.

◆ init()

static void InventorMedical::init ( )
static

Initializes all Open Inventor Medical classes.

This function should be called after initializing Open Inventor but before creating any Medical nodes.

◆ isInitialized()

static bool InventorMedical::isInitialized ( )
static

Returns TRUE if module is currently initialized.


The documentation for this class was generated from the following file: