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
.
Parameter Fields¶
Field Index¶
boundingBoxCaching : Enum |
Color Mode : Enum |
pickCulling : Enum |
renderCaching : Enum |
renderCulling : Enum |
Sphere Radius Vertex Attribute : Bool |
Timepoint to Render (-1=all) : Integer |
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. theSoPointSpriteRenderer
can make use of it.