SoCrosshair

InventorModule

genre

Interaction

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoUtils

definition

utils.def

see also

SoDragPointDragger, SoLineSet

keywords

position, lines, marker, cursor, selection, selector

Purpose

The module SoCrosshair renders a crosshair in 3D.

Optionally, the crosshair can interactively be positioned with draggers.

Windows

Default Panel

../../../Modules/Inventor/SoUtils/mhelp/Images/Screenshots/SoCrosshair._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

boundingBoxCaching: Enum

renderCulling: Enum

Cylinder Radius: Float

Type: Enum

Dragger Pos: Vector3

Use dragger: Bool

Extents: Vector3

pickCulling: Enum

Position: Vector3

Render Mode: Enum

renderCaching: Enum

Visible Fields

Type

name: crosshairType, type: Enum, default: CROSS_HAIR_0, deprecated name: crossHairType

Defines the type of the crosshair.

Values:

Title

Name

​0

​CROSS_HAIR_0

​1

​CROSS_HAIR_1

​2

​CROSS_HAIR_2

Render Mode

name: renderMode, type: Enum, default: Lines

Defines the render mode of the cross hair.

Values:

Title

Name

Description

​Lines

​Lines

​Lines are used for the cross hair.

​Cylinders

​Cylinders

​Cylinders are used for the cross hair.

Cylinder Radius

name: cylinderRadius, type: Float, default: 0.1

Sets the radius of the cylinders if Render Mode is set to Cylinders.

Position

name: position, type: Vector3, default: 0 0 0

Sets the position of the crosshair.

Extents

name: scale, type: Vector3, default: 2 2 2

Sets the size of the crosshair in x, y, and z direction.

Use dragger

name: useDragger, type: Bool, default: FALSE

If checked, the module provides a dragger to interactively position it in 3D.

Dragger Pos

name: positionOut, type: Vector3, persistent: no

Shows the position of the internal dragger.

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