SoMarkerListPointSet

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoRenderers
definition SoRenderers.def

Purpose

The SoMarkerListPointSet renders an XMarkerList as points, using a SoPointSet. It can also provide per-marker radii, based on the direction vector contained in each marker.

Usage

This module can either be used to render markers as points or be combined with the SoPointSpriteRenderer to render a large number of markers as spheres using point sprites.

Input Fields

inMarkers

name: inMarkers, type: XMarkerList(MLBase)

The input marker list.

For accessing this object via scripting see the Scripting Reference: MLXMarkerListWrapper.

inStylePalette

name: inStylePalette, type: StylePalette(MLBase)

The optional style palette.

Parameter Fields

Visible Fields

Color Mode

name: colorMode, type: Enum, default: COLOR_BY_TYPE

Defines how the point color is obtained, including using the input style palette.

Values:

Title Name Description
Type COLOR_BY_TYPE Color by type of marker.
Index COLOR_BY_INDEX Color by index.
Id COLOR_BY_ID Color by id.

Sphere Radius Vertex Attribute

name: sphereRadiusVertexAttribute, type: Bool, default: FALSE

If checked, the radius of each marker is provided by a module SoVertexAttribute1f called “sphereRadius”.

This can be used in shaders, e.g., the SoPointSpriteRenderer can make use of it.

Timepoint to Render (-1=all)

name: timepointToRender, type: Integer, default: -1

Sets the time point of the markers to be rendered.

If this field is set to -1, all markers are rendered. If a value >=0 is set, only the markers with the corresponding time point value are rendered.

Hidden Fields

renderCaching

name: renderCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

boundingBoxCaching

name: boundingBoxCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

renderCulling

name: renderCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

pickCulling

name: pickCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO