OrthoSliceBorder Class Reference

VSG extension [PREVIEW] [Medical] Ortho slice shape node with border. More...

#include <Medical/nodes/OrthoSliceBorder.h>

Inheritance diagram for OrthoSliceBorder:
SoOrthoSlice SoSlice SoVolumeShape SoLdmShape SoShape SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 OrthoSliceBorder ()

Static Public Member Functions

static SoType getClassTypeId ()
static void initClass ()
static void exitClass ()

Public Attributes

SoSFBool border
SoSFColor borderColor
SoSFFloat borderWidth
SoSFBool renderSlice

Detailed Description

VSG extension [PREVIEW] [Medical] Ortho slice shape node with border.

This node is a subclass of SoOrthoSlice. It defines an ortho (axis aligned) slice along the X, Y, or Z axis of a volume defined by an SoVolumeData node.

In addition to the standard features of SoOrthoSlice, this node can render a border around the slice using the specified borderColor and borderWidth. See SoOrthoSlice for important details about slice rendering. Note that the SoOrthoSlice clipping feature does not affect rendering of the border.

The border color can be used, for example, to help the user see at a glance which axis each slice corresponds to. Another use is to change the border color when a slice is selected.

It is also possible to render only the border of the slice by setting the renderSlice field to false. This is useful if you want to display the slice image in a 2D view and also show the slice position in a 3D view (without the slice image). Create an SoOrthoSlice node in the 2D view. Then create an OrthoSliceBorder node in the 3D view, set its renderSlice field to false and connect its sliceNumber field to the sliceNumber field of the SoOrthoSlice node to keep the slices in sync.



InventorMedical, SoOrthoSlice, SoObliqueSlice, ObliqueSliceBorder

What is a Preview Feature ?:

Constructor & Destructor Documentation

OrthoSliceBorder::OrthoSliceBorder (  ) 


Member Function Documentation

static void OrthoSliceBorder::exitClass (  )  [static]

Finish using class (called automatically by InventorMedical::finish()).

Reimplemented from SoOrthoSlice.

static SoType OrthoSliceBorder::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoOrthoSlice.

virtual SoType OrthoSliceBorder::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoOrthoSlice.

static void OrthoSliceBorder::initClass (  )  [static]

Initialize class (called automatically by InventorMedical::init()).

Reimplemented from SoOrthoSlice.

Member Data Documentation

Enable drawing the border.

Default is true.

Border color.

Default is [0.84, 0.43, 0.02] (orange luminance 55%).

Border width in pixels.

Default is 3.

NOTE: field available since Open Inventor 10.3

Enable drawing the slice image.

Default is true. Note that setting this field to false makes the slice image invisible, but the slice is still detectable by picking. So, for example, an SoOrthoSliceDragger can still be used to interactively change the slice position.

NOTE: field available since Open Inventor 10.3

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

Open Inventor Toolkit reference manual, generated on 30 May 2021
Copyright © Thermo Fisher Scientific All rights reserved.