cgv
Loading...
Searching...
No Matches
cgv::media::volume::voxel_file_info Struct Reference

Public Member Functions

 voxel_file_info (const volume::dimension_type &D, const volume::extent_type &E, const cgv::data::component_format &cf)
 

Public Attributes

volume::dimension_type voxel_counts
 array of voxel counts in all three dimension, i.e. 128,128,128
 
volume::extent_type voxel_scaling
 array with size of voxel in x-, y-, and z-direction
 
cgv::data::component_format voxel_format
 voxel format
 
bool byte_order_MSB
 
int header_size
 if header size is -1, it is computed from file size minus the size needed for all elements
 
FileOrganisation file_organisation
 file organisation
 
union { 
 
   std::string *   file_name_ptr 
 
   slice_file_organisation_info *   slice_file_info_ptr 
 
   tile_file_organisation_info *   tile_file_info_ptr 
 
   octree_file_organisation_info *   octree_file_info_ptr 
 
};  
 depending on the file organisation either store a pointer to the file_name or to a corresponding info structure
 
FileFormat file_format
 

Detailed Description

Definition at line 83 of file volume_io.h.

Member Data Documentation

◆ byte_order_MSB

bool cgv::media::volume::voxel_file_info::byte_order_MSB

Definition at line 92 of file volume_io.h.

◆ file_format

FileFormat cgv::media::volume::voxel_file_info::file_format

Definition at line 105 of file volume_io.h.

◆ file_name_ptr

std::string* cgv::media::volume::voxel_file_info::file_name_ptr

Definition at line 99 of file volume_io.h.

◆ file_organisation

FileOrganisation cgv::media::volume::voxel_file_info::file_organisation

file organisation

Definition at line 96 of file volume_io.h.

◆ header_size

int cgv::media::volume::voxel_file_info::header_size

if header size is -1, it is computed from file size minus the size needed for all elements

Definition at line 94 of file volume_io.h.

◆ octree_file_info_ptr

octree_file_organisation_info* cgv::media::volume::voxel_file_info::octree_file_info_ptr

Definition at line 102 of file volume_io.h.

◆ slice_file_info_ptr

slice_file_organisation_info* cgv::media::volume::voxel_file_info::slice_file_info_ptr

Definition at line 100 of file volume_io.h.

◆ tile_file_info_ptr

tile_file_organisation_info* cgv::media::volume::voxel_file_info::tile_file_info_ptr

Definition at line 101 of file volume_io.h.

◆ voxel_counts

volume::dimension_type cgv::media::volume::voxel_file_info::voxel_counts

array of voxel counts in all three dimension, i.e. 128,128,128

Definition at line 86 of file volume_io.h.

◆ voxel_format

cgv::data::component_format cgv::media::volume::voxel_file_info::voxel_format

voxel format

Definition at line 90 of file volume_io.h.

◆ voxel_scaling

volume::extent_type cgv::media::volume::voxel_file_info::voxel_scaling

array with size of voxel in x-, y-, and z-direction

Definition at line 88 of file volume_io.h.


The documentation for this struct was generated from the following file: