Next: Source Code Example
Up: Volume Creation from
Previous: Volume Creation from
Another method of creating a volume is to simply copy the entire
volume definition from an existing volume:
public Volume copy_volume_definition(
Volume existing_volume,
nc_type nc_data_type,
BOOLEAN signed_flag,
Real voxel_min,
Real voxel_max )
-
- Creates and returns a new volume which has the same definition
(sizes, voxel-to-world space transform, etc.), as an existing volume.
If the argument nc_data_type is not NC_UNSPECIFIED,
then the storage type of the new volume differs from the original and
is specified by nc_data_type, signed_flag,
voxel_min, and voxel_max. The voxel values are allocated
but not initialized.
Next: Source Code Example
Up: Volume Creation from
Previous: Volume Creation from