RasterMacro

MacroModule

genre

Generators

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

definition

RasterMacro.def

see also

Raster

keywords

Sphere, Box, Cylinder, Cone, Binary

Purpose

The module RasterMacro generates a binary (test) image with some standard shape voxelized into it.

Read more information in the help files of the modules Raster and RasterFunctions.

Windows

Main

../../../Modules/Macros/RasterMacro/mhelp/Images/Screenshots/RasterMacro.Main.png

Output Fields

imgOut

name: imgOut, type: Image

Parameter Fields

Field Index

Backgr. Value: Double

Y: Integer

Data Type: Enum

Z: Integer

Function: Enum

Rotation: Rotation

Scale: Vector3

Translation: Vector3

Write Value: Double

X: Integer

Visible Fields

X

name: sizeX, type: Integer, default: 32, minimum: 1, maximum: 1.07374e+09

Sets the x-extent of the output image.

Y

name: sizeY, type: Integer, default: 32, minimum: 1, maximum: 1.07374e+09

Sets the y-extent of the output image.

Z

name: sizeZ, type: Integer, default: 32, minimum: 1, maximum: 1.07374e+09

Sets the z-extent of the output image.

Data Type

name: datatype, type: Enum, default: float

Defines the data type of the output image.

Values:

Title

Name

int8

int8

unsigned int8

unsigned int8

int16

int16

unsigned int16

unsigned int16

int32

int32

unsigned int32

unsigned int32

float

float

double

double

int64

int64

unsigned int64

unsigned int64

complexf

complexf

complexd

complexd

quaternionf

quaternionf

quaterniond

quaterniond

vec2

vec2

vec3

vec3

vec4

vec4

vec5

vec5

vec6

vec6

vec7

vec7

vec8

vec8

vec9

vec9

vec10

vec10

vec16

vec16

vec32

vec32

vec64

vec64

Vector2i8

Vector2i8

Vector2i16

Vector2i16

Vector2i32

Vector2i32

Vector2i64

Vector2i64

Vector3i8

Vector3i8

Vector3i16

Vector3i16

Vector3i32

Vector3i32

Vector3i64

Vector3i64

Vector4i8

Vector4i8

Vector4i16

Vector4i16

Vector4i32

Vector4i32

Vector4i64

Vector4i64

Vector5i8

Vector5i8

Vector5i16

Vector5i16

Vector5i32

Vector5i32

Vector5i64

Vector5i64

Vector6i8

Vector6i8

Vector6i16

Vector6i16

Vector6i32

Vector6i32

Vector6i64

Vector6i64

Vector7i8

Vector7i8

Vector7i16

Vector7i16

Vector7i32

Vector7i32

Vector7i64

Vector7i64

Vector8i8

Vector8i8

Vector8i16

Vector8i16

Vector8i32

Vector8i32

Vector8i64

Vector8i64

Vector9i8

Vector9i8

Vector9i16

Vector9i16

Vector9i32

Vector9i32

Vector9i64

Vector9i64

Vector10i8

Vector10i8

Vector10i16

Vector10i16

Vector10i32

Vector10i32

Vector10i64

Vector10i64

Vector16i8

Vector16i8

Vector16i16

Vector16i16

Vector16i32

Vector16i32

Vector16i64

Vector16i64

Vector32i8

Vector32i8

Vector32i16

Vector32i16

Vector32i32

Vector32i32

Vector32i64

Vector32i64

Vector64i8

Vector64i8

Vector64i16

Vector64i16

Vector64i32

Vector64i32

Vector64i64

Vector64i64

mat2

mat2

mat3

mat3

mat4

mat4

mat5

mat5

mat6

mat6

matf2

matf2

matf3

matf3

matf4

matf4

matf5

matf5

matf6

matf6

vecf2

vecf2

vecf3

vecf3

vecf4

vecf4

vecf5

vecf5

vecf6

vecf6

vecf7

vecf7

vecf8

vecf8

vecf9

vecf9

vecf10

vecf10

vecf16

vecf16

vecf32

vecf32

vecf64

vecf64

Write Value

name: writeVal, type: Double, default: 1500

Sets the object value.

Backgr. Value

name: backVal, type: Double, default: 0

Sets the background value.

Function

name: function, type: Enum, default: Box

Defines the function that is to be rastered into the output image.

Values:

Title

Name

Fill

Fill

Box

Box

Sphere

Sphere

Cylinder

Cylinder

Clip Plane

ClipPlane

Wedge

Wedge

Open Wedge

OpenWedge

Cone

Cone

Open Cone

OpenCone

Half Sphere

HalfSphere

Quarter Sphere

QuarterSphere

Eighth Sphere

EighthSphere

Slab

Slab

Translation

name: translation, type: Vector3, default: 16 16 16

Sets a translation of the rastered shape in voxel space.

Scale

name: scale, type: Vector3, default: 10 10 10

Sets a 3D scale factor for the rastered shape.

Rotation

name: rotation, type: Rotation, default: 0 0 0 0

Sets a rotation of the rastered shape.