/ . / Mask / maskcommand.py
Functions
|
|
|
parse_value
|
parse_value (
key,
fields,
value_func=None,
default=None,
)
Exceptions
|
|
MidasError, 'Missing %s value' % key
MidasError, 'Invalid %s value "%s"' %(key, fields [ f + 1 ] )
|
|
|
surfaces_from_specifier
|
surfaces_from_specifier ( spec )
|
|
mask_command
|
mask_command ( cmdname, args )
Command to extract a piece of a volume data set within a surface.
mask #0 #1 axis 0,0,1 fullmap pad 10
masks volume #0 using surface #1 via projection along the z axis, and
makes a full copy of the map (rather than a minimal subregion) and expands
the surface along its per-vertex normal vectors before masking.
Exceptions
|
|
MidasError, 'No volume "%s"' % fields [ 0 ]
MidasError, 'Syntax: mask [axis ] [fullmap] [pad ] [sandwich]'
MidasError, 'No surface "%s"' % fields [ 1 ]
|
|
|
vector_value
|
vector_value ( s )
|
|
|