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.
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
¶ Choose 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
¶ The radius of the cylinders when
Render Mode
is set to Cylinders.
Extents¶
-
name:
scale
, type:
Vector3
, default:
2 2 2
¶ Sets the size of the crosshair in x, y, and z direction.