Overview | All Modules | Tutorial | User's Guide | Programming Guide

COVISE Online Documentation


Module category: IO



WriteVolume

This module writes volume data files from volumetric packed RGBA, vector, or multi-channel scalar data on uniform grids.

For more information about Volume Rendering see COVISE VR & CE User's Guide, Appendix "Volume Rendering in Covise"

module.png

Files of the following 3D volume data formats can be written:

These file types can be read by the module ReadVolume.

In the module parameters window, the FileName entry expects the destination file name. If OverwriteExisting is checked, the destination file will be overwritten, if it previously existed. The file type and data format can be selected with the respective choice menus. MinimumValue und MaximumValue allow to constrain the stored data range. All values that are smaller or equal to MinimumValue will become zero, values greater or equal to MaximumValue will become 255 or 65535, depending on the data format (8 or 16 bit per voxel). The remaining values are distributed linearly inbetween.

If packed RGBA or vector data is received on data port for channel 0, the other data channels are ignored.

WriteVolume is available for COVISE version snap-2002-07 and higher.

Parameters

Name Type Description
FileName Browser Volume file or first slice of sequence
OverwriteExisting Boolean Overwrite existing files?
FileType Choice File type of volume or slice files
DataFormat Choice Volume data format
MinimumValue Scalar Minimum scalar input value
MaximumValue Scalar Maximum scalar input value

Input Ports

Name Type(s) Description
grid UniformGrid Grid for volume data
channel0 Float
Vec3
RGBA_Data
Scalar/vector volume data
channel1 Float Scalar volume data channel 1
channel2 Float Scalar volume data channel 2
channel3 Float Scalar volume data channel 3
channel4 Float Scalar volume data channel 4
channel5 Float Scalar volume data channel 5
channel6 Float Scalar volume data channel 6
channel7 Float Scalar volume data channel 7

Examples

net.png

The above figure shows an example COVISE network to write volume data from GenDat.


Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner
Copyright © 1993-2022 HLRS, 2004-2014 RRZK, 2005-2014 Visenso
COVISE Version 2021.12