Draw3DMacro

MacroModule

genre

Draw

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

definition

SimpleDraw3D.def

see also

Draw3D, Draw2D, LiveWire, RasterFunctions, Raster

keywords

point, line, box, text, interactive, segmentation, circle, roi, sphere, ellipsoid, cone, triangle, halfspace

Purpose

See help of Draw3D for further details.

Input Fields

inImg

name: inImg, type: Image

Output Fields

outImg

name: outImg, type: Image

Parameter Fields

Field Index

allowPosOutside: Bool

crOffZ: Double

rotZ: Double

applyThreshold: Bool

drawMode: Enum

scaleX: Double

autoUpdate: Bool

moveVectorInput: Vector3

scaleY: Double

borderMax: Double

numAvailUndos: String

scaleZ: Double

borderMin: Double

outputMask: Bool

text: String

canUndoAndRedraw: Bool

permitUndoing: Bool

voxSizeX: Double

clearPos: Trigger

pixCompute: Enum

voxSizeY: Double

crOffX: Double

rotX: Double

voxSizeZ: Double

crOffY: Double

rotY: Double

writeValue: Double

Hidden Fields

drawMode

name: drawMode, type: Enum, default: Voxel

Values:

Title

Name

Deprecated Name

Nothing

Nothing

Voxel

Voxel

Line

Line

Poly Line

PolyLine

2DFill

2DFill

3DFill

3DFill

Circle (center, radius)

Circle (center, radius)

Circle

Circle

Sphere (center, radius)

Sphere (center, radius)

Sphere

Sphere

Filled Circle (center, radius)

FilledCircle (center, radius)

Filled Circle

FilledCircle

Filled Sphere (center, redius)

FilledSphere (center, redius)

Filled Sphere

FilledSphere

Box

Box

String

String

Ellipse

Ellipse

VSized Ellipse

VSizedEllipse

VSized Box

VSizedBox

Cone

Cone

Triangle

Triangle

Parallelogram

Parallelogram

Four Point Plane

FourPointPlane

ForPointPlane

Two XTwo Point Plane

TwoXTwoPointPlane

Two XTwo Point Poly Plane

TwoXTwoPointPolyPlane

Half Space

HalfSpace

Max Coords

MaxCoords

voxSizeX

name: voxSizeX, type: Double, default: 1, minimum: 1, maximum: 1023, deprecated name: VSizeX

voxSizeY

name: voxSizeY, type: Double, default: 1, minimum: 1, maximum: 1023, deprecated name: VSizeY

voxSizeZ

name: voxSizeZ, type: Double, default: 1, minimum: 1, maximum: 1023, deprecated name: VSizeZ

applyThreshold

name: applyThreshold, type: Bool, default: FALSE

pixCompute

name: pixCompute, type: Enum, default: WriteVal

Values:

Title

Name

Write Val

WriteVal

Input Val

InputVal

Vis Vox + Write Val

VisVox + WriteVal

Vis Vox - Write Val

VisVox - WriteVal

Vis Vox * Write Val

VisVox * WriteVal

Vis Vox / Write Val

VisVox / WriteVal

Vis Vox ^ 2

VisVox ^ 2

Sqrt(Vis Vox)

Sqrt(VisVox)

Vis Vox Xor Write Val

VisVox Xor WriteVal

Vis Vox And Write Val

VisVox And WriteVal

Vis Vox Or Write Val

VisVox Or WriteVal

Vis Vox Invert

VisVox Invert

Vis Vox + Uniform Noise * Write Val

VisVox + UniformNoise * WriteVal

Vis Vox + Gauss Noise * Write Val

VisVox + GaussNoise * WriteVal

Vis Vox * (1 + Uniform Noise * Write Val)

VisVox * (1 + UniformNoise * WriteVal)

Vis Vox * (1 + Gauss Noise * Write Val)

VisVox * (1 + GaussNoise * WriteVal)

Min(Vis Vox,Write Val)

Min(VisVox,WriteVal)

Max(Vis Vox,Write Val)

Max(VisVox,WriteVal)

Input + Write Val

Input + WriteVal

Input - Write Val

Input - WriteVal

Input * Write Val

Input * WriteVal

Input / Write Val

Input / WriteVal

Input ^ 2

Input ^ 2

Sqrt(Input)

Sqrt(Input)

Input Xor Write Val

Input Xor WriteVal

Input And Write Val

Input And WriteVal

Input Or Write Val

Input Or WriteVal

Input Invert

Input Invert

Input + Uniform Noise * Write Val

Input + UniformNoise * WriteVal

Input + Gauss Noise * Write Val

Input + GaussNoise * WriteVal

Input * (1 + Uniform Noise * Write Val)

Input * (1 + UniformNoise * WriteVal)

Input * (1 + Gauss Noise * Write Val)

Input * (1 + GaussNoise * WriteVal)

Min(Input, Write Val)

Min(Input, WriteVal)

Max(Input, Write Val)

Max(Input, WriteVal)

writeValue

name: writeValue, type: Double, default: 2000, minimum: 0

autoUpdate

name: autoUpdate, type: Bool, default: TRUE

borderMin

name: borderMin, type: Double, default: 0

borderMax

name: borderMax, type: Double, default: 1000

clearPos

name: clearPos, type: Trigger

permitUndoing

name: permitUndoing, type: Bool, default: TRUE

canUndoAndRedraw

name: canUndoAndRedraw, type: Bool, persistent: no

numAvailUndos

name: numAvailUndos, type: String, persistent: no

scaleX

name: scaleX, type: Double, default: 1

scaleY

name: scaleY, type: Double, default: 1

scaleZ

name: scaleZ, type: Double, default: 1

rotX

name: rotX, type: Double, default: 1

rotY

name: rotY, type: Double, default: 0

rotZ

name: rotZ, type: Double, default: 0

crOffX

name: crOffX, type: Double, default: 0, deprecated name: CR\-OffX

crOffY

name: crOffY, type: Double, default: 12, deprecated name: CR\-OffY

crOffZ

name: crOffZ, type: Double, default: 0, deprecated name: CR\-OffZ

text

name: text, type: String, default: ABCMi, DEFG

outputMask

name: outputMask, type: Bool, default: FALSE

allowPosOutside

name: allowPosOutside, type: Bool, default: FALSE

moveVectorInput

name: moveVectorInput, type: Vector3, default: 0 0 0.5