volumemax expression function

Returns the maximum value of all voxels in a volume.

All Usage Examples

See also: volumemin, volumesample

Usage

volumemax(surface_node, prim_id)

surface_node is the full path of the surface node.

surface_node is the full path of the surface node. prim_id is the primitive number of the volume primitive within the surface node.

Returns 0 if out of bound values are specified, or the given primitive is not a volume.

Examples

volumemax("/obj/geo1/isooffset1", 0)