SoMarkerListPointSet

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

Purpose

The SoMarkerListPointSet renders a MarkerList 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 it can be used together with the SoPointSpriteRenderer to render a huge amount 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

Specifies how the point color is defined, 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 enabled, the radius of each marker is provided as a 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

If this field is set to -1 all markers are rendered. If another value is selected, 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